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

bin/init: Fix REST gateway polling #83

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Conversation

cthulhu-rider
Copy link
Contributor

detected by SDK test actions

a834998 defect. Wrong ENV variable with
gateway network endpoint was used. This caused:
```
curl: (2) no URL specified
```

Signed-off-by: Leonard Lyubich <[email protected]>
@@ -58,7 +58,7 @@ if [ $IS_START_REST = "true" ]; then
. /config/rest.env
/usr/bin/neofs-rest-gw &

while [[ "$(curl -s -o /dev/null -w %{http_code} $REST_GW_SERVER_LISTEN_ADDRESS)" != "307" ]];
while [[ "$(curl -s -o /dev/null -w %{http_code} $REST_GW_SERVER_ENDPOINTS_0_ADDRESS)" != "307" ]];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesnt rest-gw have some helathcheck?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not in core protocol, only Prometheus and indirect signs like this

@cthulhu-rider cthulhu-rider merged commit 8635105 into master Jul 4, 2024
2 checks passed
@cthulhu-rider cthulhu-rider deleted the bugfix/rest-cfg branch July 4, 2024 16:51
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

Successfully merging this pull request may close these issues.

2 participants