Page 1 of 1

[Solved] Dashticz timeout errors to connect to webpage

Posted: Friday 27 August 2021 9:26
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 775 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 775 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 775 times

Re: Dashticz errors to connect to webpage

Posted: Monday 30 August 2021 17:30
by darrepac
no hint no one?
I am searching and searching but cannot find any beginning of idea on how to solve this

Re: Dashticz timeout errors to connect to webpage

Posted: Saturday 04 September 2021 21:32
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....

Re: Dashticz timeout errors to connect to webpage

Posted: Sunday 05 September 2021 20:58
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!

Re: Dashticz timeout errors to connect to webpage

Posted: Tuesday 07 September 2021 5:43
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!

Re: Dashticz timeout errors to connect to webpage

Posted: Monday 15 November 2021 11:58
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!

Re: Dashticz timeout errors to connect to webpage

Posted: Wednesday 24 November 2021 18:12
by darrepac
Problem solved here: viewtopic.php?f=67&t=37425