Release Elite Dangerous Market Connector (EDMC)

No idea what a .bat file is and nothing to say what it is on that web page. How do you use it?
No problem, here are the steps:
  1. Close all open EDMC tabs (until it stays closed)
  2. In file explorer, go to your EDSM Directory (by default, C:\Program Files (x86)\EDMarketConnector)
  3. Find the file labeled EDMarketConnector - localserver-auth.bat
  4. Right click on that file and select "Open" or "Run" (depending on your windows version)
  5. A command prompt should open, and EDMC should attempt to authenticate you. As soon as that's done, you can close the command prompt.
Hopefully, that'll get EDMC working for you. I haven't been able to determine why this issue is happening to folks sporadically (we haven't even touched this code yet!) but it's on our list of things to triage.

Let me know if that helps!
 
No problem, here are the steps:
  1. Close all open EDMC tabs (until it stays closed)
  2. In file explorer, go to your EDSM Directory (by default, C:\Program Files (x86)\EDMarketConnector)
  3. Find the file labeled EDMarketConnector - localserver-auth.bat
  4. Right click on that file and select "Open" or "Run" (depending on your windows version)
  5. A command prompt should open, and EDMC should attempt to authenticate you. As soon as that's done, you can close the command prompt.
Hopefully, that'll get EDMC working for you. I haven't been able to determine why this issue is happening to folks sporadically (we haven't even touched this code yet!) but it's on our list of things to triage.

Let me know if that helps!
Hmm, I clicked "Open" and nothing happened. So I clicked "Run as administrator" and a dialogue box titled Windows Command Processor (with an icon of the black, C:\ drive type DOS prompt) pops up saying Do you want this app to make changes to your device? Again, clicking yes on this, there is a microsecond-long flashing up of something that might be a command prompt window but it is far too fast to see properly let alone try to snip/screen-capture.

Nothing then happens.

I had already cleared all caches and rebooted before trying this.

So, I opened the Command prompt (I'm on Windows 10) and went to the directory and just ran it from there, in the command window. It opened EDMC, opened the Frontier authorisation page, and then goes into the same loop as before. "Logging in" on the EDMC pane, and a flashing blue circle alternating with my mouse cursor wherever I move it on my screen.

If I click update, on the EDMC pane, it opens another Frontier auth screen, and logging in there a dialogue pops up asking me whether to open EDMC, a constant loop.
 
Last edited:
Hmm, I clicked "Open" and nothing happened. So I clicked "Run as administrator" and a dialogue box titled Windows Command Processor (with an icon of the black, C:\ drive type DOS prompt) pops up saying Do you want this app to make changes to your device? Again, clicking yes on this, there is a microsecond-long flashing up of something that might be a command prompt window but it is far too fast to see properly let alone try to snip/screen-capture.

Nothing then happens.

I had already cleared all caches and rebooted before trying this.

So, I opened the Command prompt (I'm on Windows 10) and went to the directory and just ran it from there, in the command window. It opened EDMC, opened the Frontier authorisation page, and then goes into the same loop as before. "Logging in" on the EDMC pane, and a flashing blue circle alternating with my mouse cursor wherever I move it on my screen.

If I click update, on the EDMC pane, it opens another Frontier auth screen, and logging in there a dialogue pops up asking me whether to open EDMC, a constant loop.
Interesting. I assume you've tried the various potential things on the Issues Page? I'll keep looking into this and see what I can find.

If you want to make a Bug Report, and attach some of the log files there, I might be able to take a look in further detail.
 
Interesting. I assume you've tried the various potential things on the Issues Page? I'll keep looking into this and see what I can find.

If you want to make a Bug Report, and attach some of the log files there, I might be able to take a look in further detail.
That debug log file production looks much too complicated for me to understand, even to produce a plain log file. I will have to wait for a new version and see if it works, I don't have the programming skills to create a load of command lines to make files.
 
Just to add to the woes ... when I click update all I get is this:
1691324724903.png

nothing else happens, no webpage to login somewhere .... nothing.
 
No idea what a .bat file is and nothing to say what it is on that web page. How do you use it?
A .bat file (short for "batch") is a file that contains anywhere from one to multiple commands that a computer can execute. Rather than run each command one by one, a bat file can be called to execute all the commands within it one after the other.

They're a bit of a hangover from the old DOS days.

You can run a batch file jus by typing its name into a CMD window - usually when opened with admin rights.

  1. WIN <R>
  2. CMD
  3. Enter

This will bring up a DOS window.

  1. Use the CD:\mydirectory\mysubdirectory to navigate to where the bat file is located
  2. MYBATFLE.bat
Sit back and enjoy all the goodness contained in the file.

You can also type in: type MYBATFILE.bat - ths will show all the steps/commands within the file so you can check to see what each one does.
 
Same here, over and over again, it goes into an authorisation loop. The EDMC panel shows "Logging in..." below the Update button. It has opened the Frontier Authentication login tab in my browser, I log in there, get this over and over again an the mouse cursor keeps flashing into a spinning blue circle.

View attachment 363443
I've had the same issues, constant mouse blue circle after trying to login, shut down the app and it re-launches itself, minimise the app and it comes back up on it's own, shutting it down a second time without login in and it stays closed.
I've reverted to 5.9.0 for stability.
 
So I wanted to write a quick little note on the authentication issues and my attempts to diagnose them. I'll admit for the life of me, I am confused.

Looking at the changed files between 5.9.0 and 5.9.3, which you can view HERE: https://github.com/EDCD/EDMarketConnector/compare/Release/5.9.0...Release/5.9.3, I do not see any changes that we've made that should have any impact on the authentication system.

27 files have been changed in the space between 0 and 3. If we assume that the issue started between 0 and 1, that brings us down to 24 files. 18 of those files are either documentation/internal updates, non-program updates, or other minor changes such as version strings.

Build-exe-and-msi.py, build.py, and installer.py, and the removed .wix files all deal with how the program is built - and not how the program actually authenticates with FDEV. The one known issue with that installer (a missing key error on brand-new installs) has been resolved, but that doesn't account for the issues.

That accounts for all of the changed files between .0 and .1, which is strange. What I do need to account for is that Update 16 came out during this window. As such, I'm currently investigating if there have been changes to FDEV's authentication system which might be responsible for the issues. I'm also trying to find a way to consistently reproduce the error and document it. That will give me a lot better idea as to what is going on and where the issue might be.


I do apologize that so many people are having issues with the updates. This was not our intention and we are doing our best to find and solve the issues as quickly as possible.

E: A potential issue in the auth flow has been identified on how we handle things and we are working on a fix.
 
Last edited:
So I wanted to write a quick little note on the authentication issues and my attempts to diagnose them. I'll admit for the life of me, I am confused.

Looking at the changed files between 5.9.0 and 5.9.3, which you can view HERE: https://github.com/EDCD/EDMarketConnector/compare/Release/5.9.0...Release/5.9.3, I do not see any changes that we've made that should have any impact on the authentication system.

27 files have been changed in the space between 0 and 3. If we assume that the issue started between 0 and 1, that brings us down to 24 files. 18 of those files are either documentation/internal updates, non-program updates, or other minor changes such as version strings.

Build-exe-and-msi.py, build.py, and installer.py, and the removed .wix files all deal with how the program is built - and not how the program actually authenticates with FDEV. The one known issue with that installer (a missing key error on brand-new installs) has been resolved, but that doesn't account for the issues.

That accounts for all of the changed files between .0 and .1, which is strange. What I do need to account for is that Update 16 came out during this window. As such, I'm currently investigating if there have been changes to FDEV's authentication system which might be responsible for the issues. I'm also trying to find a way to consistently reproduce the error and document it. That will give me a lot better idea as to what is going on and where the issue might be.


I do apologize that so many people are having issues with the updates. This was not our intention and we are doing our best to find and solve the issues as quickly as possible.

E: A potential issue in the auth flow has been identified on how we handle things and we are working on a fix.
Great News, can't wait to see the results. Thank you for taking this on board.
 
No problem, here are the steps:
  1. Close all open EDMC tabs (until it stays closed)
  2. In file explorer, go to your EDSM Directory (by default, C:\Program Files (x86)\EDMarketConnector)
  3. Find the file labeled EDMarketConnector - localserver-auth.bat
  4. Right click on that file and select "Open" or "Run" (depending on your windows version)
  5. A command prompt should open, and EDMC should attempt to authenticate you. As soon as that's done, you can close the command prompt.
Hopefully, that'll get EDMC working for you. I haven't been able to determine why this issue is happening to folks sporadically (we haven't even touched this code yet!) but it's on our list of things to triage.

Let me know if that helps!
Had same problem, seems to be working now, thank you.
 
No problem, here are the steps:
  1. Close all open EDMC tabs (until it stays closed)
  2. In file explorer, go to your EDSM Directory (by default, C:\Program Files (x86)\EDMarketConnector)
  3. Find the file labeled EDMarketConnector - localserver-auth.bat
  4. Right click on that file and select "Open" or "Run" (depending on your windows version)
  5. A command prompt should open, and EDMC should attempt to authenticate you. As soon as that's done, you can close the command prompt.
Hopefully, that'll get EDMC working for you. I haven't been able to determine why this issue is happening to folks sporadically (we haven't even touched this code yet!) but it's on our list of things to triage.

Let me know if that helps!
That worked, Thanks Rixxan
 
Getting a wierd issue all of a sudden...

Reporting 'need to install the EDMCOVERLAY plugin'

Tried to download and install the one from github and it reports 'a newer version is installed'

1691495814191.png


EDIT Never mind , just realised it's probably a message from one of the plugins.
 
Last edited:
Same problem with endless logging in (v 5.9.3).
For me, until today everything was just fine (maybe Frontier authentication expired just today, couldn't tell you).

That .bat solution worked. Thank you for all the good work, this app is gold. (y)

Edit:
Since I'm already here, one question.
I have installed ATEL plugin. However, when I go to Settings > Plugins it is not listed there (under enabled nor disabled plugins).
Is that normal? Is it working?
 
Last edited:
Getting a wierd issue all of a sudden...

Reporting 'need to install the EDMCOVERLAY plugin'

Tried to download and install the one from github and it reports 'a newer version is installed'

View attachment 363720

EDIT Never mind , just realised it's probably a message from one of the plugins.
Most likely a plugin developer question. I'll look into it though when I have time to make sure.
Same problem with endless logging in (v 5.9.3).
For me, until today everything was just fine (maybe Frontier authentication expired just today, couldn't tell you).

That .bat solution worked. Thank you for all the good work, this app is gold. (y)

Edit:
Since I'm already here, one question.
I have installed ATEL plugin. However, when I go to Settings > Plugins it is not listed there (under enabled nor disabled plugins).
Is that normal? Is it working?
Glad it worked for you. Unfortunately, this is likely something you'll need to bring up with the plugin developer. I'll look into it when I have some time though to see if I can provide some possible hints.
 

Release 5.9.4

Pre-emptive upload to VirusTotal.

This release fixes a widely-reported bug that resulted in the cAPI Authentication flow being disrupted for a subset of users. Thank you to all the CMDRs who reported this to us and provided logs to us so that we could get the issue isolated.

What's Changed​

  • Fixes a missing registry issue that could cause the EDMC:// protocol to fail. (#2061, #2059, #2058, #2057)
  • Renames the default start menu shortcut to be more clear. (#2062)

Known Issues​

  • The popup on the EDMC Authentication Box is not translated yet. Ich spreche kein Deutsch.
  • The cAPI is giving an Error: 500 on the /shipyard endpoint on carriers. We think this is an FDEV issue.
 

Release 5.9.4

Pre-emptive upload to VirusTotal.

This release fixes a widely-reported bug that resulted in the cAPI Authentication flow being disrupted for a subset of users. Thank you to all the CMDRs who reported this to us and provided logs to us so that we could get the issue isolated.

What's Changed​

  • Fixes a missing registry issue that could cause the EDMC:// protocol to fail. (#2061, #2059, #2058, #2057)
  • Renames the default start menu shortcut to be more clear. (#2062)

Known Issues​

  • The popup on the EDMC Authentication Box is not translated yet. Ich spreche kein Deutsch.
  • The cAPI is giving an Error: 500 on the /shipyard endpoint on carriers. We think this is an FDEV issue.
BRILLIANT! It works, and with a very reassuring new confirmation dialogue box that tells me I can close the Frontier authorisation window.

Thank you! I must get you a Kofi or similar.
 
Most likely a plugin developer question. I'll look into it though when I have time to make sure.

Glad it worked for you. Unfortunately, this is likely something you'll need to bring up with the plugin developer. I'll look into it when I have some time though to see if I can provide some possible hints.
You were right once again - it's plugin issue. Sorry to botherd you.

When I dug through old readme files on github, I run in to this: "Please note: With EDDN and EDSM now carrying Codexs data, IGAU will disable this plugin December 31st, 2022".

This little fact wasn't clearly communicated, IMHO, it is still presented on most (all?) sites (that I looked) as an active plugin.
Mystery solved. 😎
 
Back
Top Bottom