scm-manager 1.46 hg push fails with self-signed cert

89 views
Skip to first unread message

Jonathan Choy

unread,
Jun 17, 2015, 6:31:00 PM6/17/15
to scmma...@googlegroups.com
Windows Server 2012R2 / JRE 1.8.0_45
SCM-Manager 1.46
LDAP and Mercurial plugins. LDAP auth works fine, as seen below here my AD groups are being read to produce my permissions on the repo
Hg package 4338c4_x64

I'm able to clone from the installation with the certificate being recognized through my web.cacerts.

Made a trivial change, hg push and hg push --insecure both yield:


PS C:\temp\gauntlet> hg push
pushing to https://jchoy@hqa-mercurial01/scm/hg/dev/Gauntlet
http authorization required for https://hqa-mercurial01/scm/hg/dev/Gauntlet
realm: SONIA :: SCM Manager
user: jchoy
password:
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 1 changesets with 2 changes to 2 files
remote: <urlopen error [Errno 8] _ssl.c:507: EOF occurred in violation of protocol>transaction abort!
remote: rollback completed

It appears that I'm getting mostly the right permissions set:2015-06-17 18:23:31.146 [qtp1329427685-23] TRACE sonia.scm.security.AuthorizationCollector - collect permissions for repository dev/Gauntlet and user jchoy
2015-06-17 18:23:31.147 [qtp1329427685-23] TRACE sonia.scm.security.AuthorizationCollector - add repository permission RepositoryPermission{repositoryId=3fPFmeXsW2, permissionType=OWNER} for user jchoy
2015-06-17 18:23:31.147 [qtp1329427685-23] TRACE sonia.scm.security.AuthorizationCollector - add repository permission RepositoryPermission{repositoryId=3fPFmeXsW2, permissionType=WRITE} for user jchoy
2015-06-17 18:23:31.149 [qtp1329427685-23] TRACE sonia.scm.security.AuthorizationCollector - retrieve AuthorizationInfo for user jchoy from cache
2015-06-17 18:23:31.149 [qtp1329427685-23] TRACE sonia.scm.web.filter.PermissionFilter - read access to repository dev/Gauntlet for user jchoy granted
2015-06-17 18:23:31.149 [qtp1329427685-23] TRACE sonia.scm.repository.RepositoryRequestListenerUtil - no repository request listener defined
2015-06-17 18:23:31.151 [qtp1329427685-23] DEBUG sonia.scm.web.cgi.DefaultCGIExecutor - execute cgi: E:\SCM\pkg\4338c4_x64\python\2.7.9\python.exe E:\SCM\lib\python\hgweb.py

And that the hgweb.py is throwing the error, but completing the script capture and response correctly so it is not logging the error in the trace log.

What can I do to troubleshoot this further? Is it a case of needing to configure something in a different location on a windows Hg server for Scm-Manager?

Thanks

Jonathan Choy


Reply all
Reply to author
Forward
0 new messages