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

Unable to select local web server in UI - connection refused #141

Open
yiannis-p opened this issue Feb 5, 2024 · 0 comments
Open

Unable to select local web server in UI - connection refused #141

yiannis-p opened this issue Feb 5, 2024 · 0 comments

Comments

@yiannis-p
Copy link

I am getting the following error displayed in an 'Oops!' error dialog and also logged to the console when I try to enter a local web server in the Web Page URL field:

DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): localhost:8888
ERROR:Hidamari:[GUI] Failed to access http://localhost:8888/index2.html. Error:
HTTPConnectionPool(host='localhost', port=8888): Max retries exceeded with url: /index2.html (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f055283f8e0>: Failed to establish a new connection: [Errno 111] Connection refused'))

However, if I manually edit the config file at ~/.var/app/io.github.jeffshee.Hidamari/config/hidamari/config.json and restart Hidamari, then the web page is displayed correctly.

Working config file for reference:

{
"version": 3,
"mode": "MODE_WEBPAGE",
"data_source": "http://localhost:8888/index2.html",
"is_mute": false,
"audio_volume": 50,
"is_static_wallpaper": true,
"static_wallpaper_blur_radius": 5,
"is_detect_maximized": true,
"fade_duration_sec": 1.5,
"fade_interval": 0.1,
"is_show_systray": false,
"is_first_time": false
}

Running Hidamari version 3.4 flatpak on Ubuntu.

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

1 participant