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

Is there a way to make H2O use domain name instead of IP in Flow URL? #64

Closed
Dom-nik opened this issue Aug 29, 2016 · 6 comments
Closed

Comments

@Dom-nik
Copy link

Dom-nik commented Aug 29, 2016

Hello,
Sorry I'm writing here, but Flow and H2O-3 don't have their own Issues sections, it seems.

Can I make H2O print the domain name of the server instead of IP in the console log?
I mean this part of the log:


  Open H2O Flow in browser: http://<IP>:54321 (CMD + click in Mac OSX)

I mean is there an h2o internal parameter for this?
It causes me some problems when I try to use an SSL/TLS certificate (it's based on domain name) and the user gets a message that points to the IP. Another related problem is that the address doesn't take into account using SSL (prints 'http' instead of 'https').

I know it's a minor inconvenience, but it may be confusing the users.

@mmalohlava
Copy link
Member

Hi Dominik,

right now, there is no way how to override default behavior. But I can imagine a small modification which would do hostname lookup.

@mmalohlava
Copy link
Member

Regarding flow, h2o-3 issue management - we are using primarily JIRA: see it here: http://jira.h2o.ai

@jakubhava
Copy link
Contributor

Hi @Dom-nik, recently we added support for SPARK_PUBLIC_DNS option.

If you set this option to public name such as export SPARK_PUBLIC_DNS=h2o.ai this address will be shown for the flow ui which should fix your issue.

I'm closing this issue for know, but please reopen in it if doesn't work for you.

Thanks you, Kuba

@Tagar
Copy link

Tagar commented Feb 25, 2019

@jakubhava Is there is an equivalent for such functionality for clusters
started as h2o backend clusters?

We'd like -notify /some/path/cluster-info.txt to use domain name instead of IP address.
The reason is, we use a valid (purchased) SSL certificate for h2o backend, so
when user navigates to that address using IP address, browser gives a warning
that SSL cert doesn't cover IP address.

Thanks.

@jakubhava
Copy link
Contributor

Hi @Tagar nope, this is currently not supported. Please file a JIRA for this feature request in H2O-3 project and the team will decide on the priority & impact.

@Tagar
Copy link

Tagar commented Mar 11, 2019

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

No branches or pull requests

4 participants