Logo design studio pro the underlying connection was closed an unexpected error occurred on a send11/20/2022 ![]() Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019. If you have feedback for TechNet Subscriber Support, SharePoint Server 2019 has been released, you can click Please remember to mark the replies as answers if they helped. The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from If above threads doesn’t help, I would suggest you post the this issue in web api forum below. You could try to follow below series of threads to troubleshooting ‘the underlying connection was closed’ issue. String url = " var result = GetTinyUrl(url).Result Īccording to your description, what I understand is that you have a custom web api hosted in a website(other than SharePoint). Calling the web api via the browser works just fine. United States (English) Brasil (Portugus) esko (etina) Deutschland (Deutsch) Espaa (Espaol) France (Franais) Indonesia (Bahasa) Italia (Italiano. This is the code that I am using to call the web api. ![]() Now after waiting for a while (not running the console), then the code throws the same error message above. If I run the console again, it works fine. Stack trace - at (IAsyncResult asyncResult) at .GetResponseCallback(IAsyncResult ar) - End of inner exception stack trace. > : An existing connection was forcibly closed by the remote host at .EndReceive(IAsyncResult asyncResult)Īt .EndRead(IAsyncResult asyncResult) - End of inner exception stack trace - at (IAsyncResult asyncResult) at (IAsyncResult ar) - End of inner exception > System.IO.IOException: Unable to read dataįrom the transport connection: An existing connection was forcibly closed by the remote host. > : The underlying connection was closed: An unexpected error occurred on a send. ![]() InnerException: : An error occurred while sending the request. When I run the code the first time, it throws the following error:Įrror message: One or more errors occurred. I have created a VS console application for testing purposes, but this is happing in sharepoint web part as well, where I am calling I have a simple web api which gets a url as parameter, saves into an SQL table and returns a guid as response message. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |