-
Notifications
You must be signed in to change notification settings - Fork 38
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
'Operation timed out' with POST requests and Caddy (Webserver) #49
Comments
if post and server return http 307, same timeout |
Unless someone can share a Docker setup with Caddy and php-fpm, it will be difficult for me to debug, but if you tell me if your game server is running Linux or Windows, I can provide a debug build of ripext.
I can't reproduce this with a POST to https://httpbin.org/status/307 on a Linux game server. Do you have any more details? |
I'm not really familiar with Docker. 🤔
Generally I use Linux for gameservers. |
I got Caddy 2.4 and php-fpm 7.4 to run in Docker, but I am unable to reproduce the issue. Here's a debug build based on ripext 1.3, which prints everything cURL does to the server console: rip.ext.so.zip |
Same it currently works (reqbin and extension), probably it was fixed with cURL 7.75 update ( 1ee4aa8 ). But I'll still use the debug version, maybe the bug comes back. |
Tested it today again and seems still happening and now with the debug build. get response: https://hastebin.com/ugadesudog.yaml It also freeze my caddy webserver and can't stop it with Caddy Version: 2.4.5 |
got same bug with nginx 1.21.5 + rip 1.3.1 (windows) |
I've some weird issue with RIPExt (1.2.3) and Caddy (2.3 and 2.4).
GET requests (as example) works fine, but when I've trying to use POST requests I always get 0 as response code with
Operation timed out
as error. Full error:HTTP Status Code: 0, Error: Operation timed out after 30015 milliseconds with 0 bytes received
What I tested:
nginx and Caddy as webservers in combination with php7.4 and php8.0 with/out JIT enabled. It works fine with nginx and any php versions, but caddy won't work. To confirm this, I rented another vserver by a different hoster and location. Same results.
My Caddyfile:
But(!) Caddy seems not the root cause, because POST requests works fine with Insomnia, but not with https://reqbin.com/.
So, reqbin and ripext in combination with caddy as webserver won't work. I'm still not sure where is the issue, but it seems related to curl.
The text was updated successfully, but these errors were encountered: