2012-06-13 20 views
11

Tengo problemas para acceder a cierta URL usando curl en OSX. Para otras direcciones URL recibo respuesta, y para este UWL específico, puedo recibir respuesta de otra máquina ubuntu.Error de curvatura - Respuesta vacía del servidor (ssl)

Estoy sorprendido y no sé qué componente está roto y no tengo ninguna idea, aparte de actualizar todo el sistema y realmente agradecería cualquier consejo que me impidiera hacerlo.

salida de rizo:

$ curl -v https://subdomain.example.com/pushdispatcher/dispatcher.asp 
* About to connect() to subdomain.example.com port 443 (#0) 
* Trying 213.229.251.147... connected 
* Connected to subdomain.example.com (213.229.251.147) port 443 (#0) 
* successfully set certificate verify locations: 
* CAfile: /Users/bmihelac/.cert/cacert.pem 
    CApath: none 
    * SSLv2, Client hello (1): 
    * SSLv3, TLS handshake, Server hello (2): 
    * SSLv3, TLS handshake, CERT (11): 
    * SSLv3, TLS handshake, Server finished (14): 
    * SSLv3, TLS handshake, Client key exchange (16): 
    * SSLv3, TLS change cipher, Client hello (1): 
    * SSLv3, TLS handshake, Finished (20): 
    * SSLv3, TLS change cipher, Client hello (1): 
    * SSLv3, TLS handshake, Finished (20): 
    * SSL connection using RC4-MD5 
    * Server certificate: 
    *  subject: /C=SI/ST=Ljubljana/L=Ljubljana/O=Example d.d./OU=Example/CN=subdomain.example.com 
    *  start date: 2011-07-01 00:00:00 GMT 
    *  expire date: 2012-07-26 23:59:59 GMT 
    *  common name: subdomain.example.com (matched) 
    *  issuer: /C=US/O=Thawte, Inc./CN=Thawte SSL CA 
    * SSL certificate verify ok. 
    > GET /pushdispatcher/dispatcher.asp HTTP/1.1 
    > User-Agent: curl/7.16.4 (i386-apple-darwin9.0) libcurl/7.16.4 OpenSSL/0.9.7l zlib/1.2.3 
    > Host: subdomain.example.com 
    > Accept: */* 
    > 
    * SSLv3, TLS handshake, Hello request (0): 
    * SSL read: error:00000000:lib(0):func(0):reason(0), errno 54 
    * Empty reply from server 
    * Connection #0 to host subdomain.example.com left intact 
    curl: (52) SSL read: error:00000000:lib(0):func(0):reason(0), errno 54 
    * Closing connection #0 
+1

Un problema SSL con una super -Red enrollado y una super-vieja versión de OpenSSL. Sugiero actualizar los componentes e intentar nuevamente como el primer remedio. –

+0

@daniel Haha, me acabo de dar cuenta ... Comeste una pregunta muy vieja. Cuando fue publicado no eran tan viejos, lmao. Pero activó la pregunta y ahora me encontré respondiéndola. Lol. – stevenvanc

+0

curl 7.16.4 tenía cinco años ya en 2012 ... –

Respuesta

0

Parece que el servidor se caiga la conexión por alguna razón.

  • tratar de añadir cabeceras User-Agent a la solicitud (detección bot?)
  • intenta conectar desde otra IP (su IP está en la lista de negro?)
Cuestiones relacionadas