async-http-client icon indicating copy to clipboard operation
async-http-client copied to clipboard

Migrate maven wagon site into Wiki

Open slandelle opened this issue 9 years ago • 5 comments

https://asynchttpclient.github.io/async-http-client/

slandelle avatar Apr 15 '16 09:04 slandelle

@slandelle is there up-to-date doc anywhere i can see it? I'm getting netty's io.netty.handler.ssl.NotSslRecordException while trying to connect to Github API, but i'm quite not sure if it should work out-of-the-box.

etki avatar Jul 07 '16 16:07 etki

No, not yet. Contribs welcome!

Then, your problem is pretty obvious: you're trying hit over https an endpoint that only talks plain http.

slandelle avatar Jul 07 '16 19:07 slandelle

@slandelle i'm pretty sure https://api.github.com/ is served over https. I can't double-check my code now (not committed yet), but if i'll find i'm totally certain using AHC against https tomorrow, should i open another issue?

etki avatar Jul 08 '16 00:07 etki

@etki If you can come up with a reproducer, yes. But please double check on your side, I'm 100% sure this error means you've received some non-encrypted content while you're supposed to use https.

slandelle avatar Jul 08 '16 05:07 slandelle

@slandelle yeap, you were right, i've specified both https and 80 in my own code resulting in URI https://api.github.com:80/organizations, which hit standard HTTP endpoint. Sorry for the fuzz.

etki avatar Jul 08 '16 11:07 etki