Page 1 of 2

Slow login page loading

Posted: Thu Oct 08, 2020 5:57 pm
by cdambrosio
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

Re: Slow login page loading

Posted: Thu Oct 08, 2020 7:53 pm
by maschoff
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.

Re: Slow login page loading

Posted: Fri Oct 09, 2020 10:38 am
by cdambrosio
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

Re: Slow login page loading

Posted: Fri Oct 09, 2020 10:53 am
by maschoff
Yes, and you have to use string "logon" für column "class". Leave field "value" empty or enter a URL of your choice.

Re: Slow login page loading

Posted: Fri Oct 09, 2020 2:38 pm
by cdambrosio
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

Re: Slow login page loading

Posted: Fri Oct 09, 2020 4:03 pm
by maschoff
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.

Re: Slow login page loading

Posted: Fri Oct 09, 2020 5:46 pm
by cdambrosio
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

Re: Slow login page loading

Posted: Fri Oct 09, 2020 8:06 pm
by cdambrosio
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

Re: Slow login page loading

Posted: Fri Oct 09, 2020 8:34 pm
by maschoff
Since you set class="logon", value is only "iframe.url.de"/"iframe.url.en".

Re: Slow login page loading

Posted: Fri Oct 09, 2020 9:31 pm
by cdambrosio
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

Re: Slow login page loading

Posted: Fri Oct 09, 2020 10:37 pm
by maschoff
Correct. Maybe you also have to set creation_date to current_timestamp.

Re: Slow login page loading

Posted: Sat Oct 10, 2020 9:27 am
by cdambrosio
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...

Re: Slow login page loading

Posted: Wed Oct 14, 2020 6:01 pm
by maschoff
Does it work if you set any other value for name?

Re: Slow login page loading

Posted: Thu Nov 12, 2020 12:23 am
by cdambrosio
No Martin, it continues to show the Agnitas web page...

Thank you.

Re: Slow login page loading

Posted: Fri Mar 12, 2021 1:53 pm
by iwolf
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.