Receiving a 407 error when calling a web service

  • 26 March 2021
  • 0 replies
  • 161 views

Userlevel 5
Badge +19
ISSUE
Receiving a 407 error when calling a web service
ERROR CODE
RESOLUTION
This error occurs if the proxy server requires authentication from a domain user account. This error typically occurs if the MapPoint .NET client is an ASP.NET application. ASP.NET applications typically run on the security context of a local user account that does not have permissions on the network and proxy server.

 

In order to resolve this, take a backup of the existing Web.Config and then edit the existing web.config file for the web application that the workflow resides in, and search for the defaultProxy element. It will look like below
1
2
3
<system.net>
    <defaultProxy />
</system.net>

Change it to:

 
1
2
3
4
5
6
7
8
9
10
11
12
<system.net>
<defaultProxy useDefaultCredentials="true">
<proxy
usesystemdefault="False"
proxyaddress="http://proxy.contoso.com:8080"
bypassonlocal="True"
/>
<bypasslist>
<add address=>
</bypasslist>
</defaultProxy>
</system.net>
You will need to add the proxyaddress and port of your proxy server, and this will need to be done all of your servers that process Nintex Workflows.

 

Once you have made these changes, then save the web.config file and perform an IISreset.
ADDITIONAL INFORMATION
RELATED LINKS
https://support.microsoft.com/en-us/help/330221/prb-common-proxy-server-and-firewall-issues-with-mappoint-web-services

 

http://www.karthikscorner.com/sharepoint/configure-proxy-server-sharepoint/

 

https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/network/defaultproxy-element-network-settings

0 replies

Be the first to reply!

Reply