-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash at startup, unable to log in #948
Comments
Hmm. Unfortunately, that's the least helpful version of the message that EDDI could write at this stage. It tells me that some exception is occurring during the login to the Companion API, but not really anything else, and as the message states it is normally something like a temporary connectivity issue with the Frontier server. I'm going to need you to try again, but this time before entering your verification code I'd like you to please turn debug mode on. |
By 'after it crashes', do you mean after entering the code, or after entering pw the second time, closing and trying to open next time? What i find strange is that, for example, EDMC didn't need to verify again. It still works the same like before the update... There seems to be something different in EDDI regarding the authentication... edit: It's insane. Already waiting for a full two hours for FD to send a key... Anyone got C-64 to spare? |
Some suggestions: leave a hint in EDDI setting verbose logging needs a restart of EDDI. Somebody really hates me. Always getting the 'something went really wrong' when trying to upload the file here. So, the probably most interesting line here in plain: 2018-11-19T22:21:25 [Debug] CompanionAppService:GetResponse Response is {"m_HttpResponseHeaders":["Pragma","Strict-Transport-Security","Vary","X-UA-Compatible","Connection","Content-Length","Cache-Control","Content-Type","Date","Expires","Set-Cookie","Server"],"m_Uri":"https://companion.orerve.net/user/confirm","m_Certificate":null,"m_Version":{"Major":1,"Minor":1,"Build":-1,"Revision":-1,"MajorRevision":-1,"MinorRevision":-1},"m_StatusCode":200,"m_ContentLength":1376,"m_Verb":"POST","m_StatusDescription":"OK","m_MediaType":null} edit: sent the full file via pm in ED forum. |
I'm going to go through the authentication procedure on my PC again so that I can compare results to your logs. |
1.: strange, i activated verbose before entering the code, checked the log directly after. no changes. |
Ok. The response to your companion code is a little different from what we expect to see... there should a The authentication process requires us to send a couple of cookies to Frontier with your code. These cookies are generated from the data the server sends in response to your username and password and the data needed to generate them is stored in %appdata%/EDDI/credentials.json. The login works for me and I'm not aware of anyone else reporting this issue. It could be an issue with your specific account and the tokens that Frontier is generating and sending. Have you tried
|
This was using a fresh credentials.json (deleted the file before). |
Can there be a thing with the generation of these cookies? As in they'd need to be overwritten but can't? Can i look these up? |
Possibly caching with a bad cookie? You can try clearing system cookies (via either Internet Explorer or your default browser, I'm not sure which), but I'm not confident that it'll have any effect. |
Will check those cookies when i'm home in the eve. On the other hand, i got a small convertible Laptop running win 10 also, will try to install EDDI standalone on there. I assume authentication should work even without Elite or VA installed? No other gaming rigs at hand... |
Sounds like a plan. FYI, there's a bit of an issue with fresh installs expecting a folder to already be present at %appdata%/EDDI prior to the first run. Create that folder before installing and you shouldn't run into any issues. |
And yes, authentication does not require Elite or VA to be installed. |
Aye, already saw the other issue. |
oh, oh... getting the exact same error on the laptop... that's not good at all... |
I'm sorry to hear that, and curious to hear what FDev support might have to say. They may be able to reset something on their end? |
Now in contact with FD support, had to clarify some things on behalf of 'As I am not sure what you mean by "there should be a Location key in the response and it's missing'. I don't want to be disrespectful by any means, but one question still stands: why is it (seemingly) just EDDI that needs to re-evaluate, not e.g. EDMC? Do they handle the machine-ID maybe different in like generate one, once, and perma-use that even if changes would occur? I will test activating EDMC, too, on the laptop when i'm home again. If that works flawlessly, wouldn't that mean it's something with EDDI in how it's processed? Maybe it's a local thing, like different return strings depending on country or somesuch? Looks a bit like options running out on my side... sigh. I'd so love to be able to get deeper into scripting... |
EDMC authenticated flawlessly on the laptop. So, maybe FD really have different formats of replys to the process, and a submitted 'OK' indeed is, well, ok? Either this, or the request for the code is different. |
This came just now in from FD: Thank you for getting back to us. So, they mention a 'new system', dunno what could've changed? edit: EDDI seems to request a new code everytime when the process isn't finished, and you open it up ending on the api tab while EDDI is asking for the code. any chance to stop that? |
FDev have been working on a new authentication system but the EDCD community has identified some issues and FDev is reworking their implementation. We haven't yet begun to transition over to their new system. We're still using the old system, essentially unchanged since before we took over management of the code. Frustratingly, documentation for that system is nill and since I can neither replicate what you are seeing nor reference any documentation I'm flying blind. EDDI is recognizing that the authentication process is incomplete and trying to complete the process. Using the |
Thanks Tkael, i'll just wait it out, then. If you need me to test something hit me up here or in the forum. |
Is there any news on this? Tried today with 3.3.0-b1, i don't even get to the 'enter vf code' window anymore. after entering mail+pw, clicking next, i directly get the message 'unable to log in', the eddi.log shows this: |
@punkerich everybody (not just EDDI) is down hard. FDEV included the new authenication process in 3.3, without any documentation on how to implement it. Even if we did, its broke and unusable. It's bad right now. |
Well, normal FD behavior, aye. XD edit: just seen the first similar posts, so it's not just me. what i can't wrap my head around is why i had these issues so early when others didn't... well, we'll see how it goes. |
If this issue is related to trying to obtain data about a star system that isn't known to our legacy server, it may have been fixed in the latest beta. |
@Tkael Sure you meant to post it here? Not sure what the authentication process should have to do with obtaining system data...? |
Not directly, but indirectly it might trigger something. Worth a try in any case. |
Haven't been able to API connect since early december (cant remember exactly when i noticed this problem). EDDI still seems to work quite well, but of course, some variables will not work. |
I'm assuming that this issue is resolved at this point. Please let me know if it's still an issue. |
EDDI version in which issue found
3.1.0
Steps to reproduce
After an Win 10 update today, EDDI crashed at startup.
Found credentials.json to be the culprit.
Deleted and started anew, requested varification code didn't seem to work.
It says 'unable to login' all the time. When reentering password and clicking next,
nothing at all happens.
After closing and reopening EDDI, it crashes again.
EDDI log:
eddi.log
I'm not exactly sure If EDDI automatically requests a new VC when entering of the first one fails.
It's a pain to test, bc sometimes it takes up to 1.5h until the code arrives.
The text was updated successfully, but these errors were encountered: