curl fetch needs cipher options

Please report bugs here, please be very detailed in your bug reports. If you've come up with some code to fix the bug, please post it here.
Post Reply
Tupsi
Noob
Posts: 8
Joined: Mon Jan 19, 2009 12:15

curl fetch needs cipher options

Post by Tupsi » Tue Nov 11, 2014 10:18

Hello

the item prices crest fetch stopped working sunday on my server. Hitting the Fetch button gives me:

Error in fetch: Error getting data: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure(35)

Doing a

curl -v https://public-crest.eveonline.com/market/prices/

on the commandline gives me the same error, adding a cipherlist gives the the xml without an error, like:

curl -v --ciphers RC4-SHA:RC4-MD5 https://public-crest.eveonline.com/market/prices/

so it seems ccp removed some old ciphers from there webservers over the weekend which are still used in my ubuntu 14.04 as default, so it would be nice if you could add a valid cipherlist via the php options for curl mentioned here:

http://php.net/manual/en/function.curl-setopt.php

CURLOPT_SSL_CIPHER_LIST A list of ciphers to use for SSL. For example, RC4-SHA and TLSv1 are valid cipher lists.

Thanks.

Tupsi
Noob
Posts: 8
Joined: Mon Jan 19, 2009 12:15

Re: curl fetch needs cipher options

Post by Tupsi » Tue Nov 11, 2014 10:45

ok, fixed it for me by adding

curl_setopt(self::$curl, CURLOPT_SSL_CIPHER_LIST, 'ALL');

in class.simplecrest.php after all the other curl_setopt (line 99).

User avatar
Salvoxia
Developer
Posts: 1518
Joined: Wed Feb 22, 2012 12:11

Re: curl fetch needs cipher options

Post by Salvoxia » Tue Nov 11, 2014 10:52

Hi,

thanks for reporting.
For the sake of testing, could you try if this change also works for you?
https://github.com/evekb/evedev-kb/comm ... 4611b97a44

Regards,
Salvoxia

Tupsi
Noob
Posts: 8
Joined: Mon Jan 19, 2009 12:15

Re: curl fetch needs cipher options

Post by Tupsi » Tue Nov 11, 2014 11:13

"Fetched and updated 9586 items!"

so I would assume its working as well. :-)

User avatar
Salvoxia
Developer
Posts: 1518
Joined: Wed Feb 22, 2012 12:11

Re: curl fetch needs cipher options

Post by Salvoxia » Tue Nov 11, 2014 11:23

Thanks for the feedback :)

nutbolt
Greenhorn
Posts: 14
Joined: Fri Feb 26, 2010 17:56

Re: curl fetch needs cipher options

Post by nutbolt » Sun Feb 22, 2015 12:24

I just noticed I have been having this problem since 15th Jan 2015. I am running the latest version of EDK. Applying the fix suggested in https://github.com/evekb/evedev-kb/comm ... 4611b97a44 worked. However I don't get why I didn't have this fix already as from what I can tell, its already flagged as in a release. But working now so yay. Just weird it seems I haven't updated correctly :/ (been using autoupdater)

Post Reply

Return to “Bug Reporting”

Who is online

Users browsing this forum: No registered users and 1 guest