1

Topic: The first https request through HttpWebRequest

All greetings! I watch the following problem: the first request through HttpWebRequest on a site with ssl happens with  about 30 seconds. All following requests transit quickly. In not those  that it  at certificate check in  sheet when by the machine there is no Internet. Indeed. From the machine access is only in a local network. How it can be ungeared? In an explorer check ungeared - does not help. In the application I do ServicePointManager.CheckCertificateRevocationList = false; too the effect is not present. Someone faced the similar?

2

Re: The first https request through HttpWebRequest

Hello, - Cheese - you wrote: a C> All greetings! A C> I Watch the following problem: the first request through HttpWebRequest on a site with ssl happens with  about 30 seconds. All following requests transit quickly. A C> In not those  that it  at certificate check in  sheet when by the machine there is no Internet. Indeed. From the machine access is only in a local network. The C> As can be ungeared it? The C> In an explorer ungeared check - does not help. In the application I do a C> C>ServicePointManager.CheckCertificateRevocationList = false; the C> a C> too is not present effect. The C> Someone faced the similar? Try request. Proxy = null; https://stackoverflow.com/questions/251 … emely-slow

3

Re: The first https request through HttpWebRequest

Hello, yenik, you wrote: Y> Try request. Proxy = null; Y> https://stackoverflow.com/questions/251 … emely-slow Tried. Did not help

4

Re: The first https request through HttpWebRequest

Hello, - Cheese - you wrote: 30  it  by default for connection. Deliver wireshark for example and look where exactly there is a connection, and where a time delay. Can will more clearly what to repair. A C> All greetings! A C> I Watch the following problem: the first request through HttpWebRequest on a site with ssl happens with  about 30 seconds. All following requests transit quickly. A C> In not those  that it  at certificate check in  sheet when by the machine there is no Internet. Indeed. From the machine access is only in a local network. The C> As can be ungeared it? The C> In an explorer ungeared check - does not help. In the application I do a C> C>ServicePointManager.CheckCertificateRevocationList = false; the C> a C> too is not present effect. The C> Someone faced the similar?... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

5

Re: The first https request through HttpWebRequest

Hello, - Cheese - you wrote: can try still so: ServicePointManager.ServerCertificateValidationCallback = (a, b, c, d) => {return true;}; a C> All greetings! A C> I Watch the following problem: the first request through HttpWebRequest on a site with ssl happens with  about 30 seconds. All following requests transit quickly. A C> In not those  that it  at certificate check in  sheet when by the machine there is no Internet. Indeed. From the machine access is only in a local network. The C> As can be ungeared it? The C> In an explorer ungeared check - does not help. In the application I do a C> C>ServicePointManager.CheckCertificateRevocationList = false; the C> a C> too is not present effect. The C> Someone faced the similar?... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

6

Re: The first https request through HttpWebRequest

Hello, k010mb0, you wrote: K> 30  it  by default for connection. Deliver wireshark for example and look where exactly there is a connection, and where a time delay. Can will more clearly what to repair. Delivered. Analyzed and was convinced that requests break on IP which are googled as  sheets. Therefore the guess was true. It is necessary to understand as it to ungear

7

Re: The first https request through HttpWebRequest

Hello, - Cheese - you wrote: the C> Delivered. Analyzed and was convinced that requests break on IP which are googled as  sheets. Therefore the guess was true. The C> Needed to be understood as it to ungear Came across   with HTTPS-interaction implementation, as a last resort it is possible them.Net causes ServerCertificateValidationCallback already after checks so hardly helps...

8

Re: The first https request through HttpWebRequest

Hello, - Cheese - you wrote: a C> All greetings! A C> I Watch the following problem: the first request through HttpWebRequest on a site with ssl happens with  about 30 seconds. All following requests transit quickly. A C> In not those  that it  at certificate check in  sheet when by the machine there is no Internet. Indeed. From the machine access is only in a local network. The C> As can be ungeared it? The C> In an explorer ungeared check - does not help. In the application I do a C> C>ServicePointManager.CheckCertificateRevocationList = false; the C> a C> too is not present effect. The C> Someone faced the similar? Found the decision. Use on health https://support.microsoft.com/en-us/hel … for-window The problem  it does not turn out such way, but  to reduce to  values it is possible

9

Re: The first https request through HttpWebRequest

Hello, - Cheese - you wrote: the C> Found the decision. Use on C health> https://support.microsoft.com/en-us/hel … for-window a C> The problem  it does not turn out such way, but  to reduce to  values it is possible With these adjustments did not experiment? - https://technet.microsoft.com/en-us/library/cc753863 (v=ws.11).aspx There there is an interesting option "Always prefer Certificate Revocation Lists over Online Certificate Status Protocol (OCSP) responses (not recommended)"

10

Re: The first https request through HttpWebRequest

Hello, - Cheese - you wrote: And you tried to install the server certificate as entrusted locally on the machine whence do requests? That it was not necessary behind it in the Internet to walk. A C> All greetings! A C> I Watch the following problem: the first request through HttpWebRequest on a site with ssl happens with  about 30 seconds. All following requests transit quickly. A C> In not those  that it  at certificate check in  sheet when by the machine there is no Internet. Indeed. From the machine access is only in a local network. The C> As can be ungeared it? The C> In an explorer ungeared check - does not help. In the application I do a C> C>ServicePointManager.CheckCertificateRevocationList = false; the C> a C> too is not present effect. The C> Someone faced the similar?... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

11

Re: The first https request through HttpWebRequest

Hello, k010mb0, you wrote: K> Hello, - Cheese - you wrote: K> And you tried to install the server certificate as entrusted locally on the machine whence do requests? That it was not necessary behind it in the Internet to walk. Internal https it is a lot of servers and it would not be desirable to install everyone