You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTPSConnectionPool(host='steamcommunity.com', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x00000279ECF87A40>: Failed to resolve 'steamcommunity.com' ([Errno 11002] getaddrinfo failed)"))
Actually, because of what it appeared I did not understand, before this I have never met this error, I rechecked the code several times (just in case), but it seems that the error implies that it is impossible to find the address for the provided URL, but if you look at the logs, you can see that the connection was still established and the cookie file was actually created. After authorization and cookie creation, the session stops working by calling Exception and terminates the rest of the function logic. The artificial call of the next function did not give any result.
Logs: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): steamcommunity.com:443 DEBUG:urllib3.connectionpool:https://steamcommunity.com:443 "POST / HTTP/11" 200 8584 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.steampowered.com:443 DEBUG:urllib3.connectionpool:https://api.steampowered.com:443 "GET /IAuthenticationService/GetPasswordRSAPublicKey/v1?account_name=***** HTTP/11" 200 597 DEBUG:urllib3.connectionpool:https://api.steampowered.com:443 "POST /IAuthenticationService/BeginAuthSessionViaCredentials/v1 HTTP/11" 200 694 DEBUG:urllib3.connectionpool:https://api.steampowered.com:443 "POST /IAuthenticationService/UpdateAuthSessionWithSteamGuardCode/v1 HTTP/11" 200 41 DEBUG:urllib3.connectionpool:https://api.steampowered.com:443 "POST /IAuthenticationService/PollAuthSessionStatus/v1 HTTP/11" 200 668 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login.steampowered.com:443 DEBUG:urllib3.connectionpool:https://login.steampowered.com:443 "POST /jwt/finalizelogin HTTP/11" 200 877 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): store.steampowered.com:443 DEBUG:urllib3.connectionpool:https://store.steampowered.com:443 "POST /login/settoken HTTP/11" 200 32 DEBUG:urllib3.connectionpool:https://steamcommunity.com:443 "POST /login/settoken HTTP/11" 200 32 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): help.steampowered.com:443 DEBUG:urllib3.connectionpool:https://help.steampowered.com:443 "POST /login/settoken HTTP/11" 200 12 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): checkout.steampowered.com:443 DEBUG:urllib3.connectionpool:https://checkout.steampowered.com:443 "POST /login/settoken HTTP/11" 200 32 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): steam.tv:443 DEBUG:urllib3.connectionpool:https://steam.tv:443 "POST /login/settoken HTTP/11" 200 32 INFO: Successful Authorization. Trying to get a balance... DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): steamcommunity.com:443 CRITICAL:root: The function sent an error! Function: login_create_cookie | Error: HTTPSConnectionPool(host='steamcommunity.com', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x00000279ECF87A40>: Failed to resolve 'steamcommunity.com' ([Errno 11002] getaddrinfo failed)"))
Interesting fact, after authorization and cookie creation in the function login_create_cookie I call in the same function function get_balance, which by idea should return me the balance, with which I will carry out further manipulations, but after the first connection to the api was called an error in the function login_create_cookie
asyncdeferror_wrapper(message: str) ->logging.log:
importtracebackstack=traceback.extract_stack()
source=stack[-2].nameiflen(stack) >=2else"Unknown function"logging.critical(f"The function sent an error! Function: {source} | Error: {message}")
Finally, when I get an informational message(INFO: Successful Authorization. Trying to get a balance...) from login_create_cookie that a successful authorization has occurred, when I create the first session or request(DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): steamcommunity.com:443) I get an error (CRITICAL:root: The function sent an error! Function: login_create_cookie | Error: HTTPSConnectionPool(host='steamcommunity.com', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x00000279ECF87A40>: Failed to resolve 'steamcommunity.com' ([Errno 11002] getaddrinfo failed)"))))
For the geniuses, I know that it means Max retries exceeded with url, however there was no error before, + I have implemented spam protection on the script side (no more than 1 request per 4 seconds).
The text was updated successfully, but these errors were encountered:
Exception:
HTTPSConnectionPool(host='steamcommunity.com', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x00000279ECF87A40>: Failed to resolve 'steamcommunity.com' ([Errno 11002] getaddrinfo failed)"))
Actually, because of what it appeared I did not understand, before this I have never met this error, I rechecked the code several times (just in case), but it seems that the error implies that it is impossible to find the address for the provided URL, but if you look at the logs, you can see that the connection was still established and the cookie file was actually created. After authorization and cookie creation, the session stops working by calling Exception and terminates the rest of the function logic. The artificial call of the next function did not give any result.
Logs:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): steamcommunity.com:443 DEBUG:urllib3.connectionpool:https://steamcommunity.com:443 "POST / HTTP/11" 200 8584 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.steampowered.com:443 DEBUG:urllib3.connectionpool:https://api.steampowered.com:443 "GET /IAuthenticationService/GetPasswordRSAPublicKey/v1?account_name=***** HTTP/11" 200 597 DEBUG:urllib3.connectionpool:https://api.steampowered.com:443 "POST /IAuthenticationService/BeginAuthSessionViaCredentials/v1 HTTP/11" 200 694 DEBUG:urllib3.connectionpool:https://api.steampowered.com:443 "POST /IAuthenticationService/UpdateAuthSessionWithSteamGuardCode/v1 HTTP/11" 200 41 DEBUG:urllib3.connectionpool:https://api.steampowered.com:443 "POST /IAuthenticationService/PollAuthSessionStatus/v1 HTTP/11" 200 668 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): login.steampowered.com:443 DEBUG:urllib3.connectionpool:https://login.steampowered.com:443 "POST /jwt/finalizelogin HTTP/11" 200 877 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): store.steampowered.com:443 DEBUG:urllib3.connectionpool:https://store.steampowered.com:443 "POST /login/settoken HTTP/11" 200 32 DEBUG:urllib3.connectionpool:https://steamcommunity.com:443 "POST /login/settoken HTTP/11" 200 32 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): help.steampowered.com:443 DEBUG:urllib3.connectionpool:https://help.steampowered.com:443 "POST /login/settoken HTTP/11" 200 12 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): checkout.steampowered.com:443 DEBUG:urllib3.connectionpool:https://checkout.steampowered.com:443 "POST /login/settoken HTTP/11" 200 32 DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): steam.tv:443 DEBUG:urllib3.connectionpool:https://steam.tv:443 "POST /login/settoken HTTP/11" 200 32 INFO: Successful Authorization. Trying to get a balance... DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): steamcommunity.com:443 CRITICAL:root: The function sent an error! Function: login_create_cookie | Error: HTTPSConnectionPool(host='steamcommunity.com', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x00000279ECF87A40>: Failed to resolve 'steamcommunity.com' ([Errno 11002] getaddrinfo failed)"))
Interesting fact, after authorization and cookie creation in the function login_create_cookie I call in the same function function get_balance, which by idea should return me the balance, with which I will carry out further manipulations, but after the first connection to the api was called an error in the function login_create_cookie
Full func:
Error_wrapper:
Finally, when I get an informational message
(INFO: Successful Authorization. Trying to get a balance...)
fromlogin_create_cookie
that a successful authorization has occurred, when I create the first session or request(DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): steamcommunity.com:443)
I get an error(CRITICAL:root: The function sent an error! Function: login_create_cookie | Error: HTTPSConnectionPool(host='steamcommunity.com', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x00000279ECF87A40>: Failed to resolve 'steamcommunity.com' ([Errno 11002] getaddrinfo failed)"))))
For the geniuses, I know that it means Max retries exceeded with url, however there was no error before, + I have implemented spam protection on the script side (no more than 1 request per 4 seconds).
The text was updated successfully, but these errors were encountered: