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

PHP-FPM not working with Ethersex "watchasync" - HTTP POST not parsed properly #830

Open
M-Schoeler opened this issue Oct 11, 2020 · 1 comment
Labels

Comments

@M-Schoeler
Copy link

Hi folks,
when running the vz middleware in a PHP-FPM process, i does not accept/parse the HTTP POST requests sent:

This is the HTTP paket my ethersex sends:
POST /middleware.php/data/d5b683c0-bae8-11e4-91fb-41f406c45983.json HTTP/1.1\r\n

but: although there is a proper TCP handshake, PHP will never send an "HTTP/1.0 200 OK\r\n"

Now i switched from PHP-FPM to apache and everything seems to be fine so far.

Is this a known issue with ethersex and vz in PHP-FPM?

Thanks for your support.
Micha

@J-A-U
Copy link
Collaborator

J-A-U commented Oct 12, 2020

This is the HTTP paket my ethersex sends:
POST /middleware.php/data/d5b683c0-bae8-11e4-91fb-41f406c45983.json HTTP/1.1\r\n

PHP-PM doesn't support /middleware.php/ in the URL, is your Apache set up to redirect and does it work propperly?

Is this a known issue with ethersex and vz in PHP-FPM?

I'm not aware of one.

mfg JAU

@andig andig added the Question label Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants