Dashticz not showing
Moderators: leecollings, htilburgs, robgeerts
- RobD
- Posts: 17
- Joined: Friday 21 April 2017 15:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: Leiden
- Contact:
Dashticz not showing
I run Domoticz (2010-1) and Dashticz together on a Pi4B with Buster.
this ran without problems and I could connect to the Dashticz webpage from all kind of devices in my network.
Recently I upgraded to Dashticz v 3.3.3.1
it took me some time to get it running but finally it worked (I thought).
Yes it works on my Pi. When Ik connect to the Pi with VNC and start the browser on my Pi (localhost:8083 or x.y.116.101:8083) it works fine.
but
from any other device in my network it is different.
when I connect to x.y.116.101:8083 I get a black page saying "dashticz is loading"
and then after a few seconds
"Error
for more help visit Dashticz V3 documentation"
I tried this on the IPv4 address als well on the IPv6 address.
Because Dashticz is running in a Docker container (at lease the Apache processes run in the container) where the Docker container has its own IPaddresses (in an other range than the pi itself) it is hard to analyse the origin of this problem.
all ideas are welcome
this ran without problems and I could connect to the Dashticz webpage from all kind of devices in my network.
Recently I upgraded to Dashticz v 3.3.3.1
it took me some time to get it running but finally it worked (I thought).
Yes it works on my Pi. When Ik connect to the Pi with VNC and start the browser on my Pi (localhost:8083 or x.y.116.101:8083) it works fine.
but
from any other device in my network it is different.
when I connect to x.y.116.101:8083 I get a black page saying "dashticz is loading"
and then after a few seconds
"Error
for more help visit Dashticz V3 documentation"
I tried this on the IPv4 address als well on the IPv6 address.
Because Dashticz is running in a Docker container (at lease the Apache processes run in the container) where the Docker container has its own IPaddresses (in an other range than the pi itself) it is hard to analyse the origin of this problem.
all ideas are welcome
Plans without action are a daydream.
Action without plans are a nightmare
Action without plans are a nightmare
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz not showing
Dashticz runs in your browser and makes a connection from the browser to Domoticz.That means the Domoticz IP setting in CONFIG.js must be accessible from your browser's system.
If you open DevTools (F12) then on the network tab you can see the network requests. Check the result of the request to the Domoticz server.
If you open DevTools (F12) then on the network tab you can see the network requests. Check the result of the request to the Domoticz server.
- RobD
- Posts: 17
- Joined: Friday 21 April 2017 15:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: Leiden
- Contact:
Re: Dashticz not showing
F12 gives an interesting view on this issue.
first I get a bunch of GET request to the PI, ending with status 200 (ok)
then a GET to raw.githubusercontent.com with a file version.txt ending with status 304
and then a GET to
and then it stops.
I did not install Dashticz with security settings like username and password. password is a 12 letter/digit construct as generated by a PWmanager like lastpass.
I see a couple of things:
first I get a bunch of GET request to the PI, ending with status 200 (ok)
then a GET to raw.githubusercontent.com with a file version.txt ending with status 304
and then a GET to
Code: Select all
localhost:8080 trying to get a json file: json.htm?username=xxxxx&password=xxxxx&type=command¶meter=getversion
I did not install Dashticz with security settings like username and password. password is a 12 letter/digit construct as generated by a PWmanager like lastpass.
I see a couple of things:
- localhost:8080 refers (when executed on my PI) to my Domoticz instance, which is afaik not username/pw procected
- the request executed in a browser on my PI returns status 200
- when I edit the command on my lapopt and replace localhost with the IP of my PI it also returns with status 200
- but the fact that the GET command in the browser on my laptop refers to localhost:8080 is never going to work I think
Plans without action are a daydream.
Action without plans are a nightmare
Action without plans are a nightmare
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz not showing
This last one is the first request from Dashticz to Domoticz. Somehow this connection is not working.
First try the following:
In Domoticz-Settings:
set authentication to 'basic auth'
allow login without password for local network (add x.y.z.*; 127.0.0.* to the field)
I think it will work after this.
If not, try the following:
* switch to beta branch
in CONFIG.js remove
First try the following:
In Domoticz-Settings:
set authentication to 'basic auth'
allow login without password for local network (add x.y.z.*; 127.0.0.* to the field)
I think it will work after this.
If not, try the following:
* switch to beta branch
Code: Select all
git checkout beta
git pull
Code: Select all
config['user_name'] = '';
config['pass_word'] = '';
- RobD
- Posts: 17
- Joined: Friday 21 April 2017 15:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: Leiden
- Contact:
Re: Dashticz not showing
Thanks, I am going to try this asap.
I am not a web programmer so I am puzzled by this:
The request you mention from Dashticz to Domoticz is in both cases (Pi and laptop) the same: localhost:8080
On my PI that is fine, Domoticz is running on localhost, but if this request is executed IN a browser on any other machine than the Pi this request must point to a IPaddress in stead of to localhost.
so we can start doing things on the Domoticz side but I fear that the problem is on the Dashticz side. Most likely the Dashticz configuration contains the address for Domoticz als localhost:8080 in stead of IPaddress:8080
so it might be a good idea to also look in the Dashticz config files to see what is written there.
Any clue in which configfile the Domoticz host is registered?
I am not a web programmer so I am puzzled by this:
The request you mention from Dashticz to Domoticz is in both cases (Pi and laptop) the same: localhost:8080
On my PI that is fine, Domoticz is running on localhost, but if this request is executed IN a browser on any other machine than the Pi this request must point to a IPaddress in stead of to localhost.
so we can start doing things on the Domoticz side but I fear that the problem is on the Dashticz side. Most likely the Dashticz configuration contains the address for Domoticz als localhost:8080 in stead of IPaddress:8080
so it might be a good idea to also look in the Dashticz config files to see what is written there.
Any clue in which configfile the Domoticz host is registered?
Plans without action are a daydream.
Action without plans are a nightmare
Action without plans are a nightmare
-
- Posts: 82
- Joined: Tuesday 04 February 2020 11:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Dashticz not showing
Did you set your domoticz ip in the CONFIG.js file?
like this:
like this:
Code: Select all
config['domoticz_ip'] = 'http://192.168.0.151:8080';
-
- Posts: 2262
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz not showing
It's in 'custom/CONFIG.js'RobD wrote: ↑Thursday 16 April 2020 9:32 Thanks, I am going to try this asap.
I am not a web programmer so I am puzzled by this:
The request you mention from Dashticz to Domoticz is in both cases (Pi and laptop) the same: localhost:8080
On my PI that is fine, Domoticz is running on localhost, but if this request is executed IN a browser on any other machine than the Pi this request must point to a IPaddress in stead of to localhost.
so we can start doing things on the Domoticz side but I fear that the problem is on the Dashticz side. Most likely the Dashticz configuration contains the address for Domoticz als localhost:8080 in stead of IPaddress:8080
so it might be a good idea to also look in the Dashticz config files to see what is written there.
Any clue in which configfile the Domoticz host is registered?
- RobD
- Posts: 17
- Joined: Friday 21 April 2017 15:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10717
- Location: Leiden
- Contact:
Re: Dashticz not showing
yep there it was.
not so very smart of me. But I never realised that this information was executed in the browser.
and the problem was solved. thanks for you help.
Code: Select all
config['domoticz_ip'] = 'http://localhost:8080';
Code: Select all
config['domoticz_ip'] = 'http://xxx.yy.116.101:8080';
Plans without action are a daydream.
Action without plans are a nightmare
Action without plans are a nightmare
Who is online
Users browsing this forum: No registered users and 1 guest