Skip to content

TypeError: wrap_socket() argument 1 must be _socket.socket, not GreenSocket #201

@andresm66

Description

@andresm66

Hi so Im having this issue whenever i try to open an https url, im not sure if im doing something wrong but i even get this with just the example on ssl usage from the website

from eventlet.green import urllib2
from eventlet import spawn
bodies = [spawn(urllib2.urlopen, url)
     for url in ("https://secondlife.com","https://google.com")]
for b in bodies:
    print(b.wait().read())

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions