Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Failed to connect to websocket [BUG] #291

Closed
Enyrox opened this issue Apr 3, 2022 · 15 comments
Closed

Failed to connect to websocket [BUG] #291

Enyrox opened this issue Apr 3, 2022 · 15 comments
Labels
bug Something isn't working

Comments

@Enyrox
Copy link

Enyrox commented Apr 3, 2022

Bug Report Form

Checklist

  • [ Y ] I am using the latest version of the code.
  • [ Y ] I am absolutely sure I read the README in its entirety.
  • [ Y ] I have made sure this is not a duplicate issue.
  • [ Y ] I have filled out this form correctly.

Describe the bug

When I launch start.bat, "2022-04-03 20:10:35.519 | ERROR | main:task:531 - Failed to connect to websocket, trying again in 30 seconds..." shows up. I doesn't place pixels

To Reproduce

Steps to trigger the bug:

  1. Go to 'reddit-place-script-2022-main'
  2. Click on 'start.bat'
  3. See error

Expected behavior

Works and place pixels

Additional context

Add any other context about the problem here.

@Enyrox Enyrox added the bug Something isn't working label Apr 3, 2022
@Risewill23
Copy link
Collaborator

its likely just a ratelimit

@OrioPrisco
Copy link

OrioPrisco commented Apr 3, 2022

It may be but it works perfectly fine on one machine and I get this error on the other. Seems odd

@ollivxv
Copy link

ollivxv commented Apr 3, 2022

It seems like "https://new.reddit.com/login" is down and it cant grab the csrf on line 515 so it throws an error?

image

@kagenokurei
Copy link

WS connections need to be persistent and stay up as long as possible.

@thedankeststorm
Copy link

its likely just a ratelimit

It isn't. Something is up with the API.

@maltejur
Copy link
Contributor

maltejur commented Apr 3, 2022

Replacing all new.reddit.com with reddit.com seems to fix the issue

@maltejur
Copy link
Contributor

maltejur commented Apr 3, 2022

Probably caused by #286

@omar2205
Copy link

omar2205 commented Apr 3, 2022

Probably caused by #286

year, when I restored before that it worked

@rdeepak2002 rdeepak2002 pinned this issue Apr 3, 2022
@Enyrox
Copy link
Author

Enyrox commented Apr 3, 2022

Probably caused by #286

what is #286?

@Risewill23
Copy link
Collaborator

#292

@Risewill23
Copy link
Collaborator

Should work now with the latest update

@omar2205
Copy link

omar2205 commented Apr 3, 2022

yeah, I vote close the issue

@kyoobey
Copy link

kyoobey commented Apr 3, 2022

now it hangs indefinitely
after printing this line

root@ubuntu-s-1vcpu-1gb-amd-blr1-01:~/reddit-place-script-2022# python3 main.py -d
2022-04-03 18:45:07.493 | INFO     | __main__:load_image:135 - Loaded image size: (32, 9)

@omar2205
Copy link

omar2205 commented Apr 3, 2022

it worked for me, and placed the pixels accordingly

@test2a
Copy link

test2a commented Apr 3, 2022

2022-04-04 04:04:54.679 | ERROR | __main__:task:643 - Failed to connect to websocket, trying again in 30 seconds...

i am getting this error "proxies": [ "98.170.57.231:4145", "174.64.199.82:4145" ],

is what i put into my config, i got these socks5 proxies so i am not sure if i need to write socks as prefix to the IP ??

@Risewill23

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants