Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.04 KB | None | 0 0
  1. Alexs-Macbook-Pro:~ andrewdaley$ cd pycharmprojects
  2. Alexs-Macbook-Pro:pycharmprojects andrewdaley$ cd discordbot
  3. Alexs-Macbook-Pro:discordbot andrewdaley$ python3 index.py
  4. Traceback (most recent call last):
  5. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aiohttp/connector.py", line 924, in _wrap_create_connection
  6. await self._loop.create_connection(*args, **kwargs))
  7. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 981, in create_connection
  8. ssl_handshake_timeout=ssl_handshake_timeout)
  9. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 1009, in _create_connection_transport
  10. await waiter
  11. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 530, in data_received
  12. ssldata, appdata = self._sslpipe.feed_ssldata(data)
  13. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata
  14. self._sslobj.do_handshake()
  15. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 774, in do_handshake
  16. self._sslobj.do_handshake()
  17. ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
  18.  
  19. The above exception was the direct cause of the following exception:
  20.  
  21. Traceback (most recent call last):
  22. File "index.py", line 20, in <module>
  23. client.run('NjI5NDY2ODAxMjg5NDI5MDEy.XZaKtA.OpFgBLTMwlj1zCgCRrbhLLHmM9A')
  24. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/discord/client.py", line 598, in run
  25. return future.result()
  26. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/discord/client.py", line 579, in runner
  27. await self.start(*args, **kwargs)
  28. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/discord/client.py", line 542, in start
  29. await self.login(*args, bot=bot)
  30. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/discord/client.py", line 400, in login
  31. await self.http.static_login(token, bot=bot)
  32. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/discord/http.py", line 258, in static_login
  33. data = await self.request(Route('GET', '/users/@me'))
  34. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/discord/http.py", line 158, in request
  35. async with self.__session.request(method, url, **kwargs) as r:
  36. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aiohttp/client.py", line 1005, in __aenter__
  37. self._resp = await self._coro
  38. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aiohttp/client.py", line 476, in _request
  39. timeout=real_timeout
  40. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aiohttp/connector.py", line 522, in connect
  41. proto = await self._create_connection(req, traces, timeout)
  42. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aiohttp/connector.py", line 854, in _create_connection
  43. req, traces, timeout)
  44. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aiohttp/connector.py", line 992, in _create_direct_connection
  45. raise last_exc
  46. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aiohttp/connector.py", line 974, in _create_direct_connection
  47. req=req, client_error=client_error)
  48. File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aiohttp/connector.py", line 927, in _wrap_create_connection
  49. req.connection_key, exc) from exc
  50. aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discordapp.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement