Skip to content
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

Issue with the forward package #22

Closed
arkan opened this issue Sep 1, 2015 · 2 comments
Closed

Issue with the forward package #22

arkan opened this issue Sep 1, 2015 · 2 comments

Comments

@arkan
Copy link

arkan commented Sep 1, 2015

Hi,
I'm trying to implement a reverse proxy on top of the forward and roundrobin packages.
It works, but not as expected. When I bench the service with wrk, it starts to slow down the requests' processing after a few seconds, and starts to display error messages:

ERR: 2015/09/01 17:26:24.843441 Error forwarding to http://127.0.0.1:8082, err: dial tcp 127.0.0.1:8082: can't assign requested address

I created a full example here which reproduces the issue: https://gist.github.com/Arkan/3f344293fd79560a96c4

Do you have any idea?

Thanks

@emilevauge
Copy link
Contributor

@arkan, have you found a workaround? I'm getting the same issue:
the server starts to slow down the requests after some time, and shows Error forwarding to http://172.17.0.3:80, err: dial tcp 172.17.0.3:80: i/o timeout.

@lunemec
Copy link

lunemec commented Jan 19, 2017

This is dupliacte with #57. This issue was first, but the #57 has some proposed solutions. This should be closed as dupliacte and solved there.

@ldez ldez added the duplicate label Nov 4, 2022
@ldez ldez closed this as completed Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants