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

Doesn't work with nginx? #178

Open
vatnoise opened this issue Aug 8, 2016 · 1 comment
Open

Doesn't work with nginx? #178

vatnoise opened this issue Aug 8, 2016 · 1 comment

Comments

@vatnoise
Copy link

vatnoise commented Aug 8, 2016

Hi,
I've been using ZeroMQ on my local virtual machine that only uses Apache and everything seems to be working but as soon as I decided to test it on the production server (that uses both Apache and nginx) it started returning 500/502 errors:

With apache2 and PHP working on FastCGI the apache log says:

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://website/_test/send.php

And if I switch it to an Apache module the error is following:

upstream prematurely closed connection while reading response header from upstream

Not sure if there needs to be some specific nginx configuration for it to work or maybe it's completely incompatible with nginx?

Thanks!

@vatnoise
Copy link
Author

vatnoise commented Aug 8, 2016

I was following this tutorial and it fails on the part when PHP needs to connect to the socket with $socket->connect("tcp://localhost:5555");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant