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

Setting public hostname is not translated to config.js for okd console #3539

Open
sparticvs opened this issue Aug 16, 2021 · 2 comments
Open

Comments

@sparticvs
Copy link

sparticvs commented Aug 16, 2021

General information

  • Minishift version: v1.34.3+4b58f89
  • OS: Linux (CentOS 7.9)
  • Hypervisor: KVM

Steps to reproduce

  1. minishift start --public-hostname localhost
  2. ssh with local port forwarding to host running minishift (e.x. ssh -L 8443:[minishift-vm-ip]:8443 [ip-of-centos-box])
  3. Open https://localhost:8443/console in browser (host that is ssh'd from)

Expected

Page should finish loading and present the console.

Actual

Page load hangs. It looks like the culprits are /api and /oapi both attempting to use the IP address for the VM instead of the Public hostname that I just supplied to minishift.

Logs

Chrome's network trace shows a request to:
https://[ip-of-centos-box]:8443/api/v1
https://[ip-of-centos-box]:8443/oapi/v1
https://[ip-of-centos-box]:8443/apis

All of which are initiated from vendor.js. All other page accesses us the public hostname.

Looking at config.js that gets handed down, it has the centos box's IP address and not the hostname.

@sparticvs
Copy link
Author

Possible that this is user error - do I need to delete the cluster and start it again using the public-hostname flag? (I didn't do that the first time)

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/stale label Jan 9, 2022
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

1 participant