Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

discord webhook error #7

Open
ChiHowe opened this issue May 1, 2023 · 0 comments
Open

discord webhook error #7

ChiHowe opened this issue May 1, 2023 · 0 comments

Comments

@ChiHowe
Copy link

ChiHowe commented May 1, 2023

The program displays an error when sending a message to discord while running (Forgive me for hiding my webhook info):

Traceback (most recent call last):
File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 700, in urlopen
self._prepare_proxy(conn)
File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 996, in prepare_proxy
conn.connect()
File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connection.py", line 414, in connect
self.sock = ssl_wrap_socket(
File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\util\ssl
.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\util\ssl
.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "C:\ProgramData\anaconda3\lib\ssl.py", line 513, in wrap_socket
return self.sslsocket_class._create(
File "C:\ProgramData\anaconda3\lib\ssl.py", line 1071, in _create
self.do_handshake()
File "C:\ProgramData\anaconda3\lib\ssl.py", line 1342, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:997)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\ProgramData\anaconda3\lib\site-packages\requests\adapters.py", line 489, in send
resp = conn.urlopen(
File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
retries = retries.increment(
File "C:\ProgramData\anaconda3\lib\site-packages\urllib3\util\retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='discord.com', port=443): Max retries exceeded with url: /api/webhooks/xxxxx/xxxxx (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\10849\Desktop\Auto-OWL-Watcher-main\main.py", line 104, in
log("still watching stream 👍, about to reload... (next reload in 10 minutes). Estimated tokens earnt: " + str(estimated_tokens_earnt)+"", 4)
File "C:\Users\10849\Desktop\Auto-OWL-Watcher-main\main.py", line 31, in log
requests.post(url=webhook_url, json={"content":msg,"username":"Auto OWL Status","avatar_url":"https://yt3.googleusercontent.com/ytc/AGIKgqPyXqPzHBB7rV5aoyDT6KGVYyMPx6rsMKkNh7d9=s900-c-k-c0x00ffffff-no-rj"})
File "C:\ProgramData\anaconda3\lib\site-packages\requests\api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
File "C:\ProgramData\anaconda3\lib\site-packages\requests\api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "C:\ProgramData\anaconda3\lib\site-packages\requests\sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "C:\ProgramData\anaconda3\lib\site-packages\requests\sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
File "C:\ProgramData\anaconda3\lib\site-packages\requests\adapters.py", line 563, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='discord.com', port=443): Max retries exceeded with url: /api/webhooks/xxxxx/xxxxx (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant