Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add support for proxying HTTPS server connections on the client side #192
Comments
ktoso
added this to the
http-backlog
milestone
Sep 8, 2016
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
Relates to akka/akka#17976 |
|
+1 |
|
+1 |
|
Logging a "very big" +1 here, we may want to think how and when we could address this. |
|
+1 |
|
+1 |
|
+1 |
|
Logging another +1 (for my reference, sorry for the noise) |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
|
+1000 |
|
Akka team won't be able (time wise) to pick up this issue in the short-term, so we'd like to encourage you to try to contribute this feature, or contact us if you'd like sponsor its development. |
|
+1 |
|
+1 |
|
+1 |
|
+1 |
ktoso
added the
1 - triaged
label
Sep 8, 2016
hensg
commented
Oct 31, 2016
|
+1 |
jesinity
commented
Nov 11, 2016
|
+1 |
kstokoz
commented
Dec 9, 2016
|
+1 |
rklaehn
commented
Dec 10, 2016
|
Any update on this? Every single corporate firewall on the planet requires you to connect to the outside world via an https proxy, so not having this makes the akka-http client functionality pretty much useless. |
|
+1 |
|
Note that a PR is worth more than a million +1s. (Also please use the reaction button instead of spamming this ticket with +1 comments, thanks!) |
alvarow
commented
Dec 12, 2016
•
|
+1, but if the +1 is not enough to express interest, I can always write: PLEASE FIX THIS, I AM INTERESTED IN SEEING THIS FIXED. |
jonas
added the
t:client
label
Jan 28, 2017
jrudolph
referenced
this issue
Mar 1, 2017
Closed
Support for pluggable transports on the client-side #916
|
I was playing around this issue and managed to complete HTTPS request via proxy. Here is my code: https://github.com/akka/akka-http/compare/master...note:192-https-proxy?expand=1. It's not ready to be a PR, there is still a lot of work to do, I am mostly sharing it for early validation. So the solution boils down to having additional |
|
Great work, @note for taking a stab at it. I just opened another PR yesterday which could be used as groundwork for it: it allows to redefine the transport the pool (or a single client connection) uses to access a host. The only predefined transport so far would be the existing TCP transport. Your HTTPS proxy support could be an The basic change you would need to do is to include your underlying TCP connection to the HTTPS proxy into your code. Apart from that no changes to the existing http-core infrastructure would be necessary. WDYT? It certainly looks promising, so please open a PR. I'll try to merge my PR this week so you can rebase on top of that. |
|
For reference, the pluggable transport PR #917 |
|
@jrudolph Thanks for your feedback, your PR seems very helpful - with that I think there's a great chance I will be able to implement Https proxy without touching |
|
Great, thanks, @note. We (and lots of other people) are looking forward to it. |
jrudolph
added a commit
to jrudolph/akka-http
that referenced
this issue
Jun 14, 2017
|
|
note + jrudolph |
46b84a9
|
jrudolph
added a commit
to jrudolph/akka-http
that referenced
this issue
Jun 14, 2017
|
|
note + jrudolph |
6fbb3d7
|
jrudolph
added a commit
to jrudolph/akka-http
that referenced
this issue
Jun 14, 2017
|
|
jrudolph |
061d5cc
|
jrudolph
added a commit
to jrudolph/akka-http
that referenced
this issue
Jun 14, 2017
|
|
jrudolph |
7b82b0e
|
jrudolph
added a commit
to jrudolph/akka-http
that referenced
this issue
Jun 14, 2017
|
|
jrudolph |
db273f0
|
ktoso
added a commit
that referenced
this issue
Jun 17, 2017
|
|
note + ktoso |
613a830
|
ktoso
added a commit
that referenced
this issue
Jun 17, 2017
|
|
note + ktoso |
5ebef0e
|
ktoso
added a commit
that referenced
this issue
Jun 17, 2017
|
|
jrudolph + ktoso |
3b31ae2
|
ktoso
added a commit
that referenced
this issue
Jun 17, 2017
|
|
jrudolph + ktoso |
3ec521d
|
ktoso commentedSep 8, 2016
Monday Oct 27, 2014 at 15:52 GMT
Originally opened as akka/akka#16153
Required for one connection:
CONNECT target.host:443 HTTP/1.1request to the proxy2xxresponse (afterwards all communication on the connection will be directly tunneled through to the target host)This feature should likely be implemented on the level of host-level client-side API as in most cases you'll want a managed connection pool to the proxy.
Some pointers: