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

Network status is "online" but diagnostics say "The application cannot reach the general internet" and WebUI fails to connect #8165

Open
laurentalsina opened this issue Feb 1, 2025 · 4 comments
Labels
kind/bug Something isn't working

Comments

@laurentalsina
Copy link

Actual Behavior

Version 1.17.1 on Mac OS Sequoia 15.2, no issue on install except puzzling message:
EACCES: permission denied, copyfile '/Users/myuser/.config/fish/config.fish' -> '/Users/myuser/.config/fish/config.fish.rd-temp'
The "Open WebUI" plugins fails on internet connection, so setting debug log on in troubleshooting I see:

2025-02-01T17:30:48.996Z: Check CONNECTED_TO_INTERNET result: {"description":"The application cannot reach the general internet for updated kubernetes versions and other components, but can still operate.","passed":true,"fixes":[]}

This is not an airgapped computer, I have Tailscale but switched it off and it did not change anything, there is no proxy in use.

Steps to Reproduce

fresh install of rancher desktop, install the Open WebUI extension from the Extension menu, which completes

Result

WebUI fails to connect to the internet, reports HTTP 401 on startup, CONNECTED_TO_INTERNET fail message in log

Expected Behavior

WebUI has internet access

Additional Information

No response

Rancher Desktop Version

1.17.1

Rancher Desktop K8s Version

1.31.5

Which container engine are you using?

containerd (nerdctl)

What operating system are you using?

macOS

Operating System / Build Version

1.17.1

What CPU architecture are you using?

arm64 (Apple Silicon)

Linux only: what package format did you use to install Rancher Desktop?

None

Windows User Only

No response

@laurentalsina laurentalsina added the kind/bug Something isn't working label Feb 1, 2025
@laurentalsina
Copy link
Author

just before reporting a red "401 Unauthorised" the WebUI tab shows a green "You're now logged in."

@mook-as
Copy link
Contributor

mook-as commented Feb 3, 2025

2025-02-01T17:30:48.996Z: Check CONNECTED_TO_INTERNET result: {"description":"The application cannot reach the general internet for updated kubernetes versions and other components, but can still operate.","passed":true,"fixes":[]}

That's a red herring; it's reporting that your internet connection is fine (so the diagnostic doesn't show up, and we got lazy and didn't change the message that normally didn't get seen).

EACCES: permission denied, copyfile '/Users/myuser/.config/fish/config.fish' -> '/Users/myuser/.config/fish/config.fish.rd-temp'

That one is odd. We actually do the shells in order, but it's possible that .bashrc, .tcshrc etc. don't exist.

await this.managePosix(true);
await this.manageCsh(true);
await this.manageFish(true);

Given the message, it's probably failing in:
await fs.promises.copyFile(path, tempName, fs.constants.COPYFILE_EXCL | fs.constants.COPYFILE_FICLONE);

Would you be able to check that the source file (config.fish) is readable, and the output (config.fish.rd-temp) is writable? Either way, though, it should have no relation to any of the other errors.

WebUI fails to connect to the internet, reports HTTP 401 on startup

I think that's the actual issue you're reporting? However, that's the part with the lease visible logging; @gunamata do you know how to continue diagnosing this?

@laurentalsina
Copy link
Author

About the fish error, the file is readable:
laurent@Mac ~ % ls -l ./.config/fish/config.fish
-rw-r--r-- 1 root staff 1 May 26 2024 ./.config/fish/config.fish

not sure what you mean by :
the output (config.fish.rd-temp) is writable
the folder fish is writable but by root, is this the issue?
drwxr-xr-x 3 root staff 96 May 23 2024 fish

@mook-as
Copy link
Contributor

mook-as commented Feb 3, 2025

Huh, I don't think Rancher Desktop normally runs as root (it just has the option to elevate to root privileges to write to some places like /opt/rancher-desktop for some networking configuration).

If the fish configuration directory is only writable by root (and not your normal user), that would lead to the displayed error.

But again, that has nothing to do with the Open WebUI extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants