[Bug 43464] Elite Dangerous Horizons fails to connect to server with CRC error

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 2 17:37:48 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=43464

--- Comment #12 from Dmitry <dz64 at protonmail.com> ---
I've done some debugging with the game executable. Here is what I found:
1. The game uses static-linked OpenSSL library for communication.
2. At first the game communicates with some kind of "time api" with a request
like this:

GET /2.0/server/time HTTP/1.1 etc...

3. After time request, the game sends something to the "login api". The request
looks like this:

GET /2.0/elite/user/login?p6rEJhO8YqpD5q0JKLRBD(long base64 encoded url)...
HTTP/1.1
Host: api.orerve.net
Accept: */*
Retry: 1
User-Agent: EDGame/11.0/Win64
Encrypted: 1
Nonce: f64537d2a3a0edd2

That long encoded url is encoded somewhere in the game, and it looks like the
encoded data is malformed.
3. I've tried to run the game under debugger - looks like this is the original
string before it is encoded:

terrain=1&season=2&cqcarena=0&language=en&connCap=1&[some unprintable garbage
here]&machineId=ef4b8b36ef0c8c78&machineToken=5c6346f307aec7c4781ba9acb0c43d6fcf7dd33f85204a451df098344118c7eb407780336950d4602c8e9f055f924550&authToken=[my
auth token]...

The part where unprintable garbage consists of these bytes: 
9D 23 C9 0C 65 3D FF FF FF FF

I've had a debugging session where this string "fTime=[FF FF FF FF]" appeared
instead of that garbage. Perhaps this is some thread synchronization issue.

I've had some problems with my debugger - the game crashes under debugger.
Looks like some kind of memory corruption happened. I want to run the game
under valgrind but it seems like something is wrong with my setup - valgrind is
crashing every time I try to run it.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list