clearwater-docker icon indicating copy to clipboard operation
clearwater-docker copied to clipboard

homer log has some error message

Open leader-us opened this issue 8 years ago • 2 comments

head -100 /var/log/supervisor/homer-stderr---supervisor-FkDgZO.log :0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module and a recent enough pyOpenSSL to support it, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected. Unhandled error in Deferred:

Traceback (most recent call last): Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused. :0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module and a recent enough pyOpenSSL to support it, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected. :0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module and a recent enough pyOpenSSL to support it, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected. :0: UserWarning: You do not have a working installation of the service_identity module: 'No module named service_identity'. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module and a recent enough pyOpenSSL to support it, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected. Unhandled error in Deferred:

Traceback (most recent call last): Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused. Unhandled error in Deferred:

Traceback (most recent call last): Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused. Unhandled error in Deferred:

I don't know if this is a problem?

leader-us avatar Oct 20 '16 07:10 leader-us

Looks like we should be installing the service_identity module as part of Homer to prevent the first warning. I think we should also be handling the connection refused log inside Homer.

Note, that in a none Docker deployment, this gets sprayed to syslog, so it's not a problem explicitly with Docker.

Oct 19 13:49:28 ec2-xxxxx monit: :0: UserWarning: You do not have a working installation of the
service_identity module: 'No module named service_identity'.  Please install it from
<https://pypi.python.org/pypi/service_identity> and make sure all of its dependencies are satisfied. 
Without the service_identity module and a recent enough pyOpenSSL to support it, Twisted can perform
only rudimentary TLS client hostname verification.  Many valid certificate/hostname mappings may be
rejected.

richardwhiuk avatar Oct 20 '16 09:10 richardwhiuk

Ported to https://github.com/Metaswitch/project-clearwater-issues/issues/10

eleanor-merry avatar Mar 24 '17 18:03 eleanor-merry