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

ably.WithEnvironment("dev:name") gives a confusing error message #566

Open
amnonbc opened this issue Nov 25, 2022 · 1 comment
Open

ably.WithEnvironment("dev:name") gives a confusing error message #566

amnonbc opened this issue Nov 25, 2022 · 1 comment

Comments

@amnonbc
Copy link
Contributor

amnonbc commented Nov 25, 2022

ably.WithEnvironment("dev:name") 

or any environment name containing a colon will give a confusing error message.

[ERROR] Received recoverable error parse "wss://dev:name-realtime.ably.io": invalid port ":name-realtime.ably.io" after host`This causes additional pain as the colon form is used internally by Ably's Devops tooling.

A clearer, more helpful error message would make these failures easier to understand.

┆Issue is synchronized with this Jira Task by Unito

@sync-by-unito
Copy link

sync-by-unito bot commented Nov 25, 2022

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant