# HTTP Auth fails

**URL:** <https://community.f5.com/t/http-auth-fails/51959>\
**Category:** Technical Forums\
**Tags:** big-ip-access-policy-manager-apm, ltm, application-delivery\
**Created:** [October 9, 2019, 12:36pm UTC](https://community.f5.com/t/http-auth-fails/51959 "2019-10-09T12:36:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan\_Lång](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Johan\_Lång](https://community.f5.com/u/Johan_L%C3%A5ng)\
**Post date:** [October 9, 2019, 12:36pm UTC](https://community.f5.com/t/http-auth-fails/51959/1 "2019-10-09T12:36:40Z")

</div>

I’ve created a custom HTTP auth.

Im passing this http request to a VS via http, adding a sslprofile in the VS and sending it over 44343 to an external address.

Ive successfully done this in our poc environment. Now when I try to setup this in our prod env the traffic does not leave big-ip.

Ive started a tcpdump and there is no Communication at all over 44343. when I check in the apm log with debug enabled i recieve this info after the http auth init:

```tcl
HTTP module: authentication with 'userA' failed: Curl perform failed: Failure when receiving data from the peer (56)

```

And:

```tcl
HTTP agent: authenticate with 'userA' failed

```

Any thoughts?

//Johan

---

<div class="post-metadata">

**Author:** ![JG](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JG](https://community.f5.com/u/JG)\
**Post date:** [October 10, 2019, 3:13am UTC](https://community.f5.com/t/http-auth-fails/51959/2 "2019-10-10T03:13:47Z")

</div>

I would check the differences between your two environments, e.g. routing configuration.

---

<div class="post-metadata">

**Author:** ![Johan\_Lång](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Johan\_Lång](https://community.f5.com/u/Johan_L%C3%A5ng)\
**Post date:** [October 10, 2019, 6:24am UTC](https://community.f5.com/t/http-auth-fails/51959/3 "2019-10-10T06:24:58Z")

</div>

Thanks, I’ll check that.

---

<div class="post-metadata">

**Author:** ![boneyard](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/boneyard/32/20419_2.png) [@boneyard](https://community.f5.com/u/boneyard)\
**Post date:** [October 13, 2019, 2:42pm UTC](https://community.f5.com/t/http-auth-fails/51959/4 "2019-10-13T14:42:36Z")

</div>

that that solve it for you?

---

<div class="post-metadata">

**Author:** ![Johan\_Lång](https://avatars.discourse-cdn.com/v4/letter/j/85f322/32.png) [@Johan\_Lång](https://community.f5.com/u/Johan_L%C3%A5ng)\
**Post date:** [October 14, 2019, 12:07pm UTC](https://community.f5.com/t/http-auth-fails/51959/5 "2019-10-14T12:07:29Z")

</div>

Yep, the route was not defined 🙂 Thank you

---

<div class="post-metadata">

**Author:** ![boneyard](https://d1p9zq3aats0t8.cloudfront.net/user_avatar/community.f5.com/boneyard/32/20419_2.png) [@boneyard](https://community.f5.com/u/boneyard)\
**Post date:** [October 14, 2019, 12:23pm UTC](https://community.f5.com/t/http-auth-fails/51959/6 "2019-10-14T12:23:04Z")

</div>

super, if possible flag the answer of JG as the correct one.
