Using docker to run syncthing relay server, error message in the log

Hello, When I run the syncthing relay server using docker, have an error message

root@myserver:~/docker/syncthing/discovery-and-relay# docker logs -f b5
2024/10/05 09:39:40 main.go:140: strelaysrv v1.27.12 "Gold Grasshopper" (go1.22.6 linux-amd64) docker@github.syncthing.net 2024-09-06 07:15:45 UTC [noupgrade]
2024/10/05 09:39:40 main.go:146: Connection limit 838860
2024/10/05 09:39:40 main.go:185: ID: 
2024/10/05 09:39:40 main.go:266: URI: relay://0.0.0.0:22067/
2024/10/05 09:40:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:41:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:42:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:43:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:44:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:45:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:46:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:47:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:48:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:49:40 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:49:42 listener.go:54: Listener accepted connection from 112.20.96.202:33282 tls true
2024/10/05 09:49:42 listener.go:123: Message protocol.JoinRelayRequest from IJEERUR-UBL47AU-XXXXXX
2024/10/05 09:50:41 listener.go:46: Listener failed to accept: failed to identify socket type
2024/10/05 09:50:42 listener.go:123: Message protocol.Pong from IJEERUR-UBL47AU-XXXXXX
2024/10/05 09:51:41 listener.go:46: Listener failed to accept: failed to identify socket type

What does this error message mean?

listener.go:46: Listener failed to accept: failed to identify socket type

This is my docker-compose file

services:
  syncthing_relay_server:
    image: syncthing/relaysrv:latest
    container_name: syncthing-relay-server
    command: -debug -pools="" -listen=":22067"
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - ./strelaysrv:/var/strelaysrv
    ports:
      - 42067:22067
      - 42070:22070
    restart: always

I don’t know, but I’m running strelaysrv under Kubernetes and don’t see this error. If it works I’d be inclined to ignore it.

Looks like the error is triggered here:

Under which conditions does the read fail?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.