Home > Net >  Httpwebrequest visit HTTPS website timeout
Httpwebrequest visit HTTPS website timeout

Time:11-19

Recently to do a live data acquisition, suddenly found httpwebrequest access certain HTTPS site has timeout, main is to use tls1.2 and tls1.3 part of the site, some can access, some have been timeout, online to find a lot of solutions, attempt failed, the net also upgrade to 4.8, this version supports tls1.3, very confused, have any good solution? ChongXie

CodePudding user response:

1, first try different operating systems, or try operating system updates,
Under Windows, the HTTP/HTTPS is by the operating system of HTTP to responsible for the sys,
DotNet version of TLS support, support for passing parameters and so on, is a specific HTTP TLS or by the system. The sys to do,

Different operating systems/patch updates, will lead to different behaviors on the TLS,
Cancel the unsafe security suite, for example, put forward higher safety requirements, and so on and so on,
An example in order to resist CVE - 2019-1318, the system may be forced to EMS, lead to some server connection, appear the phenomenon of failure or timeout,

2, try using curl under Linux connection problems, such as website, help to confirm if the site itself,

3, to use netcore compile your program, try under Linux connectivity issues with netcore program site, if this can be used to define the problem in the HTTP. Sys compatibility requirements, because netcore program is running under Linux. Do not use HTTP sys,

CodePudding user response:

Can confirm that, whether in the development of machine or server in the browser can be normal links to web sites, the development machine is win10, Windows server 2012 server, application is has been submitted to the timeout

CodePudding user response:

Use send and receive HTTP communication debugging tools to intercept the message content, if a make impassability, even to shake hands is not stable, that's okay with your client, is likely to be rotten server program, concurrent processing capacity of more than the programmer's experience and test limits,

CodePudding user response:

If the server is his company's services system, suggest to use HTTP to provide test first,
  •  Tags:  
  • C#
  • Related