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

Console-web stops receiving logs via websocket #799

Open
stalniy opened this issue Feb 6, 2025 · 0 comments
Open

Console-web stops receiving logs via websocket #799

stalniy opened this issue Feb 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@stalniy
Copy link
Contributor

stalniy commented Feb 6, 2025

Why

bug

Steps to reproduce

  1. Open https://console-api-sandbox.akash.network/ deployment in https://console.akash.network/
  2. Open logs
  3. Wait 3-5 minutes, ensure that logs are not generated by somebody else, so websocket remains silent for some time
  4. Send request to https://console-api-sandbox.akash.network/status via curl or just open in new browser tab to generate log entry
  5. Observe the result in logs

Expected result

✅ new log entry shown

Actual result

❌ logs list is not updated

Observations

It seems that websocket connection is closed when it nothing goes through it, I see a successful attempt to reconnect but provider websocket connection on proxy is not established until client sends the 1st message and the code in DeploymentLogs.tsx does not do it. Once it establishes connection once, it then ignores attempts to send a message to websocket -> https://github.com/akash-network/console/blob/main/apps/deploy-web/src/components/deployments/DeploymentLogs.tsx#L120

@stalniy stalniy added the bug Something isn't working label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant