Workflow app goes to suspended mode displaying error 407 Proxy Authentication Required


hi,

my workflow app goes suspended mode. displaying error error code: 407 proxy authentication required. forefront tmg requires authorization fulfill request. access web proxy filter denied.

i have changed ie browser settings i.e. internet options->connections->lan settings-> removed tick automatic configuration , proxy server.

i have tried keep default proxy settings in sharepoint host web in web.config file i.e.

<system.net>
  <defaultproxy usedefaultcredentials="true">
     <proxy usesystemdefault="true" proxyaddress="http://proxyserver:8080"
         bypassonlocal="true" />
  </defaultproxy>
</system.net>

but nothing works. please help. how can pass proxy server for workflow app?

details:

i have created custom list , list workflow in sharepoint hosted app using visual studio 2012. after deploying solution, workflow gets attached list (which in app). when workflow starts, tries authentication proxy server , after few seconds goes suspended mode.

message while trying connect proxy server on started mode :

retrying last request. next attempt scheduled in less 1 minute. details of last request:
http proxyauthenticationrequired http://app-8fef94d0f4cb2a.myapps.com:5001/subsite/testapp/_vti_bin/client.svc/sp.utilities.utility.resolveprincipalincurrentcontext(input=@paramuser,scopes='15',sources='15',inputisemailonly='false',addtouserinfolist='false')?%40paramuser='i%3a0%23.w%7cserver%5crashi' correlation id: instance id: 813b29ce-5f89-424f-a225-d85e861b0431

message when workflow goes suspended mode:

resume workflow requestorid: 1f0f68f5-c72e-f53d-0000-000000000000. details: unhandled exception occurred during execution of workflow instance. exception details: system.applicationexception: http 407< !doctype html public "-//w3c//dtd html 4.0 transitional//en">< html><head><title>error message</title>< meta http-equiv=content-type content="text/html; charset=utf-8">< style id=l_default_1>a { font-weight: bold; font-size: 10pt; color: #005a80; font-family: tahoma } a:hover { font-weight: bold; font-size: 10pt; color: #0d3372; font-family: tahoma } td { font-size: 8pt; font-family: tahoma } td.titleborder { border-right: #955319 1px solid; border-top: #955319 1px solid; padding-left: 8px; font-weight: bold; font-size: 12pt; vertical-align: middle; border-left: #955319 0px solid; color: #955319; border-bottom: #955319 1px solid; font-family: tahoma; height: 35px; background-color: #d2b87a; text-align: left } td.titleborderx { border-right: #955319 0px solid; border-top: #955319 1px solid; padding-left: 8px; font-weight: bold; font-size: 12pt; vertical-align: middle; border-left: #955319 1px solid; color: #978c79; border-bottom: #955319 1px solid; font-family: tahoma; height: 35px; background-color: #d2b87a; text-align: left } .titledescription { font-weight: bold; font-size: 12pt; color: black; font-family: tahoma } span.explain { font-weight: normal; font-size: 10pt; color: #934225 } span.trythings { font-weight: normal; font-size: 10pt; color: #934225 } .trylist { margin-top: 5px; font-weight: normal; font-size: 8pt; color: black; font-family: tahoma } .x { border-right: #955319 1px solid; border-top: #955319 1px solid; font-weight: normal; font-size: 12pt; border-left: #955319 1px solid; color: #7b3807; border-bottom: #955319 1px solid; font-family: verdana; background-color: #d1c2b4 } .adminlist { margin-top: 2px }< /style>< meta content="mshtml 6.00.2800.1170" name=generator></head>< body bgcolor=#f3f3ed>< table cellspacing=0 cellpadding=0 width="100%"> <tbody> <tr> <td width=30> <table height=25 cellspacing=2 cellpadding=0 width=25 bgcolor=black> <tbody> <tr> <td id=l_default_x valign=middle align=center>x</td> </tr> </tbody> </table> </td> <td id=l_default_2>network access message:<span page cannot displayed</span> </td> </tr> </tbody>< /table>< table id=spacer> <tbody> <tr> <td height=10></td></tr></tbody></table>< table width=400> <tbody> <tr> <td nowrap width=25></td> <td width=400><span id=l_default_3><b>explanation:</b></id></span><id id=l_default_4> there problem page trying reach , cannot displayed. </id><br><br> <b><span id=l_default_5><b>try following:</b></id></span></b> <ul <li id=l_default_6><b>refresh page:</b> search page again clicking refresh button. timeout may have occurred due internet congestion.< li id=l_default_7><b>check spelling:</b> check typed web page address correctly. address may have been mistyped.< li id=l_default_8><b>access link:</b> if there link page looking for, try accessing page link. </ul>< id id=l_default_9>if still not able view requested page, try contacting administrator or helpdesk.</id> <br><br> </td> </tr> </tbody>< /table>< table id=spacer><tbody><tr><td height=15></td></tr></tbody></table>< table width=400> <tbody> <tr> <td nowrap width=25></td> <td width=400 id=l_default_10><b>technical information (for support personnel)</b> <ul <li id=l_default_11>error code: 407 proxy authentication required. forefront tmg requires authorization fulfill request. access web proxy filter denied. (12209)< li id=l_default_12>ip address: 10.100.172.3< li id=l_default_13>date: 3/20/2014 4:34:39 [gmt]< li id=l_default_14>server: pssplfsm2.server< li id=l_default_15>source: proxy </ul> </td> </tr> </tbody>< /table>< /body>< /html> {"proxy-authenticate":["negotiate","kerberos","ntlm"],"via":["1.1 pssplfsm2"],"connection":["keep-alive"],"proxy-connection":["keep-alive"],"pragma":["no-cache"],"cache-control":["no-cache"]} @ microsoft.activities.hosting.runtime.subroutine.subroutinechild.execute(codeactivitycontext context) @ system.activities.codeactivity.internalexecute(activityinstance instance, activityexecutor executor, bookmarkmanager bookmarkmanager) @ system.activities.runtime.activityexecutor.executeactivityworkitem.executebody(activityexecutor executor, bookmarkmanager bookmarkmanager, location resultlocation)

please help. how can solve issue?

hi,

please follows:

1. check whether proxy used in code. if so, add proxy credentials. ensure when gets deployed on server, not use proxy.

2) use http tool fiddler. in fiddler, under rules, check “automatically authenticate”.

here similar thread reference:
http://social.msdn.microsoft.com/forums/en-us/c35aea5e-65e9-44fa-b929-e6e1ecca83e6/error-407-proxy-authentication-required?forum=appsforsharepoint

more information:
http://tmgblog.richardhicks.com/2011/08/29/access-to-the-web-proxy-filter-on-forefront-tmg-2010-is-denied/

best regards


dennis guo
technet community support



SharePoint  ,  Apps for Office and SharePoint  >  Developing Apps for SharePoint 2013



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'