cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: "SSL connection timeout at ..." when using network over GPRS/EDGE

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 30 Apr 2011 22:46:46 +0200 (CEST)

On Sat, 30 Apr 2011, Kamil Dziedzic wrote:

> I've created script which tests requests to our server over diffrent networks.
> Everything worked fine until I tried to send ssl request over GPRS/EDGE.
>
> # curl -#v https://encrypted.google.com > /dev/null
> * About to connect() to encrypted.google.com port 443 (#0)
> * Trying 209.85.149.101... connected
> * Connected to encrypted.google.com (209.85.149.101) port 443 (#0)
> * found 181 certificates in /etc/certs/ca-certificates.crt
> * SSL connection timeout at 298336
>
> It also works if I switch phone to use 3G network or to not use encryption.

It doesn't make a lot of sense. The SSL connection times out, but the SSL
layer has no clue about what underlying interface you're using.

The difference is much more likely to be due to timing or the larger RTTs or
similar.

> Lynx or wget works fine with encrypted sites over all networks.

I would guess that both Lynx and wget were built to use OpenSSL, which makes a
big difference. Did you compare with a curl built to use OpenSSL?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-30