rfvgyhn / min-ed-launcher

Minimal Elite Dangerous Launcher
MIT License
251 stars 9 forks source link

Couldn't login: Couldn't parse json - ExpectedStartOfValueNotFound #101

Closed datfatsquirrel closed 1 year ago

datfatsquirrel commented 1 year ago

I own the Steam version of Elite (bought originally from Steam, not transferred from Frontier), and have followed the instructions to set-up the launcher for Steam.. however whenever I launch, I get the error above

023-06-03 12:40:31.576 +01:00 [INF] Elite Dangerous: Minimal Launcher - v0.8.2+4646842b
2023-06-03 12:40:31.633 +01:00 [DBG] 
    Args: [|"C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\EDLaunch.exe";
  "/Steam"; "/novr"; "/autorun"; "/autoquit"; "/edh4"|]
    OS: Win64
    Env: 

2023-06-03 12:40:31.636 +01:00 [DBG] Reading settings from 'C:\Users\...\AppData\Local\min-ed-launcher\settings.json'
2023-06-03 12:40:31.755 +01:00 [DBG] Settings: { Platform = Steam
  DisplayMode = Pancake
  AutoRun = true
  AutoQuit = true
  WatchForCrashes = false
  ProductWhitelist = seq ["edh4"]
  ForceLocal = true
  CompatTool = None
  CbLauncherDir =
   "C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous"
  PreferredLanguage = None
  ApiUri = https://api.zaonce.net/
  Restart = None
  AutoUpdate = true
  CheckForLauncherUpdates = true
  MaxConcurrentDownloads = 4
  ForceUpdate = set []
  Processes = []
  ShutdownProcesses = []
  FilterOverrides =
   seq [[FORC-FDEV-DO-1000, edo]; [FORC-FDEV-DO-38-IN-40, edh4]]
  AdditionalProducts = []
  DryRun = false }
2023-06-03 12:40:31.762 +01:00 [INF] Elite Runtime
    Platform: Steam
    CobraBay Version: 0.4.6779.0
    Products Dir: C:\Program Files (x86)\Steam\steamapps\common\Elite Dangerous\Products
2023-06-03 12:40:31.770 +01:00 [DBG] Getting machine id
2023-06-03 12:40:31.779 +01:00 [INF] Logging in
2023-06-03 12:40:31.780 +01:00 [DBG] Getting remote time
2023-06-03 12:40:32.097 +01:00 [DBG] Got steam client
2023-06-03 12:40:32.097 +01:00 [DBG] Got steam pipe
2023-06-03 12:40:32.097 +01:00 [DBG] Got steam global user
2023-06-03 12:40:32.098 +01:00 [DBG] Got steam user
2023-06-03 12:40:32.098 +01:00 [DBG] Requesting steam auth ticket
2023-06-03 12:40:32.099 +01:00 [DBG] Got steam auth ticket
2023-06-03 12:40:32.101 +01:00 [DBG] Authenticating via Steam
2023-06-03 12:40:34.527 +01:00 [DBG] Disposing Steam resources
2023-06-03 12:40:34.527 +01:00 [DBG] Cancelling auth ticket
2023-06-03 12:40:34.527 +01:00 [DBG] closing steam
2023-06-03 12:40:34.535 +01:00 [ERR] Couldn't login: Couldn't parse json - ExpectedStartOfValueNotFound, < LineNumber: 0 | BytePositionInLine: 0.
<!DOCTYPE html>
<html class="gte-tablet gte-desktop desktop">
<head>
    <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="be373ae3-9051-4a54-8f19-cc4c8cf8f9c7" data-

... Followed by a whole bunch of HTML code Any ideas on how I can fix this?

pan-mroku commented 1 year ago

I don't know if that'll help but the last time I had such error I disabled min-ed and re-linked account with frontier launcher

rfvgyhn commented 1 year ago

The FDev API returns HTML instead of JSON when it can't validate your credentials (in your case, your steam auth ticket). This can happen when there's an issue on their end or when Steam has auth issues. It tends to fix itself after waiting for a bit though.

Are you still having this issue? Any issues with the default launcher? You could try re-linking your steam and fdev accounts if so. I'm not certain it will fix it though.