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

Octopi parsing IPv6 address incorrectly #797

Open
KR8MER opened this issue Nov 6, 2022 · 1 comment
Open

Octopi parsing IPv6 address incorrectly #797

KR8MER opened this issue Nov 6, 2022 · 1 comment

Comments

@KR8MER
Copy link

KR8MER commented Nov 6, 2022

In the shell, octopi is reporting the IPv6 address to access the UI incorrectly.

IPv6 addresses must be contained in brackets[] to open them directly in the browser.

In the attached picture, you can see the URL displayed to access does not contain required brackets, leading to confusion when novices try to access the webpage, especially when they don’t understand the url presented looks different than what they’re expecting.

It should look like this. http://[fdb0:9cb:c472:4645:bcd3:b225:4c0d:f1ea]/

6D7175B1-C84E-4883-81F1-669ECE9DD1B7

@guysoft
Copy link
Owner

guysoft commented Nov 7, 2022

Yep, i actually use IPv6 but usually the hostname works, never had to copy one.
It will need to be changed here: https://github.com/guysoft/OctoPi/blob/devel/src/modules/octopi/start_chroot_script#L230
Can't find a decent bash validation script for that, PRs welcome

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

No branches or pull requests

2 participants