2012-06-13 14 views
11

Ho problemi ad accedere a determinati URL usando curl su OSX. Per altri URL ricevo risposta, e per questa specifica UWL posso ricevere risposta da un'altra macchina di Ubuntu.Errore di arricciatura - Risposta vuota dal server (ssl)

Sono bloccato e non so quale componente è rotto e non ne ho idea, oltre ad aggiornare l'intero sistema e ho davvero apprezzato qualsiasi consiglio che mi impedisca di farlo.

uscita del riccio:

$ 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 di SSL con un super -old curl e una versione OpenSSL super vecchia. Suggerisco di aggiornare i componenti e riprovare come primo rimedio. –

+0

@daniel Haha, ho appena notato me stesso ... Hai commentato una domanda molto vecchia. Quando è stato pubblicato non erano così vecchi, lmao. Ma hai attivato la domanda e ora mi sono trovato a rispondere. Lol. – stevenvanc

+0

curl 7.16.4 aveva già cinque anni nel 2012 ... –

risposta

0

Sembra che il server è in calo la tua connessione per qualche motivo.

  • tenta di aggiungere intestazioni User-Agent alla richiesta (rilevamento bot?)
  • tenta di connettersi da altri IP (il vostro IP è nella lista nera?)
Problemi correlati