ucarno / ow-league-tokens

Bot that farms Overwatch League tokens by pretending you watch league streams
https://discord.gg/kkq2XY4cJM
193 stars 24 forks source link

Cannot connect to chrome at 127.0.0.1 #60

Closed Th3Kolbask1n closed 1 year ago

Th3Kolbask1n commented 1 year ago

[2023-05-02 15:58:39,860 - DEBUG] http://localhost:32885 "POST /session HTTP/1.1" 500 804 [2023-05-02 15:58:39,861 - DEBUG] Remote response: status=500 | data={"value":{"error":"unknown error","message":"unknown error: cannot connect to chrome at 127.0.0.1:46929\nfrom chrome not reachable","stacktrace":"#0 0x5649ce303fe3 \u003Cunknown>\n#1 0x5649ce042bc1 \u003Cunknown>\n#2 0x5649ce030ff6 \u003Cunknown>\n#3 0x5649ce06fe00 \u003Cunknown>\n#4 0x5649ce067352 \u003Cunknown>\n#5 0x5649ce0a9af7 \u003Cunknown>\n#6 0x5649ce0a911f \u003Cunknown>\n#7 0x5649ce0a0693 \u003Cunknown>\n#8 0x5649ce07303a \u003Cunknown>\n#9 0x5649ce07417e \u003Cunknown>\n#10 0x5649ce2c5dbd \u003Cunknown>\n#11 0x5649ce2c9c6c \u003Cunknown>\n#12 0x5649ce2d34b0 \u003Cunknown>\n#13 0x5649ce2cad63 \u003Cunknown>\n#14 0x5649ce29dc35 \u003Cunknown>\n#15 0x5649ce2ee138 \u003Cunknown>\n#16 0x5649ce2ee2c7 \u003Cunknown>\n#17 0x5649ce2fc093 \u003Cunknown>\n#18 0x7f663d46eb43 \u003Cunknown>\n"}} | headers=HTTPHeaderDict({'Content-Length': '804', 'Content-Type': 'application/json; charset=utf-8', 'cache-control': 'no-cache'})

I have the problem on linux without GUI. Copied the profiles folder. But still can't connect. How to fix the problem?

Th3Kolbask1n commented 1 year ago

upd: added options.add_argument("--headless") to app.py