You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rollout restart deploy command should be able to schedule new pods without having to delete the service.
Actual behavior
When I run rollout restart deploy the new pods go into CrashLoopBackOff state with following in logs:
companion: 2025-01-12T06:05:07.675Z [warn] startup.secret auto-generating server preAuthSecret because none was specified
companion: 2025-01-12T06:05:07.684Z [error] startup.uploadUrls Running without uploadUrls is a security risk and Companion will refuse to start up when running in production (NODE_ENV=production)
companion: 2025-01-12T06:05:07.698Z [info] jobs.cleanup.start starting clean up job
companion: 2025-01-12T06:05:07.732Z [info] Welcome to Companion! v5.4.1
companion: 2025-01-12T06:05:07.733Z [info] Listening on http://localhost:tcp://34.118.239.236:80
node:events:492
throw er; // Unhandled 'error' event
^
Error: listen EACCES: permission denied tcp://34.118.239.236:80
at Server.setupListenHandle [as _listen2] (node:net:1734:21)
at listenInCluster (node:net:1799:12)
at Server.listen (node:net:1898:5)
at Function.listen (/app/node_modules/express/lib/application.js:635:24)
at Object.<anonymous> (/app/lib/standalone/start-server.js:11:22)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
Emitted 'error' event on WebSocketServer instance at:
at Server.emit (node:events:514:28)
at emitErrorNT (node:net:1778:8)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EACCES',
errno: -13,
syscall: 'listen',
address: 'tcp://34.118.239.236:80',
port: -1
}
Node.js v18.17.1
where 34.118.239.236 seems to be the service IP. Unless svc is deleted this keeps happening.
The text was updated successfully, but these errors were encountered:
Looks like you’re not allowed to listen on port 80. Could it be you also need to pass a port environment variable?
I doubt it, the kubernetes service has the IP 34.118.239.236, when traffic is sent to 34.118.239.236:80 it forwards the traffic to one of the 2 pods of companion to port 3020. I followed the documentation provided here.
Initial checklist
Link to runnable example
No response
Steps to reproduce
I have deployed companion in a gke kubernetes cluster following is my deployment, secrets and svc:
Expected behavior
The rollout restart deploy command should be able to schedule new pods without having to delete the service.
Actual behavior
When I run
rollout restart deploy
the new pods go intoCrashLoopBackOff
state with following in logs:where 34.118.239.236 seems to be the service IP. Unless svc is deleted this keeps happening.
The text was updated successfully, but these errors were encountered: