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

Bot crashes #4

Open
jakiki6 opened this issue Apr 3, 2022 · 2 comments
Open

Bot crashes #4

jakiki6 opened this issue Apr 3, 2022 · 2 comments

Comments

@jakiki6
Copy link

jakiki6 commented Apr 3, 2022

using config.json as config
Obtaining CSRF token...
Logging in...
Authorization successful!
Obtaining access token...
Logged in as CeleryCharacter6549


1 accounts logged in

Attempting to place for: CeleryCharacter6549

Refreshing target configuration...

Getting board


Error encountered while running bot: 
Traceback (most recent call last):
  File "/root/placebot/src/placebot.py", line 106, in <module>
    run_bot()
  File "/root/placebot/src/placebot.py", line 98, in run_bot
    run_board_watcher_placer(placers)
  File "/root/placebot/src/placebot.py", line 58, in run_board_watcher_placer
    placer.update_board()
  File "/root/placebot/src/placer.py", line 179, in update_board
    self.update_canvas(canvas_id)
  File "/root/placebot/src/placer.py", line 189, in update_canvas
    ws = create_connection("wss://gql-realtime-2.reddit.com/query")
  File "/usr/lib/python3/dist-packages/websocket/_core.py", line 515, in create_connection
    websock.connect(url, **options)
  File "/usr/lib/python3/dist-packages/websocket/_core.py", line 226, in connect
    self.handshake_response = handshake(self.sock, *addrs, **options)
  File "/usr/lib/python3/dist-packages/websocket/_handshake.py", line 80, in handshake
    status, resp = _get_resp_headers(sock)
  File "/usr/lib/python3/dist-packages/websocket/_handshake.py", line 165, in _get_resp_headers
    raise WebSocketBadStatusException("Handshake status %d %s", status, status_message, resp_headers)
websocket._exceptions.WebSocketBadStatusException: Handshake status 403 Forbidden

Restarting...

I'm running this on a headless Debian 10 machine.

@NYC00kie
Copy link

NYC00kie commented Apr 3, 2022

got the same Error.
Seems like the Server is Blocking the Request.
Thats indicated by the 403 Forbidden Error Code

@NYC00kie
Copy link

NYC00kie commented Apr 4, 2022

seems fixed

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

2 participants