shamhi / MemeFiBot

Bot that mines coins in MemeFiCoin
204 stars 62 forks source link

Unknown error on getting access token #112

Open garootman opened 2 months ago

garootman commented 2 months ago

2024-07-05 17:54:54 | ERROR | 159 - ** | Unknown error while getting TapBot Data: 403, message='Forbidden', url=URL('https://api-gw-tg.memefi.club/graphql')

Though, accompanied by somehow successfull taps

response = await http_client.post(url=self.GRAPHQL_URL, json=tg_web_data)
response.raise_for_status()

raises: ClientResponseError(RequestInfo(url=URL('https://api-gw-tg.memefi.club/graphql'), method='POST', headers=<CIMultiDictProxy('Host': 'api-gw-tg.memefi.club', 'Accept': 'application/json', 'Accept-Language': 'ru-RU,ru;q=0.9', 'Content-Type': 'application/json', 'Origin': 'https://tg-app.memefi.club', 'Referer': 'https://tg-app.memefi.club/', 'Sec-Ch-Ua': '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"', 'Sec-Ch-Ua-mobile': '?1', 'Sec-Ch-Ua-platform': '"Android"', 'Sec-Fetch-Dest': 'empty', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Site': 'same-site', 'User-Agent': 'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Mobile Safari/537.36', 'Accept-Encoding': 'gzip, deflate', 'Content-Length': '798')>, real_url=URL('https://api-gw-tg.memefi.club/graphql')), (), status=403, message='Forbidden', headers=<CIMultiDictProxy('Date': 'Fri, 05 Jul 2024 14:00:09 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': 'Fri, 05 Jul 2024 14:00:24 GMT', 'Vary': 'Accept-Encoding', 'Server': 'cloudflare', 'CF-RAY': '89e7e1346887959d-TBS', 'Content-Encoding': 'gzip', 'alt-svc': 'h3=":443"; ma=86400')>)

image

mrdarkerr commented 1 month ago

SLEEP_BETWEEN_TAP = [38, 40]