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

Fix koyeb service logs when using multi-org #129

Open
brmzkw opened this issue Sep 11, 2023 · 0 comments
Open

Fix koyeb service logs when using multi-org #129

brmzkw opened this issue Sep 11, 2023 · 0 comments

Comments

@brmzkw
Copy link
Contributor

brmzkw commented Sep 11, 2023

When using the non-default organization, the command koyeb service logs <service id> from the CLI fails with the following error:

❌ Error while fetching the logs: unable to read the logs from the websocket connection

πŸ”Ž Additional details
Unfortunately, we couldn't read the logs from the websocket connection
If the problem persists, please create an issue on https://github.com/koyeb/koyeb-cli/issues/new

πŸ₯ How to solve the issue?
Try again in a few seconds

πŸ•¦ The original error was:
websocket: close 1006 (abnormal closure): unexpected EOF

This is because the logs API client is not initialized with the organization token in context.go.

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

1 participant