Support #5497
openhg push hangs
0%
Description
Not sure where to go next on debugging this.
The push actually makes it into the repo. The client that initiated the push hangs so the transaction is not recognized as complete on the client side.
There is a log entry in enterprise-1.log that may be the culprit but I am only guessing:
2018-08-30 14:29:30.656 [12545] INFO [rhodecode.lib.middleware.simplevcs] Using HTTP implementation of scm app.
/opt/rhodecode/store/knphb4bx7g4ps5qnnb68cnsflphqb488-python2.7-SQLAlchemy-1.1.15/lib/python2.7/site-packages/sqlalchemy/sql/sqltypes.py:219: SAWarning: Unicode type received non-unicode bind param value '{"user_agent": "mercurial...'. (this warning may be suppressed after 10 occurrences)
(util.ellipses_string(value),))
RHODECODE CONTROL VERSION: 1.18.0
- NAME: enterprise-1
- STATUS: RUNNING logs:/opt/rhodecode/.rccontrol/enterprise-1/enterprise.log
- VERSION: 4.12.4 Enterprise
- VCS: vcsserver-1
- URL: http://127.0.0.1:10020
CONFIG: /opt/rhodecode/.rccontrol/enterprise-1/rhodecode.ini
NAME: vcsserver-1
STATUS: RUNNING
logs:/opt/rhodecode/.rccontrol/vcsserver-1/vcsserver.logVERSION: 4.12.4 VCSServer
CONFIG: /opt/rhodecode/.rccontrol/vcsserver-1/vcsserver.ini
Updated by Marcin Kuzminski [CTO] over 6 years ago
This must be related to integrations. Since they execute post transaction the commit complets, but the client communication doesn't.
This might be related to http webhooks other type of integration that doesn't complete. Maybe the service is not reachable. Since rhodecode doesn't have timeout set in 4.12 series for those it might hang.
Turning on DEBUG log-level should show which point doesn't complete in the post-push hooks.
Hope that helps.