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
Twitter test suite fails #4
Comments
That's just Twitter closing the connection on us for the reason "ok", I will have to look in more details as to why at some point. |
This is a bug I reported before in the SSL application. :( Twitter switched to HTTP/2.0 draft 9 by default and the SSL application fails to select the next protocol (spdy/3) so it's stuck with that... |
Okay. It's not a bug in the SSL application! \o/ It was a bug in older docs. :( So when I wrote the code initially I used the wrong type for an option (as the docs told me to) and of course it got ignored by the SSL code. Fixing the type (almost) make it work again. That's not the only issue with Twitter though. They do not advertise spdy/3 anymore. They do spdy/3.1 though, so I'll just have to go over that and make it work (just changing the advertising should be enough as they only dropped stuff we didn't use). I'll do it soon, I'm focusing on finishing gun_http first. |
Personal reminder that I need to add spdy/3.1 to Cowboy too. |
Thanks for tracking this down @essen |
You'll have to thank Ingela too when you see her. :-) |
Maybe it's the same bug, but when I execute {ok, ServerPid} = gun:open(<<"github.com">>, 443), always get {error,timeout}. With google sites too =( |
If you use lists ( |
No, without binaries get {error,undef}. |
It works for me:
|
Works for me too, just tried. |
Getting a timeout when using binaries indeed. But I think that's because of the hostname. I'll look. |
Yep that's because you pass the host as binary. Use a string and it should work, and if it doesn't please open another ticket with more details (steps to reproduce etc.). As for the path, using a binary there is no problem. Thanks! |
Cowlib hadn't started, so app didn't work. I opened a new ticket. |
Fixed all issues mentioned here as far as I know. Closing, thanks! |
I've compiled the
master
branch and when I run tests withmake tests
I get the following error report:The text was updated successfully, but these errors were encountered: