[Solved] Dashticz timeout errors to connect to webpage

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

[Solved] Dashticz timeout errors to connect to webpage

Post by darrepac »

Hi

I am jumping into the dashticz world. I have domoticz running (since 7 years!) on Rasperry Pi and has installed (automatic install) Dashticz onto an other Raspberry with a screen attached (both are on the same lan).
Install is ok but when I try to connect on Dashticz, 9 times over 10 it failed with timeout or 404 errors. Even when it succeeds, there are some errors in the console.
Any hint?

When it "works":
2021-08-27 09_21_20-magicmirrorpi - TightVNC Viewer.png
2021-08-27 09_21_20-magicmirrorpi - TightVNC Viewer.png (122.81 KiB) Viewed 670 times

When it fails:

2021-08-27 09_24_52-magicmirrorpi - TightVNC Viewer.png
2021-08-27 09_24_52-magicmirrorpi - TightVNC Viewer.png (66.97 KiB) Viewed 670 times

or:

2021-08-27 09_26_02-magicmirrorpi - TightVNC Viewer.png
2021-08-27 09_26_02-magicmirrorpi - TightVNC Viewer.png (132.18 KiB) Viewed 670 times
Last edited by darrepac on Wednesday 24 November 2021 18:12, edited 2 times in total.
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Dashticz errors to connect to webpage

Post by darrepac »

no hint no one?
I am searching and searching but cannot find any beginning of idea on how to solve this
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Dashticz timeout errors to connect to webpage

Post by darrepac »

I did a manual setup using Apache instead of Nginx: it works like a charm!
So seems the problem come from nginx... if it helps others....
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz timeout errors to connect to webpage

Post by Lokonli »

darrepac wrote: Saturday 04 September 2021 21:32 I did a manual setup using Apache instead of Nginx: it works like a charm!
So seems the problem come from nginx... if it helps others....
Thanks for the feedback. Good to hear it's working now!
fargle
Posts: 67
Joined: Tuesday 27 March 2018 17:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz timeout errors to connect to webpage

Post by fargle »

darrepac wrote: Saturday 04 September 2021 21:32 I did a manual setup using Apache instead of Nginx: it works like a charm!
So seems the problem come from nginx... if it helps others....
Sorry for the late reply, but I don't think nginx is the problem, I use it to do the same job and act as a proxy as well. I did find that Chromium was very picky about what it would accept, and had to use several command line switches to get it to run properly with nginx, I see autoplay errors in those Inspect messages. Now why Apache works better for you…who knows. :|

My Chromium switches (in Kiosk mode):
chromium-browser --autoplay-policy=no-user-gesture-required --disable-field-trial-config --disable-application-cache --disable-cache --disable-direct-composition --noerrdialogs --incognito --disable-infobars --kiosk $KIOSK_URL --check-for-update-interval=31536000
And I used some chrome://flags as well!
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Dashticz timeout errors to connect to webpage

Post by darrepac »

Well, I still need to hit 3-4 times F5 to get it working at launch! timeout error, timeout error... when you know that it is local install, crazy!
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Dashticz timeout errors to connect to webpage

Post by darrepac »

Problem solved here: viewtopic.php?f=67&t=37425
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests