Can't update ddnet somehow

Problems that don't fit in other categories.
Dan_cao
User
Posts: 24
Joined: Wed Jan 31, 2018 7:53 am

Re: Can't update ddnet somehow

Post by Dan_cao » Tue Jun 11, 2019 10:04 am

deen wrote:
Tue Jun 11, 2019 9:35 am
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?
okay, thank :?

Learath2
Technical Team: Team Leader
Posts: 101
Joined: Fri Feb 27, 2015 4:43 pm

Re: Can't update ddnet somehow

Post by Learath2 » Tue Jun 11, 2019 11:14 am

We could print more about the cert as we have openssl already linked. But I reckon you are right about the firewall, maybe we can add a setting that sends a browser useragent.

Dan_cao
User
Posts: 24
Joined: Wed Jan 31, 2018 7:53 am

Re: Can't update ddnet somehow

Post by Dan_cao » Mon Jun 17, 2019 5:57 am

Can provide something so that people can update manually?

User avatar
deen
Retired Administrator
Posts: 3257
Joined: Mon May 05, 2014 2:30 pm
Player profile: deen

Re: Can't update ddnet somehow

Post by deen » Mon Jun 17, 2019 7:30 am

Did you try downloading the https://info.ddnet.tw/info file and replacing ddnet-info.json with it manually?

Dan_cao
User
Posts: 24
Joined: Wed Jan 31, 2018 7:53 am

Re: Can't update ddnet somehow

Post by Dan_cao » Mon Jun 17, 2019 7:52 am

I download it and replace the ddnet-info.json, then I see the update button. But when I click it.
1.png
Seem like the same problem.
I download the update.json and put it in ddnet\update and it doesn't work.
Here is https://update4.ddnet.tw/update.json certificate.
1.zip
(1.41 KiB) Downloaded 1 time
My ddnet version is 12.4.3, the newest is 12.5.

User avatar
deen
Retired Administrator
Posts: 3257
Joined: Mon May 05, 2014 2:30 pm
Player profile: deen

Re: Can't update ddnet somehow

Post by deen » Mon Jun 17, 2019 8:11 am

Ok, good to know.

The "manual way" to update is just downloading a new full release and replacing the old one with it.

I made a change implementing ddnet client to pretend to be chrome, maybe that works: https://github.com/ddnet/ddnet/pull/1789

In a few minutes there should be a Windows build that you can try to see if the info download now works.

Dan_cao
User
Posts: 24
Joined: Wed Jan 31, 2018 7:53 am

Re: Can't update ddnet somehow

Post by Dan_cao » Mon Jun 17, 2019 12:42 pm

I tried but still don't know how to compile it. :?

User avatar
deen
Retired Administrator
Posts: 3257
Joined: Mon May 05, 2014 2:30 pm
Player profile: deen

Re: Can't update ddnet somehow

Post by deen » Mon Jun 17, 2019 3:36 pm

Sorry, as Learath2 noted, this doesn't help anyway.

Dan_cao
User
Posts: 24
Joined: Wed Jan 31, 2018 7:53 am

Re: Can't update ddnet somehow

Post by Dan_cao » Mon Jun 17, 2019 3:56 pm

deen wrote:
Mon Jun 17, 2019 3:36 pm
Sorry, as Learath2 noted, this doesn't help anyway.
Sad news.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest