How to upload an add-on the server manually?

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
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

How to upload an add-on the server manually?

Post by hermestrismi »

Hi,
it was long since I have been visited the forum.
I finally installed wesnoth 1.16 and it was good for my old computer so I created many campaigns and I enjoyed them but lately -when I tried to upload them to the server- an error msg appears "remote host disconnected".
What should I do? Can I upload an add-on to the server manually? Or is there a way to fix this?
thanks
User avatar
Pentarctagon
Project Manager
Posts: 5599
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: How to upload an add-on the server manually?

Post by Pentarctagon »

Please provide the relevant information listed at viewtopic.php?t=25660
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: How to upload an add-on the server manually?

Post by hermestrismi »

Pentarctagon wrote: April 24th, 2022, 10:30 pm Please provide the relevant information listed at viewtopic.php?t=25660
thank you
my windows version is Winows7 pro
my wesnoth version is 1.16.2
the error message
Capture.PNG
my question is:
1. the problem can be fixed?
2. is there a way to upload a campaign to the server manually (I mean directly within the site)?
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: How to upload an add-on the server manually?

Post by hermestrismi »

hermestrismi wrote: April 24th, 2022, 10:46 pm
Pentarctagon wrote: April 24th, 2022, 10:30 pm Please provide the relevant information listed at viewtopic.php?t=25660
thank you
my windows version is Winows7 pro
my wesnoth version is 1.16.2
the error message Capture.PNG
my question is:
1. the problem can be fixed?
2. is there a way to upload a campaign to the server manually (I mean directly within the site)?
as for logs

Code: Select all

The Battle for Wesnoth version 1.16.2 x86_64
Running on Microsoft Windows 7 (6.1.7600) x86_64
Distribution channel: SourceForge

Game paths
==========

Data dir:        C:\Users\USER\AppData\Local\Programs\Battle for Wesnoth 1.16.2
User config dir: C:\Users\USER\Documents\My Games\Wesnoth1.16
User data dir:   C:\Users\USER\Documents\My Games\Wesnoth1.16
Saves dir:       C:\Users\USER\Documents\My Games\Wesnoth1.16\saves
Add-ons dir:     C:\Users\USER\Documents\My Games\Wesnoth1.16\data\add-ons
Cache dir:       C:\Users\USER\Documents\My Games\Wesnoth1.16\cache

Libraries
=========

Boost:             1.74
Lua:               5.4.2
OpenSSL/libcrypto: 1.1.1i (runtime 1.1.1i)
Cairo:             1.17.4 (runtime 1.17.4)
Pango:             1.48.0 (runtime 1.48.0)
SDL:               2.0.12 (runtime 2.0.12)
SDL_image:         2.0.5 (runtime 2.0.5)
SDL_mixer:         2.0.4 (runtime 2.0.4)

Features
========

Lua console completion:       yes
Win32 notifications back end: yes

Current video settings
======================

SDL video drivers:       [windows] dummy
Window size:             1366x706
Screen refresh rate:     60
Screen dots per inch:    96.000000x96.000000
Screen dpi scale factor: 1.000000x1.000000

Current audio settings
======================

SDL audio drivers:  [wasapi] directsound
Number of channels: 2
Output rate:        44100 Hz
Sample format:      signed 16 bit little-endian
Sample size:        4096 bytes

Installed add-ons
=================

Legend_of_the_Invincibles: 3.2.7b
Return_of_the_Legions:     0.3.5

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

Re: How to upload an add-on the server manually?

Post by Pentarctagon »

Can you provide the log file after you attempt to connect? What you posted is the build info, not the logs.

Also, are you connecting to addons.wesnoth.org or add-ons.wesnoth.org?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: How to upload an add-on the server manually?

Post by hermestrismi »

the logs?

Code: Select all

C:\Users\aa\Documents\My Games\Wesnoth1.16\logs
Battle for Wesnoth v1.16.2 x86_64
Started on Sun Apr 24 23:36:43 2022

Automatically found a possible data directory at C:\Users\USER\AppData\Local\Programs\Battle for Wesnoth 1.16.2

Data directory:               C:\Users\USER\AppData\Local\Programs\Battle for Wesnoth 1.16.2
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 1366x706
20220424 23:36:50 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_ANCIENT_LICH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220424 23:36:50 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_DEATH_KNIGHT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220424 23:36:50 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_WOLF_ADVANCEMENT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Checking lua scripts... ok
20220424 23:37:02 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220424 23:37:02 error general: Remote host disconnected.
I connect to

Code: Select all

 add-ons.wesnoth.org
User avatar
Pentarctagon
Project Manager
Posts: 5599
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: How to upload an add-on the server manually?

Post by Pentarctagon »

In the advanced preferences, under logging, set network logging to debug, and then post the logs after trying to connect.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: How to upload an add-on the server manually?

Post by hermestrismi »

Code: Select all

 Battle for Wesnoth v1.16.2 x86_64
Started on Mon Apr 25 00:08:49 2022

Automatically found a possible data directory at C:\Users\USER\AppData\Local\Programs\Battle for Wesnoth 1.16.2

Data directory:               C:\Users\USER\AppData\Local\Programs\Battle for Wesnoth 1.16.2
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 1366x706
20220425 00:08:56 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_ANCIENT_LICH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:08:56 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_DEATH_KNIGHT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:08:56 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_WOLF_ADVANCEMENT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Checking lua scripts... ok
20220425 00:09:30 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:09:30 error general: Serveur distant déconnecté.
20220425 00:09:45 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:09:45 error general: Remote host disconnected.
20220425 00:09:59 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:09:59 error general: 远程主机断开连接。
20220425 00:10:14 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:10:14 error general: リモートホストとの接続が切断されました。
20220425 00:10:26 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:10:26 error general: Remote host disconnected.
20220425 00:12:12 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:12:12 error general: Remote host disconnected.
20220425 00:12:32 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_ANCIENT_LICH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:12:32 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_DEATH_KNIGHT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:12:32 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_WOLF_ADVANCEMENT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:12:34 error config: Skipping duplicate unit variation ID: 
20220425 00:12:34 error config: Skipping duplicate unit variation ID: 
20220425 00:12:35 warning network: wait_for_handshake Rethrowing: asio.ssl:337047686
20220425 00:12:35 error network: caught network error: certificate verify failed
20220425 00:12:35 error general: Connection failed: certificate verify failed
20220425 00:12:45 error config: Skipping duplicate unit variation ID: 
20220425 00:12:45 error config: Skipping duplicate unit variation ID: 
20220425 00:13:26 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:13:26 error general: Remote host disconnected.
20220425 00:14:19 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:14:19 error general: Remote host disconnected.
20220425 00:20:56 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:20:56 error general: Remote host disconnected.
20220425 00:24:32 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:24:32 error general: Remote host disconnected.
20220425 00:30:35 info addons-client: connecting to server add-ons.wesnoth.org on port 15016
20220425 00:30:36 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:30:36 error general: Remote host disconnected.
 
like that?
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: How to upload an add-on the server manually?

Post by hermestrismi »

ignore all errors before 00:30 (I was trying to connect with other languages)
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: How to upload an add-on the server manually?

Post by hermestrismi »

oh no. my bad
this is the log according to debug network

Code: Select all

 Battle for Wesnoth v1.16.2 x86_64
Started on Mon Apr 25 00:08:49 2022

Automatically found a possible data directory at C:\Users\USER\AppData\Local\Programs\Battle for Wesnoth 1.16.2

Data directory:               C:\Users\USER\AppData\Local\Programs\Battle for Wesnoth 1.16.2
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 1366x706
20220425 00:08:56 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_ANCIENT_LICH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:08:56 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_DEATH_KNIGHT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:08:56 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_WOLF_ADVANCEMENT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
Checking lua scripts... ok
20220425 00:09:30 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:09:30 error general: Serveur distant déconnecté.
20220425 00:09:45 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:09:45 error general: Remote host disconnected.
20220425 00:09:59 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:09:59 error general: 远程主机断开连接。
20220425 00:10:14 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:10:14 error general: リモートホストとの接続が切断されました。
20220425 00:10:26 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:10:26 error general: Remote host disconnected.
20220425 00:12:12 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:12:12 error general: Remote host disconnected.
20220425 00:12:32 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_ANCIENT_LICH has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:12:32 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_DEATH_KNIGHT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:12:32 error deprecation: campaign id='Return_of_the_Legions' has extra_defines=ENABLE_WOLF_ADVANCEMENT has been deprecated and removed.; instead, use the macro with the same name in the [campaign] tag
20220425 00:12:34 error config: Skipping duplicate unit variation ID: 
20220425 00:12:34 error config: Skipping duplicate unit variation ID: 
20220425 00:12:35 warning network: wait_for_handshake Rethrowing: asio.ssl:337047686
20220425 00:12:35 error network: caught network error: certificate verify failed
20220425 00:12:35 error general: Connection failed: certificate verify failed
20220425 00:12:45 error config: Skipping duplicate unit variation ID: 
20220425 00:12:45 error config: Skipping duplicate unit variation ID: 
20220425 00:13:26 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:13:26 error general: Remote host disconnected.
20220425 00:14:19 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:14:19 error general: Remote host disconnected.
20220425 00:20:56 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:20:56 error general: Remote host disconnected.
20220425 00:24:32 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:24:32 error general: Remote host disconnected.
20220425 00:30:35 info addons-client: connecting to server add-ons.wesnoth.org on port 15016
20220425 00:30:36 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:30:36 error general: Remote host disconnected.
20220425 00:34:52 info addons-client: connecting to server add-ons.wesnoth.org on port 15016
20220425 00:34:52 info network: Resolving hostname: add-ons.wesnoth.org
20220425 00:34:53 info network: Connected to 95.217.86.148
20220425 00:34:53 debug network: Written 4 bytes.
20220425 00:34:54 debug network: Verifying TLS certificate: /O=Digital Signature Trust Co./CN=DST Root CA X3: failed
20220425 00:34:54 debug network: Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            44:af:b0:80:d6:a3:27:ba:89:30:39:86:2e:f8:40:6b
        Signature Algorithm: sha1WithRSAEncryption
        Issuer: O=Digital Signature Trust Co., CN=DST Root CA X3
        Validity
            Not Before: Sep 30 21:12:19 2000 GMT
            Not After : Sep 30 14:01:15 2021 GMT
        Subject: O=Digital Signature Trust Co., CN=DST Root CA X3
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (2048 bit)
                Modulus:
                    00:df:af:e9:97:50:08:83:57:b4:cc:62:65:f6:90:
                    82:ec:c7:d3:2c:6b:30:ca:5b:ec:d9:c3:7d:c7:40:
                    c1:18:14:8b:e0:e8:33:76:49:2a:e3:3f:21:49:93:
                    ac:4e:0e:af:3e:48:cb:65:ee:fc:d3:21:0f:65:d2:
                    2a:d9:32:8f:8c:e5:f7:77:b0:12:7b:b5:95:c0:89:
                    a3:a9:ba:ed:73:2e:7a:0c:06:32:83:a2:7e:8a:14:
                    30:cd:11:a0:e1:2a:38:b9:79:0a:320220425 00:34:54 debug network: 1:fd:50:bd:80:
                    65:df:b7:51:63:83:c8:e2:88:61:ea:4b:61:81:ec:
                    52:6b:b9:a2:e2:4b:1a:28:9f:48:a3:9e:0c:da:09:
                    8e:3e:17:2e:1e:dd:20:df:5b:c6:2a:8a:ab:2e:bd:
                    70:ad:c5:0b:1a:25:90:74:72:c5:7b:6a:ab:34:d6:
                    30:89:ff:e5:68:13:7b:54:0b:c8:d6:ae:ec:5a:9c:
                    92:1e:3d:64:b3:8c:c6:df:bf:c9:41:70:ec:16:72:
                    d5:26:ec:38:55:39:43:d0:fc:fd:18:5c:40:f1:97:
                    eb:d5:9a:9b:8d:1d:ba:da:25:b9:c6:d8:df:c1:15:
                    02:3a:ab:da:6e:f1:3e:2e:f5:5c:08:9c:3c:d6:83:
                    69:e4:10:9b:19:2a:b6:29:57:e3:e5:3d:9b:9f:f0:
                    02:5d
                Exponent: 65537 (0x10001)
        X509v3 extensions:
            X509v3 Basic Constraints: critical
                CA:TRUE
            X509v3 Key Usage: critical
                Certificate Sign, CRL Sign
            X509v3 Subject Key Identifier: 
                C4:A7:B1:A4:7B:2C:71:FA:DB:E1:4B:90:75:FF20220425 00:34:54 debug network: :C4:15:60:85:89:10
    Signature Algorithm: sha1WithRSAEncryption
         a3:1a:2c:9b:17:00:5c:a9:1e:ee:28:66:37:3a:bf:83:c7:3f:
         4b:c3:09:a0:95:20:5d:e3:d9:59:44:d2:3e:0d:3e:bd:8a:4b:
         a0:74:1f:ce:10:82:9c:74:1a:1d:7e:98:1a:dd:cb:13:4b:b3:
         20:44:e4:91:e9:cc:fc:7d:a5:db:6a:e5:fe:e6:fd:e0:4e:dd:
         b7:00:3a:b5:70:49:af:f2:e5:eb:02:f1:d1:02:8b:19:cb:94:
         3a:5e:48:c4:18:1e:58:19:5f:1e:02:5a:f0:0c:f1:b1:ad:a9:
         dc:59:86:8b:6e:e9:91:f5:86:ca:fa:b9:66:33:aa:59:5b:ce:
         e2:a7:16:73:47:cb:2b:cc:99:b0:37:48:cf:e3:56:4b:f5:cf:
         0f:0c:72:32:87:c6:f0:44:bb:53:72:6d:43:f5:26:48:9a:52:
         67:b7:58:ab:fe:67:76:71:78:db:0d:a2:56:14:13:39:24:31:
         85:a2:a8:02:5a:30:47:e1:dd:50:07:bc:02:09:90:00:eb:64:
         63:60:9b:16:bc:88:c9:12:e6:d2:7d:91:8b:f9:3d:32:8d:65:
         b4:e9:7c:b1:57:76:ea:c5:b6:28:39:bf:15:65:1c:c8:f6:77:
         96:6a:0a:8d:77:0b:d8:91:0b:04:8e:07:db:29:b6:0a:ee:9d:
         82:35:35:10
C4:A7:B1:A4:7B:2C:71:FA:DB:E1:4B:90:75:FF20220425 00:34:54 error network: network_asio::error thrown during transaction with add-on server; "certificate verify failed"
20220425 00:34:54 error general: Remote host disconnected.
sorry
User avatar
Pentarctagon
Project Manager
Posts: 5599
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: How to upload an add-on the server manually?

Post by Pentarctagon »

So from that you can see specifically Verifying TLS certificate: /O=Digital Signature Trust Co./CN=DST Root CA X3: failed. That certificate verification is failing because Let's Encrypt (the organization Wesnoth gets it's SSL certificates from) expired it.

All versions of Windows back to Windows XP Service Pack 3 should still be getting certificate updates, so you could try doing a Windows update and see if that fixes it. Otherwise look and see if there's a way to force Windows to update its certificates; I don't use Windows myself so I can't help a whole lot with that part.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
newfrenchy83
Code Contributor
Posts: 179
Joined: October 6th, 2017, 12:57 pm

Re: How to upload an add-on the server manually?

Post by newfrenchy83 »

this issue already reported here viewtopic.php?t=55426
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: How to upload an add-on the server manually?

Post by hermestrismi »

Pentarctagon wrote: April 24th, 2022, 11:41 pm So from that you can see specifically Verifying TLS certificate: /O=Digital Signature Trust Co./CN=DST Root CA X3: failed. That certificate verification is failing because Let's Encrypt (the organization Wesnoth gets it's SSL certificates from) expired it.

All versions of Windows back to Windows XP Service Pack 3 should still be getting certificate updates, so you could try doing a Windows update and see if that fixes it. Otherwise look and see if there's a way to force Windows to update its certificates; I don't use Windows myself so I can't help a whole lot with that part.
Thank you very much.
Since I am using a hacked windows os, updating is not an option :doh: I will continue creating and playing my own addons offline .
Have a nice day
User avatar
hermestrismi
Posts: 634
Joined: February 6th, 2016, 11:28 pm
Location: Tunisia
Contact:

Re: How to upload an add-on the server manually?

Post by hermestrismi »

newfrenchy83 wrote: April 25th, 2022, 9:41 am this issue already reported here viewtopic.php?t=55426
yeeeees it work
thank youuuuu :eng: :eng: :eng: :eng:
Post Reply