Skip to content
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

Unable to compile trainer for version 0.14.1.29197. #492

Closed
Shalyapin2008 opened this issue May 1, 2024 · 16 comments
Closed

Unable to compile trainer for version 0.14.1.29197. #492

Shalyapin2008 opened this issue May 1, 2024 · 16 comments
Labels
question Further information is requested

Comments

@Shalyapin2008
Copy link

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.

@solareon
Copy link
Collaborator

solareon commented May 1, 2024

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.

@Shalyapin2008
Copy link
Author

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.

@sailro
Copy link
Owner

sailro commented May 2, 2024

Check this where it seems to be solved: #485

@Shalyapin2008
Copy link
Author

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

@sailro sailro added the question Further information is requested label May 2, 2024
@sailro
Copy link
Owner

sailro commented May 2, 2024

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.

Repository owner deleted a comment from MRReaper43 May 4, 2024
Repository owner deleted a comment from solareon May 4, 2024
@sailro
Copy link
Owner

sailro commented May 6, 2024

Are you still hitting this issue?

If yes I think I can try something.

@sailro
Copy link
Owner

sailro commented May 6, 2024

@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

@Shalyapin2008
Copy link
Author

Got this message

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

@sailro
Copy link
Owner

sailro commented May 7, 2024

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 ?

@Shalyapin2008
Copy link
Author

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).

@solareon
Copy link
Collaborator

solareon commented May 7, 2024

@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.

@sailro
Copy link
Owner

sailro commented May 7, 2024

@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
Copy link
Owner

sailro commented May 7, 2024

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).

@DiDrobyshev
Copy link

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

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

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

@sailro
Copy link
Owner

sailro commented May 14, 2024

Получил это сообщение
Снимок экрана 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
Copy link
Owner

sailro commented May 17, 2024

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

@sailro sailro closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants