Last post Jun 07, 2019 02:08 AM by Brando ZWZ
Jun 06, 2019 08:53 AM|Zefek|LINK
I would like to ask you what can cause there is error The underlying connection was closed: An unexpected error occurred on a send when web application (WebForms) is installed by MSDeploy. Application uses RestSharp to communicate with REST API of another
I found there should be TTL 1.2 but when application started (Global.asax - Application_Start method) there is ServicePointManager.SecurityProtocol = (SecurityProtocolType)3072;
When I recycle application pool on IIS it works fine. Is there any problem with application start after installation through MSDeploy?
Jun 07, 2019 02:08 AM|Brando ZWZ|LINK
According to your description, I couldn't understand your issue clearly.
Could you please tell me when you run the RestSharp to send the request to another system? On some pageload event?
Could you please tell me how you use MSdeploy to publish the application to the IIS server?
Could you please tell me which CLR version your IIS application pool used ? 4.0 or 2.0?
If you could post more details information, it will be more easily for us to reproduce the issue and find out the reason.