EDCD / EDMarketConnector

Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
GNU General Public License v2.0
991 stars 155 forks source link

unable to get token #800

Closed khasrahh closed 3 years ago

khasrahh commented 3 years ago

Please check the Known Issues in case this has already been reported.

Please also check if the issue is covered in our Troubleshooting Guide. It might be something with a known work around, or where a third party (such as EDSM) is causing logging that is harmless.

Please complete the following information:

Describe the bug The EDMC client fails to login to the Frontier Developments API

To Reproduce Steps to reproduce the behavior:

  1. Start EDMC client
  2. Wait for the browser to show the API login page
  3. login with credentials
  4. EDMC client shows error "unable to get token"

Expected behavior Successful login to the Frontier Developments API

Screenshots

Additional context Removing everything from the API login URL after https://auth.frontierstore.net renders in a successful login. Removing the EDMC client from authorized apps leads to the authorization site after successful login.

EDMarketConnector-debug.log EDMarketConnector.log

Athanasius commented 3 years ago

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='auth.frontierstore.net', port=443): Max retries exceeded with url: /token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x06B5E130>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions'))

You appear to have a firewall or the like denying the connection that would actually retrieve the token.

khasrahh commented 3 years ago

Darn, you are right. For some reason my anti-virus program found the EDMC client with a different name and thus blocked it. :(

Thanks for the quick reply.