From e83efbe09ba1ddf7db24ce2cb867bb44551765a9 Mon Sep 17 00:00:00 2001 From: Athanasius Date: Fri, 12 Mar 2021 14:05:53 +0000 Subject: [PATCH] Troubleshooting: How to run additional instances & Steam auth --- Troubleshooting.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 1767f19..2dd1cc0 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -173,7 +173,9 @@ The authentication didn't complete correctly for some reason. This can be caused - Using Internet Explorer. IE is [known](https://blogs.msdn.microsoft.com/ieinternals/2011/07/13/understanding-protocols/) to be broken. Please (temporarily) set your default browser to Edge, Chrome or Firefox and retry. - The Frontier authentication website is confused - see [Error: An error occured](#error-an-error-occured). - Entering credentials for a different Cmdr - see [Error: Wrong Cmdr](#error-wrong-cmdr). -- Entering Steam credentials instead of Frontier credentials - see [Error: User not found](#error-user-not-found). +- Entering Steam credentials instead of Frontier credentials. If you want + to use Steam authentication then select that button on the Frontier + Authentication web page this application opens - see [Error: User not found](#error-user-not-found). @@ -224,8 +226,6 @@ Either: ## Error: User not found Your Steam account may not be linked to your Frontier account (you can check whether you have any external accounts linked on the [Frontier store](https://www.frontierstore.net/frontier_partnerkeys/)). -Please enter your Frontier credentials into the authentication website, not your Steam credentials. - @@ -554,21 +554,21 @@ Alternate URL: "[The latest supported Visual C++ downloads](https://support.micr ## I run two instances of E:D simultaneously, but I can't run two instances of EDMC -**NB: This documentation appears to be in error. The second instance -via `runas` will detect the already running EDMarketConnector.exe in the -'default' user (that you're logged in as) and thus not run. We'll -investigate changing the check to take different users into account.** +This application supports this scenario if you run the second instance of ED +in a *different* user account - e.g. using `runas` on Windows. Run the second +instance of this application in the same user account as the second +instance of ED: -In the meantime you could investigate [Running from Source](https://github.com/EDCD/EDMarketConnector/wiki/Running-from-source) -for additional copies, as that will not perform the EDMarketConnector.exe -process check. +`runas /user: "\"c:\Program Files (x86)\EDMarketConnector\EDMarketConnector.exe\" --force-localserver-for-auth"` - EDMC supports this scenario if you run the second instance of E:D in a - *different* user account - e.g. using `runas` on Windows. Run the second - instance of EDMC in the same user account as the second instance of E:D. +(Obviously adjust the path if you have the application installed elsewhere.) - EDMC doesn't support running two instances of E:D in the *same* user - account. EDMC will only respond to the instance of E:D that you ran last. +The `--force-localserver-for-auth` flag is necessary to ensure the callback +from Frontier Authentication reaches the correct instance of this application. + +This application doesn't support running two instances of ED in the *same* +user account. The application will only respond to the instance of ED that +you ran last, because its Journal file will then be the most recent.