failed: listen tcp 0.0.0.0:22000: listen: address already in use #3554
Replies: 9 comments 10 replies
-
Hi @bpopovich4, I have several question to narrow down the error:
Does it have okteto chart installed? If so, which version it's installed.
What do you mean by getting frozen pods? Do you receive any kind of error?
Those errors seems fine, can you check the okteto logs generated by |
Beta Was this translation helpful? Give feedback.
-
Thanks for responding. By frozen, the devs are on a server node, run okteto up and it launches a pod on the kubernetes cluster. The pods finishes the job and through the sync back to the node for the data, it just sits there and eventually dies. Some it is somewhere while it is writing data back to the original node. There are no errors in the pods or on the server in the logs. The pods don't freeze. They run the job to completion. Here is a copy with some things redacted of the okteto.yaml name: xxx-$USER
- /opt/dir/apps/project/name_7_xxxxxinitContainer: |
Beta Was this translation helpful? Give feedback.
-
I have not heard of okteto doctor. I will look into that |
Beta Was this translation helpful? Give feedback.
-
Is there a way to change the default port 22000 for syncthing? If I look at the syncthing documentation there is a syncthing.yaml. I don't see one of those though with the okteto install |
Beta Was this translation helpful? Give feedback.
-
time="2023-04-13T09:31:43-06:00" level=info msg="retrying syncthing call[rest/events] local=false: failed to call syncthing [rest/events]: Get "http://localhost:41713/rest/events?events=FolderSummary&limit=1&since=0&timeout=0\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" action=a7352dd9-6735-49a1-8e42-f87ddadb5274 version=1.15.8 |
Beta Was this translation helpful? Give feedback.
-
Is there a way to change the default port for syncthing? I was told I can with the '- forward' option, but that doesn't work. It just forwards a port. I am having issues with multiple users competing for the tcp/quic 22000 port causing failures. Thank you |
Beta Was this translation helpful? Give feedback.
-
@bpopovich4 did you try the |
Beta Was this translation helpful? Give feedback.
-
I tried your suggestion with the following code: And received the below error. Seems not many fields work in the sync: |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you for your help. Much appreciated. I've been troubleshooting this for awhile. |
Beta Was this translation helpful? Give feedback.
-
We are using okteto on a kubernetes cluster. We have many users that are running jobs and we keep getting frozen pods. The initial sync seems fine, but alot of the time when the job completes on the kubernetes pod and is syncing data back it freezes. There are no errors on the containers or the server node that launched the job. I looked in the syncthing log and found below errors. I’m guess this means the address/port is in use because of another user. If this seems the case based on the logs, how do I change the default port and will I need to have each user use a different port? I don’t see a /config/syncthing anywhere and I’m thinking it’s because it come packaged with okteto. [ABKAV] 09:32:20 INFO: Listen (BEP/tcp): listen tcp 0.0.0.0:22000: listen: address already in use [ABKAV] 09:32:20 INFO: listenerSupervisor@tcp://0.0.0.0:22000: service tcp://0.0.0.0:22000 failed: listen tcp 0.0.0.0:22000: listen: address already in use [ABKAV] 09:32:20 INFO: Listen (BEP/tcp): listen tcp 0.0.0.0:22000: listen: address already in use [ABKAV] 09:32:20 INFO: listenerSupervisor@tcp://0.0.0.0:22000: service tcp://0.0.0.0:22000 failed: listen tcp 0.0.0.0:22000: listen: address already in use [ABKAV] 09:32:20 INFO: Listen (BEP/tcp): listen tcp 0.0.0.0:22000: listen: address already in use [ABKAV] 09:32:20 INFO: listenerSupervisor@tcp://0.0.0.0:22000: service tcp://0.0.0.0:22000 failed: listen tcp 0.0.0.0:22000: listen: address already in use [ABKAV] 09:32:33 INFO: Exiting
Beta Was this translation helpful? Give feedback.
All reactions