The log today, less my incorrect extension checksum and a bunch of errors related to my extensions (a “request” python module not available in the docker) and the gateway failing to get my webthings properties (yet working fine) - anyway all of those filtered out, the log left for today’s run after a docker restart is this:
fgrep -v "xtension: " log/run-app.log | fgrep -v "xtension died" | fgrep -v "Failed to get property"
2020-12-29 00:14:57.322 INFO : Opening database: /home/node/.webthings/log/logs.sqlite3
2020-12-29 00:14:57.734 INFO : HTTP server listening on port 8080
2020-12-29 00:14:57.807 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2020-12-29 00:14:58.475 DEBUG : Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2020-12-29 00:14:59.977 INFO : Loading add-on: ListMenuExtension
2020-12-29 00:14:59.981 INFO : Loading add-on: test-UI-extension
2020-12-29 00:14:59.983 INFO : Loading add-on: thing-url-adapter
2020-12-29 00:15:01.067 INFO : thing-url-adapter: Opening database: /home/node/.webthings/config/db.sqlite3
2020-12-29 00:15:01.095 INFO : thing-url-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/schema.json because it has no messageType
2020-12-29 00:15:01.815 INFO : thing-url-adapter: Ignoring https://raw.githubusercontent.com/WebThingsIO/gateway-addon-ipc-schema/master/messages/definitions.json because it has no messageType
2020-12-29 00:15:03.193 INFO : thing-url-adapter: Loading add-on thing-url-adapter from /home/node/.webthings/addons/thing-url-adapter
2020-12-29 00:15:09.698 INFO : Checking for add-on updates...
2020-12-29 00:15:10.458 INFO : Finished updating add-ons
2020-12-29 00:15:11.240 INFO : thing-url-adapter: Starting mDNS discovery
Nothing above about the tunnel.
Looking back over the past week or so, there a few interesting entries. But at best i still have the error I first reported in this thread. No attempt to connect leaves a trace in the gateway log (obviously, the connection does not happen).
fgrep -i "tunnel" log/run-app.log*
log/run-app.log.2020-12-23:2020-12-23 01:26:49.748 INFO : Tunnel domain found. Tunnel name is: <my domain> and tunnel domain is: webthings.io
log/run-app.log.2020-12-23:2020-12-23 01:26:49.751 INFO : Tunnel name is set to: https://<my domain>.webthings.io
log/run-app.log.2020-12-23:2020-12-23 01:27:30.345 INFO : Tunnel domain found. Tunnel name is: <my domain> and tunnel domain is: webthings.io
log/run-app.log.2020-12-23:2020-12-23 01:27:30.356 INFO : Tunnel name is set to: https://<my domain>.webthings.io
log/run-app.log.2020-12-23:2020-12-23 01:28:11.732 INFO : Tunnel domain found. Tunnel name is: <my domain> and tunnel domain is: webthings.io
log/run-app.log.2020-12-23:2020-12-23 01:28:11.734 INFO : Tunnel name is set to: https://<my domain>.webthings.io
log/run-app.log.2020-12-23:2020-12-23 01:31:27.806 INFO : Tunnel domain found. Tunnel name is: <my domain> and tunnel domain is: webthings.io
log/run-app.log.2020-12-23:2020-12-23 01:31:27.810 INFO : Tunnel name is set to: https://<my domain>.webthings.io
log/run-app.log.2020-12-24:2020-12-24 02:16:31.263 INFO : Tunnel domain found. Tunnel name is: <my domain> and tunnel domain is: webthings.io
log/run-app.log.2020-12-24:2020-12-24 02:16:31.268 INFO : Tunnel name is set to: https://<my domain>.webthings.io
Above, I may have completely removed and re-instanciated the docker image several times. Last time I removed the docker container was:
2020/12/23 01:26:12 docker container rm webthings-gateway
12 seconds later I started it with a docker run
.
I only restarted it with a docker restart
for the purpose of this reply, today. No other time since the above.
I’ve also just understood how to ping from the inside, so i know the network works:
docker exec -it webthings-gateway ping webthings.io
PING webthings.io (185.199.108.153) 56(84) bytes of data.
64 bytes from 185.199.108.153 (185.199.108.153): icmp_seq=1 ttl=58 time=17.1 ms
64 bytes from 185.199.108.153 (185.199.108.153): icmp_seq=2 ttl=58 time=16.0 ms
64 bytes from 185.199.108.153 (185.199.108.153): icmp_seq=3 ttl=58 time=14.8 ms
^C
--- webthings.io ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 5ms
rtt min/avg/max/mdev = 14.820/15.968/17.076/0.932 ms