0xaaiden / Compound-Watcher

Compound Watcher is a bot that watches potential liquidations on Compound Finance and sends notifications through pushbullet
MIT License
78 stars 31 forks source link

Websocket error #3

Open stefanandy opened 4 years ago

stefanandy commented 4 years ago

Traceback (most recent call last): File "app.py", line 8, in from modules import * File "C:\Users\Lejer\PycharmProjects\Compound-Watcher\files\modules.py", line 18, in if w3.isConnected() == True: File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\site-packages\web3\main.py", line 260, in isConnected return self.provider.isConnected() File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\site-packages\web3\providers\base.py", line 103, in isConnected response = self.make_request(RPCEndpoint('web3_clientVersion'), []) File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\site-packages\web3\providers\websocket.py", line 139, in make_request return future.result() File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\concurrent\futures_base.py", line 435, in result return self.get_result() File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\concurrent\futures_base.py", line 384, in get_result raise self._exception File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\site-packages\web3\providers\websocket.py", line 119, in coro_make_request async with self.conn as conn: File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\site-packages\web3\providers\websocket.py", line 68, in aenter uri=self.endpoint_uri, loop=self.loop, **self.websocket_kwargs File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\site-packages\websockets\client.py", line 547, in __await_impl__ extra_headers=protocol.extra_headers, File "C:\Users\Lejer\AppData\Local\Programs\Python\Python37\lib\site-packages\websockets\client.py", line 296, in handshake raise InvalidStatusCode(status_code) websockets.exceptions.InvalidStatusCode: server rejected WebSocket connection: HTTP 401

TennisBowling commented 4 years ago

I have the same problem

TennisBowling commented 4 years ago

@azizjalel please advise