when setting up the webserver for ROS galactic in a docker container, the following warning is shown while running the example code:
: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, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.
I believe this can be easily fixed by specifying twisted[tls] as dependency instead of twisted. This fixes the issue as the missing dependency is installed (cf here for the tls dependencies of twisted)
when setting up the webserver for ROS galactic in a docker container, the following warning is shown while running the example code:
: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, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected.
I believe this can be easily fixed by specifying
twisted[tls]
as dependency instead oftwisted
. This fixes the issue as the missing dependency is installed (cf here for the tls dependencies of twisted)