liqtags / DexScreenerClient

Dex goes Brrrrrrr
42 stars 16 forks source link

weksocket doesn’t work now! #11

Open bassra opened 1 week ago

bassra commented 1 week ago

Hey,

Dexscreener has updated its frontend and websocket doesn’t work now.

websocket._exceptions.WebSocketBadStatusException: Handshake status 403 Forbidden -+-+- {'date': 'Mon, 23 Sep 2024 13:48:02 GMT', 'content-type': 'text/html; charset=UTF-8', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'x-frame-options': 'SAMEORIGIN', 'referrer-policy': 'same-origin', 'cache-control': 'max-age=15', 'expires': 'Mon, 23 Sep 2024 13:48:17 GMT', 'set-cookie': '__cf_bm=BQbKPrTU4pUzuHVVHQghxk_JJ2LhPPRcUtgxx6Pvn3I-1727099282-1.0.1.1-Clb8QoV0bnby6v.MDOWssQZH2TWsyg8BT8jqKobcRnMgtdgegb6ceinhqfBKnbXCeUqlD9kMI0tVt17Dt..HUVV9Batw8T.NnZibKyrUhx0; path=/; expires=Mon, 23-Sep-24 14:18:02 GMT; domain=.dexscreener.com; HttpOnly; Secure; SameSite=None', 'server': 'cloudflare', 'cf-ray': '8c7afd70797e0fd6-MRS'} -+-+- None

liqtags commented 1 week ago

Will check it.

liqtags commented 3 days ago

Had no time for this. been working on other project. will try visit it next week.

bechirbelhaj96 commented 2 days ago

Hello I have the same issue with the connection to dexscreener websocket.

raise WebSocketBadStatusException( websocket._exceptions.WebSocketBadStatusException: Handshake status 403 Forbidden {'date': 'Thu, 03 Oct 2024 08:27:41 GMT', 'content-type': 'text/html; charset=UTF-8', 'transfer-encoding': 'chunked', 'connection': 'keep-alive', 'x-frame-options': 'SAMEORIGIN', 'referrer-policy': 'same-origin', 'cache-control': 'max-age=15', 'expires': 'Thu, 03 Oct 2024 08:27:56 GMT', 'set-cookie': '__cf_bm=IRC3ynXE33aibAMfs4723k0fLGEFppjaKbkobu9hRI-1727944061-1.0.1... ...domain=.dexscreener.com; HttpOnly; Secure; SameSite=None', 'server': 'cloudflare', 'cf-ray': '8ccb8ded3cbe5bdc-LIS'}

liqtags commented 1 day ago

Hey Guys, Are you running this on server or local? I tried on local just now and it's working fine.