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

"minikube service "anyservice" " command does not open default browser Ubuntu. #13985

Closed
OleksiiPasihnyk opened this issue Apr 20, 2022 · 16 comments
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/linux

Comments

@OleksiiPasihnyk
Copy link

What Happened?

Steps to reproduce the issue:
I am trying to run the hello world service I deployed and exposed but after running "minikube service helloworld", I am getting an error message instead of minikube launching the service on my default browser.

linked issue

Attach the log file

log.txt

Operating System

Ubuntu

Driver

VirtualBox

@afbjorklund
Copy link
Collaborator

afbjorklund commented Apr 20, 2022

What is the error message ? If you run xdg-open with the URL, does it show anything ?

Examples

xdg-open 'http://www.freedesktop.org/'

Opens the freedesktop.org website in the user's default browser.

Also: xdg-settings get default-web-browser

@afbjorklund afbjorklund added triage/needs-information Indicates an issue needs more information in order to work on it. os/linux labels Apr 20, 2022
@OleksiiPasihnyk
Copy link
Author

OleksiiPasihnyk commented Apr 21, 2022

#First command to check default settings
~$ xdg-settings get default-web-browser
$ google-chrome.desktop

#second command to check if deafault settings open the browser from console, yes it does open chrome.
~$ xdg-open 'http://www.freedesktop.org/'
~$ Fontconfig error: "/home/axelp/.fonts.conf", line 1: parsing XML declaration: '?>' expected

Opening in existing browser session.

@OleksiiPasihnyk
Copy link
Author

OleksiiPasihnyk commented Apr 21, 2022

If I run

$ minikube service list

I get proper responce which looks like a table and there is proper url link which is clickable and active and it does open in the browser properly.

@afbjorklund
Copy link
Collaborator

Sounds good. What was the error ?

@medyagh
Copy link
Member

medyagh commented May 11, 2022

oks like a table and there is proper url link which is clickable and active and it does open in the browser properly.

I think when you click on it manually it will use your OS opening generic links

@henning
Copy link

henning commented Jun 7, 2022

I have the same issue, also on Ubuntu 22.04 but with the docker driver.

Version info:

$ minikube version
minikube version: v1.25.2
commit: 362d5fd

What do I expect?

I expect "minikube service SERVICENAME" to open a webbrowser, as it is documented here: https://minikube.sigs.k8s.io/docs/start/
I am really exactly trying to do what is described there in 4) - running and accessing the hello-minikube echo server.

What happens instead?
nothing at all. Neither does a browser open nor am I shown any message about an error.

I am pretty sure, my systems default browser config is fine, because "minikube dashboard" works as expected, opens the Browser with the dashboard.

Looking at "minikube help service" I get this information:

"Returns the Kubernetes URL(s) for service(s) in your local cluster. In the case of multiple URLs they will be printed
one at a time."

Which is not the same as what the tutorial says - but also not what really happens to me.

The part of making services accessible seems to work:
"minikube service list" lists URL's to access the service and manually entering them also works fine.

So it looks very much like "minikube service SERVICENAME" is just not giving proper output and also not starting the browser.

Also answering the xdg questions:

$ xdg-settings get default-web-browser
firefox_firefox.desktop

And

$ xdg-open 'http://www.freedesktop.org/'

shows the freedesktop page in my browser, just as "minikube dashboard" opens the dashboard in my browser.

@spowelljr spowelljr added kind/support Categorizes issue or PR as a support question. and removed triage/needs-information Indicates an issue needs more information in order to work on it. labels Jun 29, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 27, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 27, 2022
@henning
Copy link

henning commented Oct 28, 2022

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Oct 28, 2022
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 26, 2023
@henning
Copy link

henning commented Jan 26, 2023

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 26, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 26, 2023
@henning
Copy link

henning commented Apr 27, 2023 via email

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 27, 2023
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

@k8s-ci-robot k8s-ci-robot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2023
@k8s-ci-robot
Copy link
Contributor

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. os/linux
Projects
None yet
Development

No branches or pull requests

7 participants