Open ntnchq opened 3 years ago
also logs in "debug" mode
web | 2021-08-31T23:26:46.021Z DEBUG container/serve.go:20 called Serve on the vrtx {"vrtx id": "reload.Plugin"}
web | 2021-08-31T23:27:46.022Z ERROR container/poller.go:16 vertex got an error {"vertex id": "http.Plugin", "error": "http_plugin_serve: WorkerAllocate:\n\tserver_plugin_new_worker_pool:\n\tstatic_pool_initialize:\n\tallocate workers: context deadline exceeded"}
web | github.com/spiral/endure/pkg/container.(*Endure).poll.func1
web | github.com/spiral/endure@v1.0.2/pkg/container/poller.go:16
web | 2021-08-31T23:27:46.022Z DEBUG container/poller.go:49 processing error in the main thread {"vertex id": "http.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/poller.go:54 retry is turned off, sending exit signal to every vertex in the graph
web | 2021-08-31T23:27:46.022Z INFO container/endure.go:441 exiting from the Endure
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "informer.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "gzip.Plugin"}
web | 2021-08-31T23:27:46.022Z DEBUG container/stop.go:34 calling internal_stop function on the vrtx {"vrtx id": "config.Viper"}
web | 2021-08-31T23:27:46.022Z DEBUG container/stop.go:34 calling internal_stop function on the vrtx {"vrtx id": "server.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "config.Viper"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "resetter.Plugin"}
web | 2021-08-31T23:27:46.022Z DEBUG container/stop.go:34 calling internal_stop function on the vrtx {"vrtx id": "redis.Plugin"}
web | 2021-08-31T23:27:46.022Z DEBUG container/stop.go:34 calling internal_stop function on the vrtx {"vrtx id": "memory.Plugin"}
web | 2021-08-31T23:27:46.022Z DEBUG container/stop.go:34 calling internal_stop function on the vrtx {"vrtx id": "http.Plugin"}
web | 2021-08-31T23:27:46.022Z DEBUG container/stop.go:34 calling internal_stop function on the vrtx {"vrtx id": "reload.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/poller.go:26 vertex got exit signal, exiting from poller {"vertex id": "server.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "memory.Plugin"}
web | 2021-08-31T23:27:46.022Z DEBUG container/stop.go:34 calling internal_stop function on the vrtx {"vrtx id": "rpc.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/poller.go:26 vertex got exit signal, exiting from poller {"vertex id": "memory.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/poller.go:26 vertex got exit signal, exiting from poller {"vertex id": "redis.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/poller.go:26 vertex got exit signal, exiting from poller {"vertex id": "config.Viper"}
web | 2021-08-31T23:27:46.022Z INFO container/poller.go:26 vertex got exit signal, exiting from poller {"vertex id": "rpc.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "redis.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/poller.go:26 vertex got exit signal, exiting from poller {"vertex id": "http.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "server.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "logger.ZapLogger"}
web | 2021-08-31T23:27:46.022Z INFO container/poller.go:26 vertex got exit signal, exiting from poller {"vertex id": "reload.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "http.Plugin"}
web | 2021-08-31T23:27:46.022Z INFO container/stop.go:117 vertex stopped {"vertex id": "rpc.Plugin"}
web | error occurred: http_plugin_serve: WorkerAllocate:
web | server_plugin_new_worker_pool:
web | static_pool_initialize:
web | allocate workers: context deadline exceeded, plugin: http.Plugin
web | 2021-08-31T23:27:46.095Z INFO container/stop.go:117 vertex stopped {"vertex id": "reload.Plugin"}
web | handle_serve_command: http_plugin_serve: WorkerAllocate:
web | server_plugin_new_worker_pool:
web | static_pool_initialize:
web | allocate workers: context deadline exceeded; fsm_recognizer: can't transition from state: Stopped by event Stop
resolved by replacing
RUN ./vendor/bin/rr get-binary --location /usr/local/bin
to static binary in my repository
but its strange...
Hi!
So Instead of running ./vendor/bin/rr get-binary --location /usr/local/bin
you manually download the binary?
yes, and manual builded binary same good
same problem probably here 🤔
[2022-05-31 18:30:42] [INFO] RoadRunner server started; version: 2.10.2, buildtime: 2022-05-26T12:10:38+0000
[2022-05-31 18:31:42] 2022-05-31T18:31:42.808Z ERROR container/poller.go:16 vertex got an error {"id": "http.Plugin", "error": "static_pool_allocate_workers: WorkerAllocate: context deadline exceeded"}
[2022-05-31 18:31:42] github.com/roadrunner-server/endure/pkg/container.(*Endure).poll.func1
[2022-05-31 18:31:42] github.com/roadrunner-server/endure@v1.3.0/pkg/container/poller.go:16
[2022-05-31 18:31:43] error occurred: static_pool_allocate_workers: WorkerAllocate: context deadline exceeded, plugin: http.Plugin, stopping execution
EDIT: SOLVED, in my case there was error with redis cache in symfony - problem with connection, after resolve problem with connection on redis, problem is gone 🎉
Sometimes we have error, and api response is 502, what can we do?
Error log:
.rr.yaml
config/packages/baldinof_road_runner.yaml
Dockerfile