Page 2 of 2

Re: Can't update ddnet somehow

Posted: Tue Jun 11, 2019 10:04 am
by Dan_cao
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 :?

Re: Can't update ddnet somehow

Posted: Tue Jun 11, 2019 11:14 am
by Learath2
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.

Re: Can't update ddnet somehow

Posted: Mon Jun 17, 2019 5:57 am
by Dan_cao
Can provide something so that people can update manually?

Re: Can't update ddnet somehow

Posted: Mon Jun 17, 2019 7:30 am
by deen
Did you try downloading the https://info.ddnet.tw/info file and replacing ddnet-info.json with it manually?

Re: Can't update ddnet somehow

Posted: Mon Jun 17, 2019 7:52 am
by Dan_cao
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 6 times
My ddnet version is 12.4.3, the newest is 12.5.

Re: Can't update ddnet somehow

Posted: Mon Jun 17, 2019 8:11 am
by deen
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.

Re: Can't update ddnet somehow

Posted: Mon Jun 17, 2019 12:42 pm
by Dan_cao
I tried but still don't know how to compile it. :?

Re: Can't update ddnet somehow

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

Re: Can't update ddnet somehow

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