stronnag/mwptools

Connection failure via ser2udp

Jullibach opened this issue · 1 comments

If I try to change the Device List Preference to udp://__MWP_SERIAL_HOST:17071 and click apply the following error appears:

(org.stronnag.mwp:10552): dconf-WARNING **: 00:32:25.294: failed to commit changes to dconf: Could not connect: No such file or directory

(org.stronnag.mwp:10552): dconf-WARNING **: 00:32:25.294: failed to commit changes to dconf: Could not connect: No such file or directory

If I then choose the new device in the list the tool wants to connect.
before I had done all this, I execute the ser2udp.exe (with the firewall changes) on windows.
This is the output:

2023-07-17T00:32:46+0200 Trying OS open for udp://__MWP_SERIAL_HOST:17071
2023-07-17T00:32:46+0200 Connected udp://__MWP_SERIAL_HOST:17071 false
2023-07-17T00:32:46+0200 Serial ready
2023-07-17T00:32:47+0200 MSP Timeout 10 0 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:48+0200 MSP Timeout 20 10 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:49+0200 MSP Timeout 30 20 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:50+0200 MSP Timeout 40 30 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:51+0200 MSP Timeout 50 40 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:52+0200 MSP Timeout 60 50 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:53+0200 MSP Timeout 70 60 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:54+0200 MSP Timeout 80 70 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:55+0200 MSP Timeout 90 80 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:56+0200 MSP Timeout 100 90 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)

I connected different hardware. If ser2udp runs I cant connect via Inav so the tool themes to be connected to the hardware, but I don't know how to check if the "passthrough" works.

(Also I close mwp all the preferences are gone)

Output from ser2udp:

External address: fe80::21ee:5fcc:7bf2:f389
External address: 172.23.64.1

If I connect mwp to udp://172.23.64.1 or to fe80::21ee:5fcc:7bf2:f389 the behaviour and output is exactly the same.

LOG:

user@myuser:/$ mwp
2023-07-17T00:31:41+0200 mwp
2023-07-17T00:31:41+0200 buildinfo: 2023-06-09T14:37:21Z Linux 6.3.6-zen1-1-zen x86_64 bullseye
2023-07-17T00:31:41+0200 toolinfo: gcc version 10.2.1 20210110 (Debian 10.2.1-6)  / GNU ld (GNU Binutils for Debian) 2.35.2 / Vala 0.48.17
2023-07-17T00:31:41+0200 version: mwp fc19efa9 (master) / 2023-06-08T15:57:41+01:00 6.159.538
2023-07-17T00:31:41+0200 "Ubuntu 22.04.2 LTS" on user running Linux 5.15.90.1-microsoft-standard-WSL2 x86_642023-07-17T00:31:41+0200 WM: Wayland / Unknown DE
2023-07-17T00:31:41+0200 GL: Unknown / Unsupported
2023-07-17T00:31:41+0200 hypervisor: wsl
2023-07-17T00:31:41+0200 GLib2 2.72
2023-07-17T00:31:41+0200 MQTT enabled via the "mosquitto" library
2023-07-17T00:31:41+0200 Failed to find "blackbox_decode" on PATH
2023-07-17T00:31:41+0200 Failed to find "gnuplot" on PATH
2023-07-17T00:31:41+0200 Failed to find "unzip" on PATH
2023-07-17T00:31:42+0200 Failed to find "fl2ltm" on PATH
2023-07-17T00:31:42+0200 Failed to find "mavlogdump.py" on PATH
2023-07-17T00:31:42+0200 Using speech api 1 [espeak]
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
2023-07-17T00:31:42+0200 Get map preference
2023-07-17T00:31:42+0200 Starting Bing proxy
2023-07-17T00:31:42+0200 BB load async map zoom : true
2023-07-17T00:31:42+0200 Loaded /usr/share/mwp/vcols.css
2023-07-17T00:31:42+0200 Fixed font true
2023-07-17T00:31:42+0200 gsettings blank default-map, using osm-mapnik
2023-07-17T00:31:42+0200 Delta speed 0.000000
2023-07-17T00:31:42+0200 Show main window
2023-07-17T00:31:42+0200 UPower: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
Could not aquire name

(org.stronnag.mwp:10552): dconf-WARNING **: 00:32:25.294: failed to commit changes to dconf: Could not connect: No such file or directory

(org.stronnag.mwp:10552): dconf-WARNING **: 00:32:25.294: failed to commit changes to dconf: Could not connect: No such file or directory
2023-07-17T00:32:46+0200 Trying OS open for udp://__MWP_SERIAL_HOST:17071
2023-07-17T00:32:46+0200 Connected udp://__MWP_SERIAL_HOST:17071 false
2023-07-17T00:32:46+0200 Serial ready
2023-07-17T00:32:47+0200 MSP Timeout 10 0 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:48+0200 MSP Timeout 20 10 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:49+0200 MSP Timeout 30 20 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:50+0200 MSP Timeout 40 30 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:51+0200 MSP Timeout 50 40 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:52+0200 MSP Timeout 60 50 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:53+0200 MSP Timeout 70 60 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:54+0200 MSP Timeout 80 70 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:55+0200 MSP Timeout 90 80 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:56+0200 MSP Timeout 100 90 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:57+0200 MSP Timeout 110 100 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:58+0200 MSP Timeout 120 110 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:32:59+0200 MSP Timeout 130 120 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:33:00+0200 MSP Timeout 140 130 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
2023-07-17T00:33:01+0200 MSP Timeout 150 140 0 (MSP_CMDS_IDENT MWP_SERSTATE_NORMAL)
^C

This is a problem with your WSL installation, not mwp. In any case, Windows is not a supported platform.