eclipse-thingweb / test-things

Collection of Things that can be used for testing different IoT protocols, security mechanisms and interaction styles
https://thingweb.io
Other
4 stars 2 forks source link

add traefik configuration for routing #18

Closed hasanheroglu closed 8 months ago

hasanheroglu commented 9 months ago

Closes #5

egekorkan commented 8 months ago

I have tested this on a linux machine since the Eclipse server is also a linux machine. Everything but the modbus device works as expected, i.e. less ports exposed.

Error on the Modbus Thing:

DBG github.com/traefik/traefik/v3/pkg/tcp/proxy.go:113 > Error while setting TCP connection deadline error="set tcp 172.18.0.5:3179: use of closed network connection"

The request I send is modbus 0.0.0.0:3179 -s 1 h@1 using https://github.com/favalex/modbus-cli which worked locally. The client gets a timeout on its side.

egekorkan commented 8 months ago

Ok so my bad, it actually sort of works. The modbus client gets the response but the error is still logged.

egekorkan commented 8 months ago

Merging and then @egekorkan will test it on the eclipse server with different ports to the outside.