Randomly 502 Bad Gateway - Docker - Debian 9

Tech support for Enterprise Version
Post Reply
raven57
Posts: 4
Joined: Mon Jun 18, 2018 11:37 am

Randomly 502 Bad Gateway - Docker - Debian 9

Post by raven57 » Wed Mar 13, 2019 12:21 pm

Hi,

we randomly get Bad Gateway Errors with out instance of OO.
I followed advise to increase RAM and go from 8-12GB but it didn't solve the problems.
I found the following thread:
viewtopic.php?f=35&t=10599

where maxim give the advise to check the firewall rules. Which rules could cause problems. I have no direct access to the firewall and it would be nice if i can tell the guys something more than check the rules please.



nginx.error.log

Code: Select all

2019/03/13 09:41:58 [error] 659#659: *1643 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.142, server: , request: "GET /products/files/doceditor.aspx?fileid=1112 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/products/files/"
2019/03/13 09:41:58 [error] 659#659: *1643 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.142, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 09:42:03 [error] 659#659: *1643 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.142, server: , request: "GET /products/files/doceditor.aspx?fileid=1112 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/products/files/"
2019/03/13 09:42:03 [error] 659#659: *1643 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.142, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 09:42:09 [error] 660#660: *1648 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.142, server: , request: "GET /products/files/doceditor.aspx?fileid=1112 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/products/files/"
2019/03/13 09:42:18 [error] 660#660: *1648 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.142, server: , request: "GET /products/files/doceditor.aspx?fileid=1112 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/products/files/"
2019/03/13 09:42:24 [error] 660#660: *1648 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.142, server: , request: "POST /products/files/services/wcfservice/service.svc/checkediting?_=1552470103791 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/products/files/"
2019/03/13 09:42:26 [error] 657#657: *1654 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /products/files/httphandlers/filehandler.ashx?action=stream&fileid=1112&version=227&stream_auth=290166084524.DBSHZPFSF2HRY3UDDBZ8ERS9K4ONVRX7Z8P3VGV58&X-REWRITER-URL=https%3A%2F%2Four.domain%3A443 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "onlyoffice-community-server"
2019/03/13 09:42:27 [error] 660#660: *1658 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /products/files/httphandlers/filehandler.ashx?action=stream&fileid=1112&version=227&stream_auth=290166084524.DBSHZPFSF2HRY3UDDBZ8ERS9K4ONVRX7Z8P3VGV58&X-REWRITER-URL=https%3A%2F%2Four.domain%3A443 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "onlyoffice-community-server"
2019/03/13 09:42:28 [error] 660#660: *1662 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /products/files/httphandlers/filehandler.ashx?action=stream&fileid=1112&version=227&stream_auth=290166084524.DBSHZPFSF2HRY3UDDBZ8ERS9K4ONVRX7Z8P3VGV58&X-REWRITER-URL=https%3A%2F%2Four.domain%3A443 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "onlyoffice-community-server"
2019/03/13 09:42:31 [error] 660#660: *1642 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.242, server: , request: "GET /api/2.0/people.json?__=841433 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/mail/"
2019/03/13 09:42:31 [error] 660#660: *1642 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.242, server: , request: "GET /api/2.0/people.json?__=841433 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/mail/"
2019/03/13 09:42:31 [error] 657#657: *1586 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.98, server: , request: "POST /auth.aspx HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/auth.aspx"
2019/03/13 09:42:31 [error] 657#657: *1639 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /products/files/httphandlers/filehandler.ashx?action=track&fileid=1112&stream_auth=290166084532.KHEGO3BDLEX54BNFWGGFB0BFYYKHMBMUDOYPNQ06A&X-REWRITER-URL=https%3A%2F%2Four.domain%3A443 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "onlyoffice-community-server"
2019/03/13 09:42:32 [crit] 657#657: *1586 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.98, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 09:42:32 [crit] 660#660: *1642 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.242, server: , request: "GET /api/2.0/people.json?__=841433&__=841433 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/mail/"
2019/03/13 09:42:32 [crit] 660#660: *1642 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.242, server: , request: "GET /api/2.0/people.json?__=841433&__=841433&__=841433 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/mail/"
2019/03/13 09:45:20 [error] 660#660: *1718 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET /products/files/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/"
2019/03/13 09:45:20 [error] 660#660: *1718 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 09:45:23 [error] 660#660: *1718 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 09:45:23 [error] 657#657: *1711 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /api/2.0/batch.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost"
2019/03/13 09:45:23 [error] 657#657: *1722 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /api/2.0/batch.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost"
2019/03/13 09:57:53 [error] 660#660: *1801 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.242, server: , request: "GET /api/2.0/people.json?__=817150&__=817150 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/mail/"
2019/03/13 09:57:53 [error] 660#660: *1801 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.242, server: , request: "GET /api/2.0/people.json?__=817150&__=817150&__=817150 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/mail/"
2019/03/13 09:57:56 [error] 658#658: *1804 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "POST /products/files/services/wcfservice/service.svc/folders?parentId=10&from=0&count=30&filter=0&subjectID=&search=&_=1552471076445 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/products/files/"
2019/03/13 09:57:56 [error] 658#658: *1804 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET /api/2.0/settings/quota.json?__=136761&__=136761 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/products/files/"
2019/03/13 09:57:56 [error] 658#658: *1804 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET /api/2.0/settings/quota.json?__=136761&__=136761&__=136761 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/products/files/"
2019/03/13 09:58:05 [error] 660#660: *1793 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.106, server: , request: "GET /skins/default/images/loader_16.gif HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/discbundle/common/css/studio-WWLGO9gqD0VKRZol15usTA2.css?ver=9.6.5.771"
2019/03/13 11:49:45 [error] 658#658: *2328 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET /addons/calendar/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/"
2019/03/13 11:49:45 [error] 658#658: *2328 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:49:48 [error] 658#658: *2335 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:49:50 [error] 658#658: *2335 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:50:08 [error] 658#658: *2335 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:50:09 [error] 658#658: *2335 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.106, server: , request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:50:22 [error] 658#658: *2273 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /js/third-party/moment-timezone.min.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 657#657: *2268 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /js/third-party/rrule.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 658#658: *2273 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.78, server: , request: "GET /js/third-party/moment-timezone.min.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 657#657: *2268 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.78, server: , request: "GET /js/third-party/rrule.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 659#659: *2314 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /clientscript/ktXRENh8ZLbf9RJlHV1Qyw2_de-de.js?ver=9.6.5.771B0zOGmRbieCqTL7UCcEi1A2 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 659#659: *2314 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (11: Resource temporarily unavailable) while connecting to upstream, client: x.x.x.78, server: , request: "GET /clientscript/ktXRENh8ZLbf9RJlHV1Qyw2_de-de.js?ver=9.6.5.771B0zOGmRbieCqTL7UCcEi1A2 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 659#659: *2272 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /js/third-party/moment.min.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 659#659: *2272 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (111: Connection refused) while connecting to upstream, client: x.x.x.78, server: , request: "GET /js/third-party/moment.min.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 660#660: *2315 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /clientscript/488YrvltC2Gv2clyZUJpag2_de-de.js?ver=9.6.5.771JG0k_D2qlqrV6E4LjBHx0A2 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 658#658: *2316 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /js/third-party/nlp.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [error] 660#660: *2332 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /api/2.0/batch.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost"
2019/03/13 11:50:22 [error] 657#657: *2321 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "PUT /api/2.0/mail/accounts/updateuseractivity.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost"
2019/03/13 11:50:22 [error] 657#657: *2326 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "PUT /api/2.0/mail/accounts/updateuseractivity.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost"
2019/03/13 11:50:22 [error] 657#657: *2341 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "PUT /api/2.0/mail/accounts/updateuseractivity.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost"
2019/03/13 11:50:22 [error] 657#657: *2268 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (111: Connection refused) while connecting to upstream, client: x.x.x.78, server: , request: "GET /skins/default/images/onlyoffice_logo/favicon_general.ico?t=636880745730722130 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:50:22 [crit] 657#657: *2268 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.78, server: , request: "GET /js/third-party/moment-timezone.min.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [crit] 657#657: *2268 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.78, server: , request: "GET /js/third-party/rrule.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [crit] 657#657: *2268 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.78, server: , request: "GET /js/third-party/nlp.js HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [crit] 657#657: *2268 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.78, server: , request: "GET /clientscript/488YrvltC2Gv2clyZUJpag2_de-de.js?ver=9.6.5.771JG0k_D2qlqrV6E4LjBHx0A2 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:50:22 [crit] 657#657: *2268 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.78, server: , request: "GET /clientscript/ktXRENh8ZLbf9RJlHV1Qyw2_de-de.js?ver=9.6.5.771B0zOGmRbieCqTL7UCcEi1A2 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/addons/calendar/"
2019/03/13 11:51:58 [error] 657#657: *2378 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /api/2.0/batch.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost"
2019/03/13 11:52:28 [error] 660#660: *2370 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /skins/default/images/onlyoffice_logo/favicon_general.ico?t=636880746923653880 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:52:28 [error] 657#657: *2387 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /addons/calendar/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/"
2019/03/13 11:52:28 [error] 660#660: *2372 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /skins/default/images/onlyoffice_logo/favicon_general.ico?t=636880746923653880 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:52:28 [error] 657#657: *2393 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 127.0.0.1, server: , request: "POST /api/2.0/batch.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost"
2019/03/13 11:52:28 [error] 660#660: *2381 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /skins/default/images/onlyoffice_logo/favicon_general.ico?t=636880746923653880 HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
2019/03/13 11:52:28 [error] 660#660: *2374 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: x.x.x.78, server: , request: "GET /skins/dark-green/img/icons_nav_panel.png HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain", referrer: "https://our.domain/discbundle/common/css/Q2oRg0X_bzSxKerVGCFnTA2.css?ver=9.6.5.771"
2019/03/13 11:52:28 [crit] 660#660: *2370 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: x.x.x.78, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "our.domain"
monoserve.log

Code: Select all

WebConfigurationManager's LRUcache Size overriden to: 2000 (via MONO_ASPNET_WEBCONFIG_CACHESIZE)
[0;1mlibev.c:324: cmd_error():	A socket error (0x21) occurred on fd 22.
[0m[0;1mlibev.c:324: cmd_error():	A socket error (0x22) occurred on fd 22.
[0m[0;1mlibev.c:111: remove_cmdsocket():	Trying to remove non-existing socket 22[0m[0;1mlibev.c:324: cmd_error():	A socket error (0x21) occurred on fd 20.
[0m[0;1mlibev.c:324: cmd_error():	A socket error (0x21) occurred on fd 32.
[0m[0;1mlibev.c:324: cmd_error():	A socket error (0x21) occurred on fd 5.
[0m[0;1mlibev.c:324: cmd_error():	A socket error (0x21) occurred on fd 20.
[0mhost-list.c:38: register_host():	(null):0:/:/var/www/onlyoffice/WebStudio host=0x7f463c4fc4e8 pinned_host=0x7f463c4fc4e8 domain=0x237d1e0
libev.c:476: Listen():	libevent version: 2.0.21-stable
libev.c:490: Listen():	libevent is using epoll for events.
libev.c:319: cmd_error():	Remote host disconnected from fd 15.
libev.c:319: cmd_error():	Remote host disconnected from fd 15.
libev.c:319: cmd_error():	Remote host disconnected from fd 15.
libev.c:319: cmd_error():	Remote host disconnected from fd 28.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
fcgi-transport.c:255: send_output():	can't find request n=15
fcgi-transport.c:255: send_output():	can't find request n=15
fcgi-transport.c:307: end_request():	can't find request n=15
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 15.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 31.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
fcgi-transport.c:307: end_request():	can't find request n=49
libev.c:319: cmd_error():	Remote host disconnected from fd 22.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 28.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 20.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote[0;1mlibev.c:324: cmd_error():	A socket error (0x22) occurred on fd 32.
[0m host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 28.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 29.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 33.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 34.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 32.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():	Remote host disconnected from fd 5.
libev.c:319: cmd_error():

Carl
Posts: 172
Joined: Thu Apr 12, 2018 10:00 am

Re: Randomly 502 Bad Gateway - Docker - Debian 9

Post by Carl » Thu Mar 21, 2019 7:35 am

Hello,

Unfortunately, this is a bug of monoserve - service required to run the Community Server in linux environment. We are looking for the ways of fixing the issue, but it is very complicated and I cannot say for sure when the fix is going to be ready.

raven57
Posts: 4
Joined: Mon Jun 18, 2018 11:37 am

Re: Randomly 502 Bad Gateway - Docker - Debian 9

Post by raven57 » Mon Mar 25, 2019 9:52 am

Thank you for your reply even if it does not solve the problem.
Now I know at least that it is not due to a wrong configuration on our side.
I'm not deeply involved in development with Mono and its dependencies, but maybe a test of ASP.NET Core Core will help if it provides all necessary functions.

Carl
Posts: 172
Joined: Thu Apr 12, 2018 10:00 am

Re: Randomly 502 Bad Gateway - Docker - Debian 9

Post by Carl » Wed Mar 27, 2019 7:59 am

We are releasing the new version of Community Server 10.0 soon (a couple weeks) where we expect some better performance. I'd recommend you to wait for the update and check if the issue persists.

Post Reply