Unable to connect to the remote server System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions #482
-
I have ASP.Net Web API, to perform SharePoint operation using SharePoint add-in client context . I have deployed Web API on Azure Web Site.
Please help me to fix this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Can you please provide some sample code on how you are trying to authenticate? Please make sure, the sample does not contain any sensitive information. Based on the StackTrace it seams you cannot retrieve/download the manifest from: https://accounts.accesscontrol.windows.net/metadata/json/1?realm= I do not represent my company. |
Beta Was this translation helpful? Give feedback.
-
@vivekagrawal1110: What version of PnP.Framework are you using? Versions from 1.5.0 have built-in retry handling on SocketExceptions so if you are using an earlier version and this is an intermittent issue you are seeing maybe it would be helpful to have some retries done. |
Beta Was this translation helpful? Give feedback.
@vivekagrawal1110: What version of PnP.Framework are you using? Versions from 1.5.0 have built-in retry handling on SocketExceptions so if you are using an earlier version and this is an intermittent issue you are seeing maybe it would be helpful to have some retries done.