Can't update ddnet somehow
Can't update ddnet somehow
My ddnet version is 11.7.2, the newest version is 12.4.3. But the update button didn't show up. How can I update it except download a new one?
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Can't update ddnet somehow
That means your system somehow can't access https://info.ddnet.tw/info
What does the log (black console window) say about accessing that?
You could try disabling firewall.
Do you happen to use WinXP?
What does the log (black console window) say about accessing that?
You could try disabling firewall.
Do you happen to use WinXP?
Re: Can't update ddnet somehow
I can access info.ddnet.tw/info in my browser.deen wrote: ↑Mon Jun 10, 2019 10:15 am That means your system somehow can't access https://info.ddnet.tw/info
What does the log (black console window) say about accessing that?
You could try disabling firewall.
Do you happen to use WinXP?
I don't know how to see the log...
I had disabled the firewall.
My os is win7 64bit
Re: Can't update ddnet somehow
It is a bad idea, you have to download a new one whenever it updates.
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Can't update ddnet somehow
cl_show_console 1 and then it should show a black window when you start DDNet. There should be output about downloading the info file.
Another possibility is that the client doesn't have filesystem permissions in config_directory.bat/ddnet-info.json. You could try giving your user full read/write rights on that directory or running the client as admin (to test only, not as a permanent solution).
Could you upload the ddnet-info.json file from there?
Re: Can't update ddnet somehow
download failed
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Can't update ddnet somehow
That sounds suspiciously like the requests are being redirected through some firewall. Can you please provide the certificate information when you access https://info.ddnet.tw/info in your browser? The (i) next to the padlock should lead you there. It should look something like this:
The background here is that DDNet client is more strict than browsers about what certificates to accept. We hardcoded the client to only accept the specific CA we use (Let's Encrypt), exactly to prevent anyone else for acquiring a certificate for info.ddnet.tw/update.ddnet.tw and then distributing updates in our name.
As a next step you could try downloading https://info.ddnet.tw/info and overwriting the ddnet-info.json file with it, but then the update itself will probably fail the same way.
As a next step you could try downloading https://info.ddnet.tw/info and overwriting the ddnet-info.json file with it, but then the update itself will probably fail the same way.
Re: Can't update ddnet somehow
Is it? the cetificate.
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: Can't update ddnet somehow
That looks like the correct certificate indeed. Then maybe they only send another certificate if we connect with DDNet client instead of a browser. I guess we could attempt looking more like a browser or we could try printing more details about the failed certificate. @Learath2?
Who is online
Users browsing this forum: No registered users and 7 guests