Projects tigase _server server-core Issues #454
I am using xmpp server and i am getting intermediate 502 error code from nginx log "upstream prematurely closed connection while reading response header from upstream http://xxx.xxx.xxx.xxx:5280/http-bind" (#454)
Won't Fix
shailesh j opened 9 years ago
Due Date
2015-03-31

I'm having difficulty getting nginx to proxy to an xmpp server using a BOSH connection. I get intermediate below error in the logs

error logs of nginx: ##2015/04/01 14:15:54 [error] 21788#0: *225307 upstream prematurely closed connection while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: c360dev.in, request: "POST /http-bind HTTP/1.1", upstream: "http://xxx.xxx.xxx.xxx:5280/http-bind", host: "example.in", referrer: "http://test1.example.in/exampleqa/chat/default/index" ##

access log of nginx: ##27.106.72.217 - - [01/Apr/2015:14:15:54 +0530] "POST /http-bind HTTP/1.1" 502 568 "http://test1.example.in/exampleqa/chat/default/index" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36"

can you please tell me, why xmpp server close connection?

init.properties nginx.conf tigase.conf vhost_default

Artur Hefczyc commented 9 years ago

Please use our online forums to request assistance with your installation: https://projects.tigase.org/projects/tigase-server/boards

To help you with your problem we need your nginx configuration as well as Tigase configuration and any log messages in both Nginx and Tigase.

shailesh j commented 9 years ago

Hello Artur,

Kindly find attached my nginx and tigase configuration files.

nginx file: nginx.conf and vhost_default.

tigase file: tigase.conf and init.properties.

Note:

1)I am using ubuntu OS system --> version Ubuntu 14.04.1 LTS" in both nginx server and xmpp server.

2)All user request come to nginx server then nginx forward (proxy pass) connection to xmpp server.

Few request failed in 502 error code and print above mentioned error log.

please help.

shailesh j commented 9 years ago

Hello Artur ,

Please update on this. I need your help to sort out this issue.

shailesh j commented 9 years ago

Hello Artur,

Please help me to sort out tigase issue. I am already attached all required files.

Artur Hefczyc commented 9 years ago

shailesh, please post your questions on the forums as indicated in my first comment to the ticket. Our team will help you out with your problem.

issue 1 of 1
Type
Bug
Priority
Major
Assignee
RedmineID
2896
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#454
Please wait...
Page is in error, reload to recover