-
Notifications
You must be signed in to change notification settings - Fork 338
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
Weird responses when sending more than one request to a Cowboy server #143
Comments
Upon further inspection it's started falling through to the catch all clause.
Phoenix fains no indication that a request reached it, so I guess Cowboy is intervening before it reached phoenix, but i'm not sure why the HTTP version would not be valid. |
bump |
I would double check if your cowboy code is not mixing "req" records. ninenines/cowboy#768 This may occur if you mix |
Just to exclude httpoison from this equation, set up an http server (using python, ruby, whatever) and send requests. You should get 505s. |
this solved things for me and again cowboy doesn't like re-used requests and typheous does this by default. hope this helps someone in the future |
I'm getting some unexpected results when firing HTTPoison request()'s within 1 second of each other. Every second request I am consistently seeing some sort of cached response, where it falls and hits one of my cases, but it doesn't ping the URL at all.
Regards,
Dakota
P.S. I wait until the request is fully complete on both sides before hitting it again.
The text was updated successfully, but these errors were encountered: