{"action":"created","issue":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2027","repository_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot","labels_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2027/labels{/name}","comments_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2027/comments","events_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2027/events","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/2027","id":168507870,"number":2027,"title":"login error","user":{"login":"elwinh","id":1178842,"avatar_url":"https://avatars.githubusercontent.com/u/1178842?v=3","gravatar_id":"","url":"https://api.github.com/users/elwinh","html_url":"https://github.com/elwinh","followers_url":"https://api.github.com/users/elwinh/followers","following_url":"https://api.github.com/users/elwinh/following{/other_user}","gists_url":"https://api.github.com/users/elwinh/gists{/gist_id}","starred_url":"https://api.github.com/users/elwinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elwinh/subscriptions","organizations_url":"https://api.github.com/users/elwinh/orgs","repos_url":"https://api.github.com/users/elwinh/repos","events_url":"https://api.github.com/users/elwinh/events{/privacy}","received_events_url":"https://api.github.com/users/elwinh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-31T08:25:32Z","updated_at":"2016-07-31T09:23:23Z","closed_at":null,"body":"### Expected Behavior\r\nLogin succeeded\r\n\r\nThe Username and password are correct. \r\nIt worked untill the Pokemon client (on my phone) updated today.\r\n\r\n### Actual Behavior\r\n[08:41:18] Attempting login to Pokemon Go.\r\n2016-07-31 08:41:18,301 [pgoapi.pgoapi] [DEBUG] Set Position - Lat: :hash: Long: :hash: Alt: 0\r\n2016-07-31 08:41:18,301 [pgoapi.pgoapi] [DEBUG] Auth provider: google\r\n2016-07-31 08:41:18,302 [pgoapi.auth] [ INFO] Google login for: :hash:\r\n2016-07-31 08:41:18,311 [requests.packages.urllib3.connectionpool] [ INFO] Starting new HTTPS connection (1): android.clients.google.com\r\n2016-07-31 08:41:18,790 [requests.packages.urllib3.connectionpool] [DEBUG] \"POST /auth HTTP/1.1\" 200 None\r\n2016-07-31 08:41:18,794 [requests.packages.urllib3.connectionpool] [ INFO] Starting new HTTPS connection (1): android.clients.google.com\r\n2016-07-31 08:41:18,932 [requests.packages.urllib3.connectionpool] [DEBUG] \"POST /auth HTTP/1.1\" 200 None\r\n2016-07-31 08:41:18,934 [pgoapi.auth] [ INFO] Google Login successful.\r\n2016-07-31 08:41:18,934 [pgoapi.auth] [DEBUG] Google Session Token: :hash:\r\n2016-07-31 08:41:18,934 [pgoapi.pgoapi] [ INFO] Starting RPC login sequence (app simulation)\r\n2016-07-31 08:41:18,934 [pgoapi.pgoapi] [ INFO] Create new request...\r\n2016-07-31 08:41:18,935 [pgoapi.pgoapi] [ INFO] Adding 'GET_PLAYER' to RPC request\r\n2016-07-31 08:41:18,935 [pgoapi.pgoapi] [ INFO] Adding 'GET_HATCHED_EGGS' to RPC request\r\n2016-07-31 08:41:18,935 [pgoapi.pgoapi] [ INFO] Adding 'GET_INVENTORY' to RPC request\r\n2016-07-31 08:41:18,935 [pgoapi.pgoapi] [ INFO] Adding 'CHECK_AWARDED_BADGES' to RPC request\r\n2016-07-31 08:41:18,935 [pgoapi.pgoapi] [ INFO] Adding 'DOWNLOAD_SETTINGS' to RPC request including arguments\r\n2016-07-31 08:41:18,935 [pgoapi.pgoapi] [DEBUG] Arguments of 'DOWNLOAD_SETTINGS':\r\n{'hash': ':hash:'}\r\n2016-07-31 08:41:18,936 [pgoapi.pgoapi] [ INFO] Execution of RPC\r\n2016-07-31 08:41:18,936 [pgoapi.rpc_api] [DEBUG] Generating main RPC request...\r\n2016-07-31 08:41:18,936 [pgoapi.rpc_api] [DEBUG] Generating sub RPC requests...\r\n2016-07-31 08:41:19,028 [pgoapi.rpc_api] [DEBUG] Subrequest class: POGOProtos.Networking.Requests.Messages_pb2.DownloadSettingsMessage\r\n2016-07-31 08:41:19,029 [pgoapi.rpc_api] [DEBUG] Generated protobuf request:\r\nstatus_code: 2\r\nrequest_id: :hash:\r\nrequests {\r\n  request_type: GET_PLAYER\r\n}\r\nrequests {\r\n  request_type: GET_HATCHED_EGGS\r\n}\r\nrequests {\r\n  request_type: GET_INVENTORY\r\n}\r\nrequests {\r\n  request_type: CHECK_AWARDED_BADGES\r\n}\r\nrequests {\r\n  request_type: DOWNLOAD_SETTINGS\r\n  request_message: \"\\n(:hash:\"\r\n}\r\nlatitude: :hash:\r\nlongitude: :hash:\r\nauth_info {\r\n  provider: \"google\"\r\n  token {\r\n    contents: \":hash:\"\r\n    unknown2: 59`\r\n  }\r\n}\r\nunknown12: 989\r\n\r\n2016-07-31 08:41:19,036 [pgoapi.rpc_api] [DEBUG] Execution of RPC`2016-07-31 08:41:19,037 [requests.packages.urllib3.connectionpool] [ INFO] Starting new HTTPS connection (1): pgorelease.nianticlabs.com\r\n2016-07-31 08:41:19,208 [requests.packages.urllib3.connectionpool] [DEBUG] \"POST /plfe/rpc HTTP/1.1\" 403 None\r\n2016-07-31 08:41:19,210 [pgoapi.rpc_api] [DEBUG] Parsing main RPC response...\r\n2016-07-31 08:41:19,210 [pgoapi.rpc_api] [WARNING] Unexpected HTTP server response - needs 200 got 403\r\n2016-07-31 08:41:19,210 [pgoapi.rpc_api] [DEBUG] HTTP output:\r\n```\r\n<html>\r\n<head><title>403 Forbidden</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>403 Forbidden</h1></center>\r\n<hr><center>nginx/1.11.1</center>\r\n</body>\r\n</html>\r\n```\r\n\r\n`2016-07-31 08:41:19,210 [pgoapi.pgoapi] [ INFO] Cleanup of request!`\r\n`2016-07-31 08:41:19,212 [pgoapi.pgoapi] [ INFO] Login failed!`\r\n`[08:41:19]  [X] Login Error, server busy`\r\n`[08:41:19]  [X] Waiting 10 seconds to try again\r\n\r\n### Steps to Reproduce\r\nRun myrun.sh\r\n\r\n### Other Information\r\nOS: Ubuntu Server 1604 LTS\r\nServer location: Microsoft Azure Datacenter in America\r\nGPS location: Somewhere in the Netherlands. \r\nGit Commit: d41f70ab8e8aa8e99686067c1270ad29bb66e8c4\r\nmyrun.sh:\r\n\r\n```\r\n# Change these settings:\r\nPKMNUSERNAME=\"\"\r\nPKMNPASSWORD=\"\"\r\nPKMNLOCATION=\"\"\r\nPKMNAPI=\"\"\r\nPKMNMAXSTEPS=\"15\"\r\nPKMNWALK=\"5.36\"\r\nEVOLVEALL=\"Weedle,Caterpie,Spearow,Zubat,Rattata,Paras\"\r\nEVOLVECPMIN=\"500\"\r\nRELEASEBELOWCP=\"400\"\r\nKEEP=\"100\"\r\nn=0\r\nSLEEPMIN=$(shuf -i 300-600 -n 1)\r\n\r\n# Do not change anything below:\r\nuntil [ $n -ge 10 ]\r\ndo\r\n   # Go to the Pokemon dir\r\n   cd ~/pokemon-dev/PokemonGo-Bot/\r\n\r\n   # Activate:\r\n   source bin/activate  \r\n\r\n   # Update to latest version:\r\n   git pull\r\n   sudo pip install -r requirements.txt\r\n\r\n   # Change the config file:\r\n   cp ~/pokemon-dev/PokemonGo-Bot/configs/config.json.example ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/YOUR_USERNAME/$PKMNUSERNAME/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/YOUR_PASSWORD/$PKMNPASSWORD/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/SOME_LOCATION/$PKMNLOCATION/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/GOOGLE_MAPS_API_KEY/$PKMNAPI/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"walk\\\": 4.16,/\\\"walk\\\": $PKMNWALK,/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"max_steps\\\": 5,/\\\"max_steps\\\": $PKMNMAXSTEPS,/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"evolve_all\\\": \\\"NONE\\\",/\\\"evolve_all\\\": \\\"$EVOLVEALL\\\",/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"evolve_cp_min\\\": 300,/\\\"evolve_cp_min\\\": $EVOLVECPMIN,/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"release_below_cp\\\": 0,/\\\"release_below_cp\\\": $RELEASEBELOWCP,/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"keep\\\" : 10 },/\\\"keep\\\" : $KEEP },/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"keep\\\" : 20 },/\\\"keep\\\" : $KEEP },/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"keep\\\" : 30 },/\\\"keep\\\" : $KEEP },/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n   sed -i \"s/\\\"keep\\\" : 100 },/\\\"keep\\\" : $KEEP },/\" ~/pokemon-dev/PokemonGo-Bot/configs/config.json\r\n\r\n   # Run the pokemon bot:\r\n   sh ~/pokemon-dev/PokemonGo-Bot/run.sh && break\r\n\r\n   # Sleep a few minutes and try again:\r\n   echo \"Critical error found!\"\r\n   echo \"I shall pull a new version from github and try again in a few minutes\"\r\n   sleep $SLEEPMIN\r\ndone\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/comments/236419994","html_url":"https://github.com/PokemonGoF/PokemonGo-Bot/issues/2027#issuecomment-236419994","issue_url":"https://api.github.com/repos/PokemonGoF/PokemonGo-Bot/issues/2027","id":236419994,"user":{"login":"sebastianberm","id":6470150,"avatar_url":"https://avatars.githubusercontent.com/u/6470150?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianberm","html_url":"https://github.com/sebastianberm","followers_url":"https://api.github.com/users/sebastianberm/followers","following_url":"https://api.github.com/users/sebastianberm/following{/other_user}","gists_url":"https://api.github.com/users/sebastianberm/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianberm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianberm/subscriptions","organizations_url":"https://api.github.com/users/sebastianberm/orgs","repos_url":"https://api.github.com/users/sebastianberm/repos","events_url":"https://api.github.com/users/sebastianberm/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianberm/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T09:23:23Z","updated_at":"2016-07-31T09:23:23Z","body":"@elwinh : This is probably not the case. I have ran 2 bots with docker from a server, which is hosted in NL, with NL coordinates. One phone client was updated by accident, which now causes 1 bot to not be able to login. This is with the latest dev as of 11:15 today.\r\n\r\nSo it only seems to work with the old client."}}
{"actor":{"display_login":"sebastianberm"}}