Skip to content

ImportError: No module named backports.ssl_match_hostname #374

@7a

Description

@7a

A user kindly reported the following error here:
http://blog.7-a.org/2014/10/owtf-10-lionheart-released.html?showComment=1417144808088#c3910439630763982534

Possibly the install script was not run (and in that case this would be an enhancement not a bug), but when that is the case, we should exit more gracefully indicating to the user what to do instead of ending with a stack trace like that.

i got this error when i try to run ./owtf.py

Traceback (most recent call last):
File "./owtf.py", line 45, in
from framework import core
File "/root/wasp/owtf/framework/core.py", line 53, in
from framework.http.proxy import proxy, transaction_logger, tor_manager
File "/root/wasp/owtf/framework/http/proxy/proxy.py", line 32, in
import tornado.httpserver
File "/usr/local/lib/python2.7/dist-packages/tornado/httpserver.py", line 34, in
from tornado.http1connection import HTTP1ServerConnection, HTTP1ConnectionParameters
File "/usr/local/lib/python2.7/dist-packages/tornado/http1connection.py", line 30, in
from tornado import iostream
File "/usr/local/lib/python2.7/dist-packages/tornado/iostream.py", line 40, in
from tornado.netutil import ssl_wrap_socket, ssl_match_hostname, SSLCertificateError
File "/usr/local/lib/python2.7/dist-packages/tornado/netutil.py", line 49, in
import backports.ssl_match_hostname
ImportError: No module named backports.ssl_match_hostname

@adrian_is: Could you please provide more background information here?

  • Did you run the install script?
  • What Operating system did you try this on?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions