can't connect to 1.16.1

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
vghetto
Posts: 755
Joined: November 2nd, 2019, 5:12 pm

can't connect to 1.16.1

Post by vghetto »

Hi,

Something is wrong with the 1.16.1 add-ons server. I can't connect to it.
1.12 and 1.14 seem to work fine.
gnombat
Posts: 706
Joined: June 10th, 2010, 8:49 pm

Re: can't connect to 1.16.1

Post by gnombat »

Right now https://status.wesnoth.org/ says the 1.16 add-ons server is down.

The web interface is still working, though.
herolulu
Posts: 32
Joined: February 29th, 2020, 4:46 pm

Re: can't connect to 1.16.1

Post by herolulu »

gnombat wrote: November 18th, 2021, 12:35 pm Right now https://status.wesnoth.org/ says the 1.16 add-ons server is down.

The web interface is still working, though.
I can see from the website you provided that the server is in a normal state, but I can’t connect to the server. XD
1.16
gnombat
Posts: 706
Joined: June 10th, 2010, 8:49 pm

Re: can't connect to 1.16.1

Post by gnombat »

herolulu wrote: November 19th, 2021, 3:02 pm I can see from the website you provided that the server is in a normal state, but I can’t connect to the server. XD
1.16
The server came back online yesterday, it seems to be working fine for me now. If you still can't connect to it, it's probably some other issue - check your log files to see if there are any error messages.
herolulu
Posts: 32
Joined: February 29th, 2020, 4:46 pm

Re: can't connect to 1.16.1

Post by herolulu »

gnombat wrote: November 19th, 2021, 4:47 pm
herolulu wrote: November 19th, 2021, 3:02 pm I can see from the website you provided that the server is in a normal state, but I can’t connect to the server. XD
1.16
The server came back online yesterday, it seems to be working fine for me now. If you still can't connect to it, it's probably some other issue - check your log files to see if there are any error messages.
I click the link server. A circle icon will appear in the game. Then the program cannot respond. Then I can only forcefully close the game.
Click on the multiplayer game server and it has been loading. I can only forcefully close the game. No error report is shown in the log.
Battle for Wesnoth v1.16.1 x86_64
Started on Sat Nov 20 08:07:32 2021

Automatically found a possible data directory at D:\STEAM\steamapps\common\wesnoth

Data directory: D:\STEAM\steamapps\common\wesnoth
User configuration directory: C:\Users\USER\Documents\My Games\Wesnoth1.16
User data directory: C:\Users\USER\Documents\My Games\Wesnoth1.16
Cache directory: C:\Users\USER\Documents\My Games\Wesnoth1.16\cache

Setting mode to 1920x1080
Checking lua scripts... ok

:shock:

I found that I can enter the mod server and multiplayer game server normally with 1.14. But starting from 1.15 including the current 1.16, I cannot access the server. Clicking on the connection module server program fails to respond. Clicking on the multiplayer server will always display loading, and there is no interface for entering the user name and password.
majid_ara
Posts: 2
Joined: November 19th, 2021, 5:27 pm

Re: can't connect to 1.16.1

Post by majid_ara »

I´ve got a similar problem of not being able to access neither the Add-onn server nor the multiplayer server with 1.16.1 freshly installed on Windows 10.
When I try to access Multiplayer server a get the error message "certificate verify failed" and when trying to access the add onn server it says "remote host disconnected".
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: can't connect to 1.16.1

Post by Pentarctagon »

Did you download from Steam, itch.io, or SourceForge?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
majid_ara
Posts: 2
Joined: November 19th, 2021, 5:27 pm

Re: can't connect to 1.16.1

Post by majid_ara »

From SourceForge
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: can't connect to 1.16.1

Post by Pentarctagon »

In the advanced preferences, for logging, please set Network to Debug, try to connect to the multiplayer server, and then post the log here.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
herolulu
Posts: 32
Joined: February 29th, 2020, 4:46 pm

Re: can't connect to 1.16.1

Post by herolulu »

Pentarctagon wrote: November 20th, 2021, 8:08 pm In the advanced preferences, for logging, please set Network to Debug, try to connect to the multiplayer server, and then post the log here.
Hello, I have checked the problem. The problem is only in "Simplified Chinese" and "Traditional Chinese". When I use English, I can enter the multiplayer server and module server normally. This BUG only exists in 1.16. 1.14 Everything is normal.
1.16 download from Steam, itch.io
1.14 download from itch.io

:lol:
In Chinese, the log will not show errors.
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: can't connect to 1.16.1

Post by Pentarctagon »

Alright, then that's actually #6291, which we're working on.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
demario
Posts: 131
Joined: July 3rd, 2019, 1:05 pm

Re: can't connect to 1.16.1

Post by demario »

Same problem occurs on my debian 8 GNU+linux. The language is set to English(US).
On another computer (Debian 10 "buster") where all libraries come from apt, it works fine.

Pentarctagon wrote: November 20th, 2021, 8:08 pm In the advanced preferences, for logging, please set Network to Debug, try to connect to the multiplayer server, and then post the log here.
Connecting to 1.16 MP server
20211123 08:23:29 info network: Resolving hostname: server.wesnoth.org
20211123 08:23:29 info network: Waiting for handshake
20211123 08:23:29 info network: Connected to 95.217.86.148
20211123 08:23:30 info network: operator() Throwing: asio.ssl:336134278
20211123 08:23:30 info network: wesnothd_connection::io_service::run() returned
20211123 08:23:30 warning network: wait_for_handshake Rethrowing: asio.ssl:336134278
20211123 08:23:30 error network: caught network error: certificate verify failed
20211123 08:23:30 error general: Connection failed: certificate verify failed

NB: the error happens before the password is required

Connecting to 1.16 add-on server
20211123 13:53:30 info network: Resolving hostname: add-ons.wesnoth.org
20211123 13:53:31 info network: Connected to 95.217.86.148
20211123 13:53:31 debug network: Written 4 bytes.
20211123 13:53:31 debug network: Verifying TLS certificate: /O=Digital Signature Trust Co./CN=DST Root CA X3: failed
20211123 13:53:31 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20211123 13:53:31 error general: Remote host disconnected.


[edit] Updated to add add-on server connection log.
Pentarctagon wrote: November 23rd, 2021, 12:55 am If the apt-provided libraries work, and the self compiled libraries don't, then that sounds like it'd probably the issue.
Different systems (Debian 8 vs Debian 10). There is no apt-provided libraries to support BFW 1.16 on debian 8.

Problem solved for me. The TLS certificate listed in the logs for connection to the add-on server is giving the clue.
You can find background information in this useful link, it is likely to impact users on different platforms so check the detailed information there if you have the same problem. It probably only impacts old systems with older ssl configuration.

On my debian computer I had to edit /etc/ca-certificates.conf, remove entry mozilla/DST_Root_CA_X3.crt and run update-ca-certificates as root.
[/edit]
Last edited by demario on November 29th, 2021, 5:40 am, edited 6 times in total.
User avatar
Pentarctagon
Project Manager
Posts: 5564
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: can't connect to 1.16.1

Post by Pentarctagon »

If the apt-provided libraries work, and the self compiled libraries don't, then that sounds like it'd probably the issue.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply