-
Notifications
You must be signed in to change notification settings - Fork 60
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
Help message suggests cluster URL may use an IP, but the code will only accept URL #201
Comments
Thank you for providing the feedback. Have opened an internal ticket to have this fixed. |
Hi, Yaron. In addition to the above, there's some (regex?) validation on the URL field which is overly restrictive (it doesn't validate that the input is a URL, I'm not actually sure what the rules are, but, for example, it treats It's probably better to not do any validation here at all, or do: try {
new URL(...);
// URL is valid
catch (error) {
// URL is not valid
} instead of what's been done now. But, more importantly, there needs to be better explanation of what is supposed to go into that field. Right now the documentation and the inline help don't give any explanation at all. I'm working with another developer who claims that this is probably the URL with the domain name that should resolve to the IP of the ingress controller connected to the rest of Run:ai services, but, so far, I wasn't able to make it work. Especially, because I don't know where it should resolve to that IP (and is this an IP on the external or the internal network): on the computer running the Web interface, or on the computer running the ingress controller? And if the later, should it resolve to that IP on the external network of that computer, or on the internal network managed by Kubernetes? I'd appreciate any advice on this. Thanks! |
Hi @wvxvw! And to your second point, I will also ask for better documentation regarding the Cluster URL field. |
Hello. When trying to authenticate to Run:ai the input form has this in the help message next to the field labeled "Cluster URL":
However, when I use the IP of ingress controller (which brings us to the next problem), I receive the following error:
There's no such thing as "Cluster URL"
Not only this help message is contradictory to the implementation, there's no way to tell what did you mean when you wrote "Cluster URL". Please name it in a way that describes what you actually wanted this to be and change the wording of the help tooltip to reflect that. There's no need to include examples in the help message: users who can make it as far as that message had already opened a Web browser before and have seen examples of URLs.
The text was updated successfully, but these errors were encountered: