CEDRDigitalCorps / SPICEYbot

A bot that scrapes social media into slack.
MIT License
2 stars 2 forks source link

Twitter stream disconnects with SSL: WRONG_VERSION_NUMBER #6

Open shimpossible opened 6 years ago

shimpossible commented 6 years ago

Traceback (most recent call last): File "C:\Python27amd64\lib\site-packages\tweepy\streaming.py", line 263, in _run self._read_loop(resp) File "C:\Python27amd64\lib\site-packages\tweepy\streaming.py", line 313, in _read_loop line = buf.read_line().strip() File "C:\Python27amd64\lib\site-packages\tweepy\streaming.py", line 179, in read_line self._buffer += self._stream.read(self._chunk_size) File "C:\Python27amd64\lib\site-packages\urllib3\response.py", line 384, in read data = self._fp.read(amt) File "C:\Python27amd64\lib\httplib.py", line 573, in read return self._read_chunked(amt) File "C:\Python27amd64\lib\httplib.py", line 615, in _read_chunked line = self.fp.readline(_MAXLINE + 1) File "C:\Python27amd64\lib\socket.py", line 480, in readline data = self._sock.recv(self._rbufsize) File "C:\Python27amd64\lib\ssl.py", line 766, in recv return self.read(buflen) File "C:\Python27amd64\lib\ssl.py", line 653, in read v = self._sslobj.read(len) SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1864)