# outgoingConnectionHttps working differently than curl or superPool

**URL:** <https://discuss.akka.io/t/outgoingconnectionhttps-working-differently-than-curl-or-superpool/1732>\
**Category:** Akka HTTP\
**Tags:** akka-http\
**Created:** [July 30, 2018, 3:41pm UTC](https://discuss.akka.io/t/outgoingconnectionhttps-working-differently-than-curl-or-superpool/1732 "2018-07-30T15:41:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbrowder](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kbrowder](https://discuss.akka.io/u/kbrowder)\
**Post date:** [July 30, 2018, 3:41pm UTC](https://discuss.akka.io/t/outgoingconnectionhttps-working-differently-than-curl-or-superpool/1732/1 "2018-07-30T15:41:11Z")

</div>

So I was doing some http(s) requests with the akka http client and noticed that some pages worked differently than curl, for instance `curl “https://github.com/akka/akka-http.git/info/refs?service=git-upload-pack”` gives basically the same output as `git ls-remote` (in fact it’s what git ls-remote uses) however when using akka http connection level api. Any ideas as to what might be going wrong? I’m using akka-http 10.1.3 and akka 2.5.14.

Here’s some code that demonstrates my issue [https://pastebin.com/XNA5d9uF](https://pastebin.com/XNA5d9uF) but basically I get 404’s from github which indicates that something different is happening. I’ve tried adjusting the headers to match and still nothing.  
-Thanks  
Kevin

---

<div class="post-metadata">

**Author:** ![kbrowder](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kbrowder](https://discuss.akka.io/u/kbrowder)\
**Post date:** [August 2, 2018, 6:29pm UTC](https://discuss.akka.io/t/outgoingconnectionhttps-working-differently-than-curl-or-superpool/1732/2 "2018-08-02T18:29:59Z")

</div>

So it turns out outgoingConnectionHttps is working differently than superPool, I guess I’m missing something subtly wrong when using outgoingConnectionHttps
