Skip to content
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

Node Controller restart failed #95

Closed
Echsecutor opened this issue Jun 23, 2022 · 3 comments
Closed

Node Controller restart failed #95

Echsecutor opened this issue Jun 23, 2022 · 3 comments
Assignees

Comments

@Echsecutor
Copy link
Contributor

Today there was a network restart which lead to an error:

$ docker logs indy_node_controller 
2022-06-23 09:43:51,051|INFO|container_node_control_tool.py|Node control tool is starting up on 0.0.0.0 port 30003
2022-06-23 09:43:51,052|DEBUG|container_node_control_tool.py|Waiting for the next event
2022-06-23 09:49:47,269|DEBUG|container_node_control_tool.py|New connection from ('127.0.0.1', 59720) on fd 5
2022-06-23 09:49:47,270|DEBUG|container_node_control_tool.py|Waiting for the next event
2022-06-23 09:49:47,270|DEBUG|container_node_control_tool.py|Received "b'{"message_type": "restart"}'" from ('127.0.0.1', 59720) on fd 5
2022-06-23 09:49:47,270|DEBUG|container_node_control_tool.py|Decoded 
2022-06-23 09:49:47,271|INFO|container_node_control_tool.py|Restarting indy
Error: Missing node container name environment variable
2022-06-23 09:49:47,277|ERROR|container_node_control_tool.py|Unexpected error in _process_data must be str, not int
2022-06-23 09:49:47,278|DEBUG|container_node_control_tool.py|Waiting for the next event
2022-06-23 09:49:47,278|DEBUG|container_node_control_tool.py|Closing socket with fd 5
2022-06-23 09:49:47,278|DEBUG|container_node_control_tool.py|Waiting for the next event
@Echsecutor
Copy link
Contributor Author

.env has NODE_CONTAINER_NAME=indy_node (default)

@Echsecutor
Copy link
Contributor Author

compse file has
- CONTAINER=${NODE_CONTAINER_NAME}

@tsurai
Copy link
Contributor

tsurai commented Jul 29, 2022

Turns out the README of the Controller is wrong. The correct environment variable is NODE_CONTAINER and not CONTAINER.

@Echsecutor Echsecutor assigned tsurai and Echsecutor and unassigned tsurai Jul 29, 2022
Echsecutor added a commit that referenced this issue Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants