Slow login page loading
Moderator: moderator
-
- Posts: 35
- Joined: Thu Oct 08, 2020 5:40 pm
Slow login page loading
Good evening,
I'm using OpenEMM 20.10.000.049 and I have very slow login page loading (in minutes, often the call ends with a timeout).
In the log files, I found the error:
2020-10-08 09:31:03,422: ERROR [http-nio-8080-exec-2] com.agnitas.emm.core.logon.beans.LogonStateBundle - Unexpected logon state: PENDING. Expected: COMPLETE. (hostId: `null`, admin: `?`)
How can I solve this problem?
Thank you.
Regards,
Carlo
I'm using OpenEMM 20.10.000.049 and I have very slow login page loading (in minutes, often the call ends with a timeout).
In the log files, I found the error:
2020-10-08 09:31:03,422: ERROR [http-nio-8080-exec-2] com.agnitas.emm.core.logon.beans.LogonStateBundle - Unexpected logon state: PENDING. Expected: COMPLETE. (hostId: `null`, admin: `?`)
How can I solve this problem?
Thank you.
Regards,
Carlo
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Slow login page loading
Remove (or replace) the values for name "iframe.url.en" and "iframe.url.de" in table config_tbl to remove or replace the HTML content shown to the left of the login form.
OpenEMM Maintainer
-
- Posts: 35
- Joined: Thu Oct 08, 2020 5:40 pm
Re: Slow login page loading
Hi Mashoff,
thank you for the fast reply.
I checked right now and I cannot find the parameters "iframe.url.en" and "iframe.url.de" in table config_tbl.
Also the OpenEMMInstaller.sh doesn't show me those parameters in "Configuration"/"Change basic configuration".
Should I add those parameters to the table manually?
Thank you.
Regards,
Carlo
thank you for the fast reply.
I checked right now and I cannot find the parameters "iframe.url.en" and "iframe.url.de" in table config_tbl.
Also the OpenEMMInstaller.sh doesn't show me those parameters in "Configuration"/"Change basic configuration".
Should I add those parameters to the table manually?
Thank you.
Regards,
Carlo
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Slow login page loading
Yes, and you have to use string "logon" für column "class". Leave field "value" empty or enter a URL of your choice.
OpenEMM Maintainer
-
- Posts: 35
- Joined: Thu Oct 08, 2020 5:40 pm
Re: Slow login page loading
Hi Martin,
I've created the two records and now I have this configuration:
logon.iframe.url.de =
logon.iframe.url.en =
Unfortunately I continue to have a very slow login loading time and the error message in the log file.
Can I try to do something else?
Thank you.
Regards,
Carlo
I've created the two records and now I have this configuration:
logon.iframe.url.de =
logon.iframe.url.en =
Unfortunately I continue to have a very slow login loading time and the error message in the log file.
Can I try to do something else?
Thank you.
Regards,
Carlo
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Slow login page loading
The error message does not have anything to do with the delayed loading. It is shown each time you request the login page without login data. Looks like a network problem to me.
OpenEMM Maintainer
-
- Posts: 35
- Joined: Thu Oct 08, 2020 5:40 pm
Re: Slow login page loading
Hi Martin,
I don't think it's a network problem (it's a 10 Gbps LAN), maybe some configuration parameter of Tomcat. I'll check and let you know.
Thank you.
Regards,
Carlo
I don't think it's a network problem (it's a 10 Gbps LAN), maybe some configuration parameter of Tomcat. I'll check and let you know.
Thank you.
Regards,
Carlo
-
- Posts: 35
- Joined: Thu Oct 08, 2020 5:40 pm
Re: Slow login page loading
Hi Martin,
I found the problem, I forgot to set the proxy server in the Java options, so the page was loaded after the timeout of the request to the Agnitas web site.
Now all is working fine except the logon.iframe.url.de and logon.iframe.url.en options: despite I set the values to blank or to another website, it always loads the Agnitas website.
Am I doing something wrong?
Thank you.
Regards,
Carlo
I found the problem, I forgot to set the proxy server in the Java options, so the page was loaded after the timeout of the request to the Agnitas web site.
Now all is working fine except the logon.iframe.url.de and logon.iframe.url.en options: despite I set the values to blank or to another website, it always loads the Agnitas website.
Am I doing something wrong?
Thank you.
Regards,
Carlo
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Slow login page loading
Since you set class="logon", value is only "iframe.url.de"/"iframe.url.en".
OpenEMM Maintainer
-
- Posts: 35
- Joined: Thu Oct 08, 2020 5:40 pm
Re: Slow login page loading
I've set two parameters:
class='logon', name='iframe.url.en',value=''
class='logon', name='iframe.url.de',value=''
Is it wrong?
Thank you.
Regards,
Carlo
class='logon', name='iframe.url.en',value=''
class='logon', name='iframe.url.de',value=''
Is it wrong?
Thank you.
Regards,
Carlo
-
- Site Admin
- Posts: 2628
- Joined: Thu Aug 03, 2006 10:20 am
- Location: Munich, Germany
- Contact:
Re: Slow login page loading
Correct. Maybe you also have to set creation_date to current_timestamp.
OpenEMM Maintainer
-
- Posts: 35
- Joined: Thu Oct 08, 2020 5:40 pm
Re: Slow login page loading
Done, but the iframe is still there.
These are the two records:
"logon" "iframe.url.en" "" \N \N "2020-10-09 13:50:43" "2020-10-09 13:50:43"
"logon" "iframe.url.de" "" \N \N "2020-10-09 22:38:35" "2020-10-09 22:38:35"
Everything seems to be ok...
These are the two records:
"logon" "iframe.url.en" "" \N \N "2020-10-09 13:50:43" "2020-10-09 13:50:43"
"logon" "iframe.url.de" "" \N \N "2020-10-09 22:38:35" "2020-10-09 22:38:35"
Everything seems to be ok...
-
- Posts: 35
- Joined: Thu Oct 08, 2020 5:40 pm
Re: Slow login page loading
No Martin, it continues to show the Agnitas web page...
Thank you.
Thank you.
Re: Slow login page loading
I thought I add up here. As www.agnitas.de is currently down / not available I am unable to login to OpenEMM.
After extending the timeout on the webserver to a value far beyond reasonable the login fields appear. Login still does not work. Is there a workaround/solution to get OpenEmm running? Is it possible to run OpenEmm without dependencies to www.agnitas.de?
Or is it just a misconfiguration on my side. Everything worked fine, until today.
Any help would be very appreciated.
After extending the timeout on the webserver to a value far beyond reasonable the login fields appear. Login still does not work. Is there a workaround/solution to get OpenEmm running? Is it possible to run OpenEmm without dependencies to www.agnitas.de?
Or is it just a misconfiguration on my side. Everything worked fine, until today.
Any help would be very appreciated.