-
Notifications
You must be signed in to change notification settings - Fork 339
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
SSL #98
Comments
++ to this question. |
+1 I'm experiencing this too |
same problem here |
The workaround fixes it, thanks; but commenting out ca_cert is not a long term solution. |
Interesting. If you do something like:
(Then re-enable the disabled ...it works. I still don't fully understand what all is going on, though. |
the cacert file is used to verify the peer on SSL connect, I think (not sure) No ? |
solstice - That sounds about right to me. The cacert.pem from curl.haxx.se should fix the issue, no? P.S.: I got that URL from Googling -rking |
it's not working here with the cacert.pem from curl.haxx.se ?! |
The one from curl.haxx.se is a generic one, to obtain the github one do openssl s_client -showcerts -connect api.github.com:443 which prints the entire certificate chain to stdout, however, this will still fail because verification fails openssl s_client -showcerts -connect api.github.com:443 -issuer_checks (you can also run other checks) |
By the way - if you go to https://gist.github.com and look at the details of the cert, it has a Validity > "Not Before" of 4/29/2012. So my guess is they got a new cert and pushed it out a couple of days ago when we started seeing the errors. ronin - I couldn't /quite/ git this same information from the Thanks! (Learning stuff / having fun). |
Actually, following the curl command above to get the pem, when I try to run gist I get this now: ∴ gist app/models/user.rb The 422 (Unprocessable Entity) status code means the server understands the content type of the request entity (hence a 415(Unsupported Media Type) status code is inappropriate), and the syntax of the request entity is correct (thus a 400 (Bad Request) status code is inappropriate) but was unable to process the contained instructions. For example, this error condition may occur if an XML request body contains well-formed (i.e., syntactically correct), but semantically erroneous, XML instructions. |
I'm experiencing this as well. |
Add me to the list of people experiencing this issue, Debian wheezy, gist 3.1.0, ruby 1.9.3p194. I also tried the curl.haxx.se certificate, and began getting the 422 Unprocessable Entity error as well. This is one of my favorite scripts. :( |
Starting to think we, the community, might have to adopt this script and fix it ourselves. No response for quite some time from defunkt, though that's easily attributable to working his ass off :-) |
@deryldoucette How do you propose us to do that? I'm not sure how I can do that as a Ruby newbie... |
I'm not the greatest either. Maybe we turn it into something like a code walkthrough and we all learn how its done. We would need to read the 3rd version of Github's API and read the Gist related portions and this gem's code. walk through and learn. Only thing I can suggest. |
@sharpsaw |
I've uploaded the |
@ConradIrwin, fabulous job! Love |
Seriously. Want Want |
@rking err? I think we already covered that |
I'm on it... should have this fixed shortly. |
Fixed by 3aacc1f. I'll have a release out as soon as I see if there are any other blockers. |
I currently am getting this, new as of sometime this morning maybe.
When I comment out lib/gist.rb line 388
...it works.
I'm not so great with SSL stuff, so I don't if this is on my end or what. I
don't see anyone else complaining about it, so it makes me suspect my end...
but if I could get some pointers on how to fix it.
Thanks!
-rking
The text was updated successfully, but these errors were encountered: