-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclear behaviour for conflicting services at startup #3460
Comments
I've created a PR that introduces a reason why the command did not start service X. Example:You are already running
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:47:31.805305157+02:00","message":"Shutting down server"} It says: Example2:You are already running
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:02+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 0.0.0.0:9200: bind: address already in use","server":"http","time":"2022-07-05T08:52:02+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:02+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:02+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 0.0.0.0:9200: bind: address already in use","server":"http","time":"2022-07-05T08:52:02+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:02+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:06+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:06+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:06+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 0.0.0.0:9200: bind: address already in use","server":"http","time":"2022-07-05T08:52:06+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:06+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:06+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:10+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:10+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:10+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 0.0.0.0:9200: bind: address already in use","server":"http","time":"2022-07-05T08:52:10+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:10+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:10+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:13+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:13+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:13+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:13+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:13+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:13+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:17+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:17+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 0.0.0.0:9200: bind: address already in use","server":"http","time":"2022-07-05T08:52:18+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:18+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 0.0.0.0:9200: bind: address already in use","server":"http","time":"2022-07-05T08:52:18+02:00","message":"Shutting down server"}
{"level":"error","service":"proxy","error":"listen tcp 127.0.0.1:9205: bind: address already in use","server":"http","time":"2022-07-05T08:52:18+02:00","message":"Shutting down server"}
{"level":"error","service":"nats","time":"2022-07-05T08:52:18+02:00","message":"Shutting down server"} It says multiple times: It does that multiple times because this time the runtimes tries six times to restart the proxy service. If it still fails, all services will be stopped. |
Describe the bug
Having one (or two or more) shells open, no configuration given = you will have a configuration conflicts when running the runtime proxy and the standalone proxy:
There are two issues:
a.
Shutting down server
from the proxy message is unclear. What is being shut down - the runtime, the standalone proxy?b. Looking at the running PID's shows, that both are running
Note that it makes no difference when closing down shell1 (of course not...)
Steps to reproduce
See above
Expected behavior
Have a clear message WHO gets shut down. The term server is bound to the runtime! AND if it tells it gets shutdown, no process must stay alive.
Actual behavior
Totally unclear what happens.
Setup
See above
@butonic @micbar @rhafer (as discussed)
@EParzefall fyi
The text was updated successfully, but these errors were encountered: