EscapeFromTarkov-Trainer icon indicating copy to clipboard operation
EscapeFromTarkov-Trainer copied to clipboard

Unable to compile trainer for version 0.14.1.29197.

Open Shalyapin2008 opened this issue 9 months ago • 14 comments

01.05.2024

Game version - 0.14.1.29197 SPT-AKI version - 3.8.0

Downloaded installer -> Located it in my SPT version folder -> Launched it (both with and without admin rights). Right after choosing the installation folder (path "C:/EFT_PVE/EFT") got red text: " Error: The SSL connection could not be established, see inner exception. Error: The SSL connection could not be established, see inner exception. Unable to compile trainer for version 0.14.1.29197. Please file an issue here : https://github.com/sailro/EscapeFromTarkov-Trainer/issues " I have a couple of mods installed, but considering that the error appeared even before the download stage, I don't believe that this matters.

Shalyapin2008 avatar May 01 '24 20:05 Shalyapin2008

I believe you have an issue with your firewall blocking the installer talking to GitHub to get the files for compilation. Try disabling it and running the installer again.

solareon avatar May 01 '24 20:05 solareon

I believe you have an issue with your firewall blocking the installer talking to GitHub to get the files for compilation. Try disabling it and running the installer again.

Disabling firewall didnt help.

Shalyapin2008 avatar May 01 '24 21:05 Shalyapin2008

Check this where it seems to be solved: https://github.com/sailro/EscapeFromTarkov-Trainer/issues/485

sailro avatar May 02 '24 05:05 sailro

Did not work for me. Perhaps you could upload a pre-compiled version.

Shalyapin2008 avatar May 02 '24 13:05 Shalyapin2008

You definitively have an issue on your side preventing SSL connections to work properly. Do you use a proxy or something like that? You should have a look at other issues related to SSL. Make sure you are using an up-to-date OS.

And we use the universal installer especially so we don't have to bother with precompiled versions, breaking for every update.

You can still try to compile bits on your own machine, after cloning the repo.

sailro avatar May 02 '24 14:05 sailro

Are you still hitting this issue?

If yes I think I can try something.

sailro avatar May 06 '24 15:05 sailro

@Shalyapin2008, could you try with this installer: https://github.com/sailro/EscapeFromTarkov-Trainer/actions/runs/8972308184/artifacts/1477128334

I disabled SSL validation in this one (but we'll be able to see what's wrong). Code Changes here: https://github.com/sailro/EscapeFromTarkov-Trainer/pull/499/files

sailro avatar May 06 '24 16:05 sailro

Got this message

Снимок экрана 2024-05-07 115706

Shalyapin2008 avatar May 07 '24 08:05 Shalyapin2008

Yes so here we are trying to connect to Github to retrieve the latest sources, and something is interfering, taking over the request and showing us a certificate from Google instead ?!

What is happening if you try to manually download this zip file? (this is what the installer is trying to do): https://github.com/sailro/EscapeFromTarkov-Trainer/archive/refs/heads/master.zip

Are you using an http proxy? a VPN ? Any google device like a router/wifi blocking us ? Your ISP ?

sailro avatar May 07 '24 09:05 sailro

Funny enough, I cannot download it with the link provided as well. Google error "NET::ERR_CERT_COMMON_NAME_INVALID", has something to do with an insecure connection and suspicious link. Same thing when I try to download ANY GitHub .zip archive. Maybe it is my ISP blacklisting GitHub or something of sorts. I will try to look into it. Any advice will be appreciated).

Shalyapin2008 avatar May 07 '24 10:05 Shalyapin2008

@sailro what user agent string does the installer present when downloading from GitHub? That user agent might be tripping some security block in their router to prevent malicious code from being downloaded.

solareon avatar May 07 '24 10:05 solareon

@sailro what user agent string does the installer present when downloading from GitHub? That user agent might be tripping some security block in their router to prevent malicious code from being downloaded.

The default hander for HttpClient in C# is not setting any header I think (so no default user-agent). But indeed we can mimic an existing user-agent if we want.

But it seems we repro the issue with a real web browser, so that's something between the 'client' and github.

sailro avatar May 07 '24 12:05 sailro

And what about connecting your pc to your phone portable WiFi hotspot (with the phone really using mobile network) ? Just to check if it's ISP based (then it should work) or if it's something on your PC or personal network ? (it should fail).

sailro avatar May 07 '24 12:05 sailro

Получил это сообщение

Снимок экрана 2024-05-07 115706

The same error occurs. Did you manage to find a solution?

DiDrobyshev avatar May 11 '24 14:05 DiDrobyshev

Получил это сообщение Снимок экрана 2024-05-07 115706

The same error occurs. Did you manage to find a solution?

Получил это сообщение Снимок экрана 2024-05-07 115706

The same error occurs. Did you manage to find a solution?

The "solution" is on your side. You have something to fix.

Same as the other user, you can use the test installer to see what's wrong: https://github.com/sailro/EscapeFromTarkov-Trainer/actions/runs/8972308184/artifacts/1477128334

sailro avatar May 14 '24 15:05 sailro

I added the SSL diagnostics in the latest installer to help users solving their own issues.

sailro avatar May 17 '24 16:05 sailro