Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificate error when running flickr-authenticate #3

Open
ghost opened this issue May 22, 2013 · 6 comments
Open

Certificate error when running flickr-authenticate #3

ghost opened this issue May 22, 2013 · 6 comments

Comments

@ghost
Copy link

ghost commented May 22, 2013

I get the following
"read server certificate B: certificate verify failed"

d:\projects\flickr-store-master>flickr-authenticate
API Key: xxx
API Secret: xxx
D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/2.0.0/net/http.rb:918:in `connect': SSL_connect returned=1 errno=0 state=SSLv3
read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/2.0.0/net/http.rb:918:in `block in connect'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/2.0.0/timeout.rb:52:in `timeout'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/2.0.0/net/http.rb:918:in `connect'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/2.0.0/net/http.rb:851:in `start'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/gems/2.0.0/gems/flickraw-0.9.6/lib/flickraw/oauth.rb:147:in `post'

        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/gems/2.0.0/gems/flickraw-0.9.6/lib/flickraw/oauth.rb:92:in `post_f
orm'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/gems/2.0.0/gems/flickraw-0.9.6/lib/flickraw/api.rb:53:in `call'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/gems/2.0.0/gems/flickraw-0.9.6/lib/flickraw/api.rb:44:in `initiali
ze'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/gems/2.0.0/gems/flickraw-0.9.6/lib/flickraw.rb:17:in `new'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/gems/2.0.0/gems/flickraw-0.9.6/lib/flickraw.rb:17:in `flickr'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/gems/2.0.0/gems/flickr-store-0.0.3/lib/flickr-store.rb:22:in `auth
enticate'
        from D:/ruby-2.0.0-p195-i386-mingw32/lib/ruby/gems/2.0.0/gems/flickr-store-0.0.3/bin/flickr-authenticate:22:in `
<top (required)>'
        from D:/ruby-2.0.0-p195-i386-mingw32/bin/flickr-authenticate:23:in `load'
        from D:/ruby-2.0.0-p195-i386-mingw32/bin/flickr-authenticate:23:in `<main>'

d:\projects\flickr-store-master>
@gep13
Copy link

gep13 commented Sep 8, 2014

@KaushikV I am facing a similar issue, and I as wondering if you ever found a solution to this problem? Were you running on a Windows machine? Thanks!

@meltingice
Copy link
Owner

I believe you can fix this by upgrading your Ruby version to at least the latest patch level.—
Ryan LeFevre (@meltingice)
LayerVault
Software Engineer

On Mon, Sep 8, 2014 at 5:05 PM, Gary Ewan Park [email protected]
wrote:

@KaushikV I am facing a similar issue, and I as wondering if you ever found a solution to this problem? Were you running on a Windows machine? Thanks!

Reply to this email directly or view it on GitHub:
#3 (comment)

@gep13
Copy link

gep13 commented Sep 8, 2014

@meltingice Thanks, I will give that a try.

@gep13
Copy link

gep13 commented Sep 9, 2014

The output of ruby --version is ruby 2.0.0p481 (2014-05-08) [x64-mingw32] which I believe is the most up to date patch of this version of Ruby Is that right?

@gep13
Copy link

gep13 commented Sep 10, 2014

I have just used a friends Mac, and I did the exact same test, and it worked on his machine without any problems. Looks like this is an issue specifically with Windows. Any thoughts on how to proceed?

@jamesjohnmcguire
Copy link

This is still going on with ruby version 2.1.1.6p336. Tried various updates, different configs to no avail. However, it seems to be a problem with the flickraw library. I've been able to repro the issue using one of the flickraw samples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants