we're using traefik to rproxy resources on a cluster,
and on one of the containers need to establish an FTP server,
which works ok and can connect + upload files when running locally.
The ftp server runs on nodejs ftp-srv - npm
We were able to list container on traefik dashboard at TCP tab but it ends marked with an error where it states: Router Details
STATUS
Error
PROVIDER Docker
RULE HostSNI(*)
NAME ftp@docker
SERVICE ftp-service
ERRORS:
entryPoint "other" doesn't exist
no valid entryPoint for this router
The labels on the container Dockerfile for FTP are as follows:
LABEL traefik.tcp.services.ftp.loadbalancer.server.port="21"
LABEL traefik.tcp.services.ftp.loadbalancer.server.port="65500"
LABEL traefik.tcp.routers.ftp.service="ftp-service"
LABEL traefik.tcp.routers.ftp.entrypoints="other"
LABEL traefik.tcp.routers.ftp.rule="HostSNI(*)"
The FTP service is running and can see flow on console when running it on nodejs,
this is the error comming from Filezilla FTP Client: 500 The given address is not yours (Error: Failed to retrieve directory listing).
And this is the error occurring on nodejs console "SocketError: The given address is not yours.
As additional info, I'm running this on a domain I've dnsmasqed with 127.0.0.1 domain.com, so the docker container can be reached on that domain. any clue would be really helpful, thanks.
You're just redefining the same label over and over.
I'm pretty sure for this to even have a chance of working you will need an entrypoint,router and service for each passive port you are using as well as port 21 for each too. It will be a lot of labels.
On this Dockerfile I'm just adding trafeik labels for one of the containers which is this ftp,
on the other hand on main traefik server I can see this definitions:
Would adding ftp here with port 21 solve the matter? (Going to try)
I thought having indefinite labels would make no probs when it comes to trafeik reading labels from other docker containers ? Am I wrong?
When there's different systems being integrated there are some old software running on ftp and insecure protocols and trying to make some retrofit integration to modern software...
Thanks a lot for the last sentence, it was quite instructive.
Digging the Traefik server configs I was able to open the route services on entrypoints,
now I'm getting range error from FTP Server! RangeError [ERR_SOCKET_BAD_PORT]: options.port should be >= 0 and < 65536.
Indeed there need to be pairs for port service and entrypoint.