"Context deadline exceeded" error occurs for control requests from outside of the container #7

Closed
opened 2023-05-19 11:39:18 +00:00 by abereziny · 1 comment
Member

When trying to access control endpoint the "Context deadline exceeded" error occurs if I try to it from outside of the container:

frostfs-cli control healthcheck --endpoint localhost:16513 --config cli-cfg-sn.yaml
>> can't create API client: can't init SDK client: gRPC dial: context deadline exceeded

But if I do from inside of the container, it works fine:

docker exec aio frostfs-cli control healthcheck --endpoint localhost:16513 --config /config/cli-cfg-sn.yaml
Network status: ONLINE
Health status: READY
When trying to access control endpoint the "Context deadline exceeded" error occurs if I try to it from outside of the container: ``` frostfs-cli control healthcheck --endpoint localhost:16513 --config cli-cfg-sn.yaml >> can't create API client: can't init SDK client: gRPC dial: context deadline exceeded ``` But if I do from inside of the container, it works fine: ``` docker exec aio frostfs-cli control healthcheck --endpoint localhost:16513 --config /config/cli-cfg-sn.yaml Network status: ONLINE Health status: READY ```
alexvanin self-assigned this 2023-05-22 06:56:16 +00:00
alexvanin referenced this issue from a commit 2023-05-24 06:35:39 +00:00
Owner

Done in #8

Done in #8
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-aio#7
No description provided.