Closed techno314 closed 1 year ago
Can confirm this is an issue, I only started noticing it after ED:O Update 16 and updating EDMC to 5.9.2 this week. I haven't played much over the last three months or so but don't recall it giving errors in January-March.
Relevant logs:
2023-08-04 12:56:19.989 UTC - ERROR - 2836:19672:19672 companion.capi_single_query:833: Frontier CAPI Auth: GET /shipyard
Traceback (most recent call last):
File "C:\Users\plsck\PythonProjects\EDMarketConnector\companion.py", line 817, in capi_single_query
r.raise_for_status() # Typically 403 "Forbidden" on token expiry
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\plsck\PythonProjects\EDMarketConnector\.env\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://companion.orerve.net/shipyard
2023-08-04 12:56:19.992 UTC - ERROR - 2836:19672:19672 companion.Session.dump:1123: Frontier CAPI Auth: https://companion.orerve.net/shipyard 500 Internal Server Error {"status":500,"message":"Internal Server Error","tag":"62qxcmd779gqw"}
2023-08-04 12:56:19.993 UTC - ERROR - 2836:19672:19672 companion.capi_single_query:846: Frontier CAPI: Misc. Error
Traceback (most recent call last):
File "C:\Users\plsck\PythonProjects\EDMarketConnector\companion.py", line 817, in capi_single_query
r.raise_for_status() # Typically 403 "Forbidden" on token expiry
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\plsck\PythonProjects\EDMarketConnector\.env\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://companion.orerve.net/shipyard
2023-08-04 12:56:24.612 UTC - INFO - 2836:18488:18488 plugins.inara.new_worker:1586: sending 7 events for PLSCKS
Deauthorizing through https://user.frontierstore.net/ and relaunching EDMC to force authorization gets the following in the logs:
2023-08-04 13:05:10.789 UTC - INFO - 19120:1896:1896 companion.Auth.authorize:488: Frontier CAPI Auth: New token for "PLSCKS"
2023-08-04 13:05:33.010 UTC - INFO - 19120:14636:14636 plugins.inara.new_worker:1586: sending 6 events for PLSCKS
2023-08-04 13:05:49.267 UTC - ERROR - 19120:17424:17424 companion.capi_single_query:833: Frontier CAPI Auth: GET /shipyard
Traceback (most recent call last):
File "C:\Users\plsck\PythonProjects\EDMarketConnector\companion.py", line 817, in capi_single_query
r.raise_for_status() # Typically 403 "Forbidden" on token expiry
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\plsck\PythonProjects\EDMarketConnector\.env\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://companion.orerve.net/shipyard
2023-08-04 13:05:49.270 UTC - ERROR - 19120:17424:17424 companion.Session.dump:1123: Frontier CAPI Auth: https://companion.orerve.net/shipyard 500 Internal Server Error {"status":500,"message":"Internal Server Error","tag":"3p46k0q26vpkl"}
2023-08-04 13:05:49.272 UTC - ERROR - 19120:17424:17424 companion.capi_single_query:846: Frontier CAPI: Misc. Error
Traceback (most recent call last):
File "C:\Users\plsck\PythonProjects\EDMarketConnector\companion.py", line 817, in capi_single_query
r.raise_for_status() # Typically 403 "Forbidden" on token expiry
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\plsck\PythonProjects\EDMarketConnector\.env\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://companion.orerve.net/shipyard
I see this happening outside the carriers too. While in cruise for example.
2023-08-05 14:08:32.245 UTC - INFO - 13332:9220:9220 EDMarketConnector.main:359: An EDMarketConnector.exe process was already running, exiting. 2023-08-05 14:08:32.328 UTC - INFO - 5588:6872:6872 journal_lock.JournalLock._obtain_lock:106: Exception: Couldn't lock journal directory "C:\Users\Conny\Saved Games\Frontier Developments\Elite Dangerous", assuming another process running: PermissionError(13, 'Permission denied') 2023-08-05 14:08:32.357 UTC - INFO - 2948:10836:10836 EDMarketConnector.main:359: An EDMarketConnector.exe process was already running, exiting. 2023-08-05 14:08:32.482 UTC - INFO - 5588:6872:6872 EDMarketConnector.main:359: An EDMarketConnector.exe process was already running, exiting. 2023-08-05 14:08:32.495 UTC - INFO - 21936:2572:2572 EDMarketConnector.main:359: An EDMarketConnector.exe process was already running, exiting. 2023-08-05 14:08:32.750 UTC - INFO - 8816:21092:21092 journal_lock.JournalLock._obtain_lock:106: Exception: Couldn't lock journal directory "C:\Users\Conny\Saved Games\Frontier Developments\Elite Dangerous", assuming another process running: PermissionError(13, 'Permission denied') 2023-08-05 14:08:32.783 UTC - INFO - 12852:23084:23084 journal_lock.JournalLock._obtain_lock:106: Exception: Couldn't lock journal directory "C:\Users\Conny\Saved Games\Frontier Developments\Elite Dangerous", assuming another process running: PermissionError(13, 'Permission denied') 2023-08-05 14:08:32.821 UTC - INFO - 25196:22028:22028 journal_lock.JournalLock._obtain_lock:106: Exception: Couldn't lock journal directory "C:\Users\Conny\Saved Games\Frontier Developments\Elite Dangerous", assuming another process running: PermissionError(13, 'Permission denied') 2023-08-05 14:08:32.917 UTC - INFO - 8816:21092:21092 EDMarketConnector.main:359: An EDMarketConnector.exe process was already running, exiting. 2023-08-05 14:08:33.041 UTC - INFO - 12852:23084:23084 EDMarketConnector.main:359: An EDMarketConnector.exe process was already running, exiting. 2023-08-05 14:08:33.097 UTC - INFO - 25196:22028:22028 EDMarketConnector.main:359: An EDMarketConnector.exe process was already running, exiting. 2023-08-05 14:08:33.156 UTC - INFO - 3856:21628:21628 journal_lock.JournalLock._obtain_lock:106: Exception: Couldn't lock journal directory "C:\Users\Conny\Saved Games\Frontier Developments\Elite Dangerous", assuming another process running: PermissionError(13, 'Permission denied') 2023-08-05 14:08:33.293 UTC - INFO - 3856:21628:21628 EDMarketConnector.main:359: An EDMarketConnector.exe process was already running, exiting.
I think the issue conny is having is a different error. Spinning that one off for a more immediate fix in #2057
Yea, could have been another issue yes. I solved it temporary by using a flag to use local database (or what it was called) and then it worked fine.
I can confirm this issue under Linux as well.
Could this be due to the fact that shipyard is not available for this carrier i am docking at? Just a though.
2023-08-08 11:18:55.672 UTC - ERROR - 388147:140486753433280:388151 companion.capi_single_query:838: Frontier CAPI Auth: GET /shipyard
Traceback (most recent call last):
File "/home/halvors/bin/EDMarketConnector_bin/companion.py", line 822, in capi_single_query
r.raise_for_status() # Typically 403 "Forbidden" on token expiry
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://companion.orerve.net/shipyard
2023-08-08 11:18:55.673 UTC - ERROR - 388147:140486753433280:388151 companion.Session.dump:1128: Frontier CAPI Auth: https://companion.orerve.net/shipyard 500 Internal Server Error {"status":500,"message":"Internal Server Error","tag":"b1vzmq8bxtxc0"}
2023-08-08 11:18:55.674 UTC - ERROR - 388147:140486753433280:388151 companion.capi_single_query:851: Frontier CAPI: Misc. Error
Traceback (most recent call last):
File "/home/halvors/bin/EDMarketConnector_bin/companion.py", line 822, in capi_single_query
r.raise_for_status() # Typically 403 "Forbidden" on token expiry
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://companion.orerve.net/shipyard
Yea, could have been another issue yes. I solved it temporary by using a flag to use local database (or what it was called) and then it worked fine.
What flag did you use to make this work?
I think this issue is because fleet carrier not always offer all services like shipyard etc, if one fails it should still update market etc. Just tested this on another (not my) fleet carrier with shipyard enabled, then there was no errors
"C:\Program Files (x86)\EDMarketConnector\EDMarketConnector.exe" --force-localserver-for-auth
I used that to start it and it worked fine.
Still see CAPI: misc.Error though (while on a carrier) but it works once I am ingame and fly about.
I think this issue is because fleet carrier not always offer all services like shipyard etc, if one fails it should still update market etc. Just tested this on another (not my) fleet carrier with shipyard enabled, then there was no errors
Testing this on my own carrier with shipyard (but no ships for sale) and outfitting I still get the CAPI 500 error I reported while docked. It does not seem to error in other systems.
I think the CAPI 500 on Shipyard is indicative of something FDEV changed in U16. No ETA on a fix yet but we'll keep looking into it.
It seems like this issue has been resolved (for me at least) I will keep this thread open just in case anyone else encounters this error again.
According to sources, the issue was resolved on FDEV side. Closing due to that.
Please complete the following information:
Describe the bug When you are currently docked at any Fleet Carrier, EDMC will fail update and will spit out the error "Frontier CAPI: Misc. Error"
To Reproduce Steps to reproduce the behavior:
Expected behavior It should properly update and say "Last updated at xx:xx:xx"
Screenshots
Additional context It does not seem to occur when docking at normal stations and only seems to happen when docked at Fleet Carriers
EDMarketConnector-debug.log