wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

Nginx configuration for Bitrix Environment #246

Closed FlorinTronaru closed 7 years ago

FlorinTronaru commented 7 years ago

Hi, wandenberg. Could you please assist me? I use a CentOS 7 server, configured with Bitrix Virtual Appliance, and I have problem configuring the nginx to work with Bitrix. So, the adjustment i did was changing the event type from poll to epoll, and configuration test is succesfully. My problem is that Bitrix still allerts me that is not configured. Any ideea why?

wandenberg commented 7 years ago

Hi @FlorinTronaru poll event is not recommended, you are right to change for epoll. (I only use poll for development purposes) Can you explain a little bit more what do you mean with "Bitrix still allerts me that is not configured"? Will be easier try to help you with the exactly problem in hands. If you are able to reproduce the problem using a Vagrant file will be even better.

FlorinTronaru commented 7 years ago

2016-Oct-20 15:41:56 Real time business chat (check_pull_stream): Fail Connection to 127.0.0.1:8895 Success Connection to ssl://sv.blike.ro:443 Fail Socket error [0]:

Error! Cannot connect to nginx-push-stream module for reading instant messages 2016-Oct-20 15:41:57 Live comments (check_pull_comments): Fail Error! nginx-push-stream module is required to show comments in real time but not configured properly. 2016-Oct-20 15:41:57 Video calls (check_turn): Fail Error! nginx-push-stream module is required to make video calls but not configured properly. 2016-Oct-20 15:41:58 Bitrix24 mobile app (check_access_mobile): Warning Connection to checker.internal.bitrix24.com:80 Success

github

Maybe Im wrong, but can happen if I have a socket error on my hands? Because this is my other problem im trying to solve, and this are the only left problems with my server. I don't have Vagrant on my server, sorry, if you want, I can give you the Bitrix configuration files that are over bitrix-nginx.

FlorinTronaru commented 7 years ago

Solved, the socket error was the problem, aperrantly you have to reconfigure SSL and HTTPS to do the trick. Thx for your time and sorry to bother you.