Redirected to offline page when accessing Domoticz remotely

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
quack3d
Posts: 85
Joined: Sunday 26 March 2017 17:03
Target OS: -
Domoticz version:
Contact:

Redirected to offline page when accessing Domoticz remotely

Post by quack3d » Wednesday 06 June 2018 15:57

When I try to access Domoticz remotely (outside LAN) I get a login window. Then I log in like I use to but get redirected to DOMOTICZ OFFLINE even though it's online.

It used to work just fine.

Here is the console from browser:

Code: Select all

jquery-3.3.1.min.js:2 GET https://ip:port/json.htm?type=command&param=getconfig 403 (Forbidden)
send @ jquery-3.3.1.min.js:2
ajax @ jquery-3.3.1.min.js:2
$rootScope.GetGlobalConfig @ app.js:984
successCallback @ LoginController.js:38
(anonymous) @ angular.min.js:137
$digest @ angular.min.js:148
$apply @ angular.min.js:151
l @ angular.min.js:103
t @ angular.min.js:108
A.onload @ angular.min.js:109
load (async)
(anonymous) @ angular.min.js:108
n @ angular.min.js:105
(anonymous) @ angular.min.js:102
(anonymous) @ angular.min.js:137
$digest @ angular.min.js:148
$apply @ angular.min.js:151
(anonymous) @ app.js:187
dispatch @ jquery-3.3.1.min.js:2
y.handle @ jquery-3.3.1.min.js:2
custom.js:861 THEMEJS - URL change detected
custom.js:508 https://ip:port/#/Offline
custom.js:515 THEME JS - pageChangeDetected. currentPage was login
custom.js:518 THEME JS - pageChangeDetected. currentPage is offline
custom.js:536 +++ pagechangedetected: theme object on next line. Empty? false
custom.js:537 {type: "theme", name: "Aurora", description: "This is a dark theme for Domoticz", license: "GPL-2.0+", version: "1", …}
custom.js:573 THEME JS - user variable ID was NOT found inside theme object. Will try to get user variables list from Domoticz.
custom.js:611 THEME JS - NEW BACK END
jquery-3.3.1.min.js:2 GET https://ip:port/json.htm?type=command&param=getuservariables 401 (Unauthorized)
send @ jquery-3.3.1.min.js:2
ajax @ jquery-3.3.1.min.js:2
checkIfDomoticzHasThemeSettings @ custom.js:192
pageChangeDetected @ custom.js:574
(anonymous) @ custom.js:867
dispatch @ jquery-3.3.1.min.js:2
y.handle @ jquery-3.3.1.min.js:2
hashchange (async)
k.url @ angular.min.js:50
h @ angular.min.js:120
(anonymous) @ angular.min.js:124
$digest @ angular.min.js:148
$apply @ angular.min.js:151
l @ angular.min.js:103
t @ angular.min.js:108
A.onload @ angular.min.js:109
load (async)
(anonymous) @ angular.min.js:108
n @ angular.min.js:105
(anonymous) @ angular.min.js:102
(anonymous) @ angular.min.js:137
$digest @ angular.min.js:148
$apply @ angular.min.js:151
(anonymous) @ app.js:187
dispatch @ jquery-3.3.1.min.js:2
y.handle @ jquery-3.3.1.min.js:2
custom.js:238 The theme was unable to check if Domoticz had theme settings. Permission denied? Still on login page? No connection? Stopping..
custom.js:634 ____load observer fired
custom.js:635 (2) [MutationRecord, MutationRecord]
custom.js:640 loadobserver: currentPage = offline
custom.js:641 loadobserver: frontend = false
custom.js:651 __observer: A new mainview was loaded.
custom.js:726 THEME JS - now in backend improvements
custom.js:115 THEME JS - areweonmobile: checking if on mobile device
custom.js:1092 THEME JS - doing once per page things. 
custom.js:115 THEME JS - areweonmobile: checking if on mobile device
custom.js:640 loadobserver: currentPage = offline
custom.js:641 loadobserver: frontend = false

snellejellep
Posts: 94
Joined: Tuesday 16 May 2017 13:05
Target OS: Raspberry Pi
Domoticz version: 3.9443
Contact:

Re: Redirected to offline page when accessing Domoticz remotely

Post by snellejellep » Wednesday 06 June 2018 16:08

dit you try to remove cache and other browser stuff?
raspberry pi | xiaomi gateway/vacuum | yeelight | philips hue | zwave |ubiquiti unifi | harmony

quack3d
Posts: 85
Joined: Sunday 26 March 2017 17:03
Target OS: -
Domoticz version:
Contact:

Re: Redirected to offline page when accessing Domoticz remotely

Post by quack3d » Wednesday 06 June 2018 16:11

Yeah. Even in inkognito and on a new browser I have the problem.

quack3d
Posts: 85
Joined: Sunday 26 March 2017 17:03
Target OS: -
Domoticz version:
Contact:

Re: Redirected to offline page when accessing Domoticz remotely

Post by quack3d » Wednesday 13 June 2018 11:39

This is now fixed. Probably this one: https://github.com/domoticz/domoticz/issues/2469

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests