raceback (most recent call last):
File "main.py", line 2, in <module>
from BankEmails.ProvidentCredit import ProvidentCredit
File "/home/mayank/code/python/webapps-google/reademail/code/BankEmails/ProvidentCredit.py", line 1, in <module>
from Common.GetEmailFromGoogle import GetEmailFromGoogle
File "/home/mayank/code/python/webapps-google/reademail/code/Common/GetEmailFromGoogle.py", line 20, in <module>
mail = imaplib.IMAP4_SSL(gmail_host)
File "/usr/lib/python3.6/imaplib.py", line 1288, in __init__
IMAP4.__init__(self, host, port)
File "/usr/lib/python3.6/imaplib.py", line 198, in __init__
self.open(host, port)
File "/usr/lib/python3.6/imaplib.py", line 1301, in open
IMAP4.open(self, host, port)
File "/usr/lib/python3.6/imaplib.py", line 299, in open
self.sock = self._create_socket()
File "/usr/lib/python3.6/imaplib.py", line 1293, in _create_socket
server_hostname=self.host)
File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/usr/lib/python3.6/ssl.py", line 817, in __init__
self.do_handshake()
File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by pee