SonarException: Login timed out

101 views
Skip to first unread message

Mehdi BigBoss

unread,
Aug 30, 2021, 4:50:42 PM8/30/21
to IRIS ATMS
hello everyone,

I just installed iris on a virtual machine, when i try to log in i get the following error :

us.mn.state.dot.sonar.SonarException: Login timed out
at us.mn.state.dot.sonar.client.Client.waitLogin(Unknown Source)
at us.mn.state.dot.sonar.client.Client.login(Unknown Source)
at us.mn.state.dot.tms.client.SonarState.login(Unknown Source)
at us.mn.state.dot.tms.client.IrisClient.createSession(Unknown Source)
at us.mn.state.dot.tms.client.IrisClient.access$300(Unknown Source)
at us.mn.state.dot.tms.client.IrisClient$4.doInBackground(Unknown Source)
at us.mn.state.dot.tms.client.IrisClient$4.doInBackground(Unknown Source)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

also, when i check iris.stderr file i find the following errors :

IRIS 5.23.0 restarted @ Mon Aug 30 02:20:12 WEST 2021
Assertions are turned off.
IRIS Server active
IRIS 5.23.0 restarted @ Mon Aug 30 21:28:30 WEST 2021
Assertions are turned off.
IRIS Server active
Scheduler: flush
us.mn.state.dot.tms.TMSException: org.postgresql.util.PSQLException: ERROR: invalid input syntax for type timestamp with time zone: "Mon Aug 30 21:44:11 WEST 2021"
  Position: 110
at us.mn.state.dot.tms.server.SQLConnection.update(Unknown Source)
at us.mn.state.dot.tms.server.SQLConnection.create(Unknown Source)
at us.mn.state.dot.tms.server.event.BaseEvent.doStore(Unknown Source)
at us.mn.state.dot.tms.server.AccessLogger$1.perform(Unknown Source)
at us.mn.state.dot.sched.Job.performTask(Unknown Source)
at us.mn.state.dot.sched.Scheduler.performJob(Unknown Source)
at us.mn.state.dot.sched.Scheduler.performJobs(Unknown Source)
at us.mn.state.dot.sched.Scheduler.access$000(Unknown Source)
at us.mn.state.dot.sched.Scheduler$2.run(Unknown Source)

can you please help me 

thank you

Lau, Douglas (MNIT)

unread,
Aug 31, 2021, 9:46:19 AM8/31/21
to IRIS ATMS
The error you're seeing on the server is a bug in the database logging -- only time zones in North America will work.

The login timeout looks like a different problem, though.  Can you use this command to create a log file:

touch /var/log/iris/sonar

Also, make sure the file is writable to the tms user.  When you try to log in, any errors should be logged in that file.

-Doug Lau

From: iri...@googlegroups.com <iri...@googlegroups.com> on behalf of Mehdi BigBoss <elmehd...@gmail.com>
Sent: Monday, August 30, 2021 3:50 PM
To: IRIS ATMS <iri...@googlegroups.com>
Subject: SonarException: Login timed out
 

This message may be from an external email source.
Do not select links or open attachments unless verified. Report all suspicious emails to Minnesota IT Services Security Operations Center.



--
You received this message because you are subscribed to the Google Groups "IRIS ATMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irisits+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/irisits/bacece59-17cb-4625-8501-2dcb68fcd18cn%40googlegroups.com.

Mehdi BigBoss

unread,
Aug 31, 2021, 3:13:04 PM8/31/21
to IRIS ATMS
thank you Mr Doug Lau for your response

I'm surprised, today the client has logged in, I haven't changed anything. i'm using morocco time zone.

Capture.PNG

anyway, i created the file sonar log file as you said, it's empty now 

thank you

Lau, Douglas (MNIT)

unread,
Aug 31, 2021, 3:22:29 PM8/31/21
to iri...@googlegroups.com
The client will time out if the server doesn't respond after 20 seconds.  Maybe there was something slowing down the network on your earlier attempt.

-Doug Lau

Sent: Tuesday, August 31, 2021 2:13 PM
To: IRIS ATMS <iri...@googlegroups.com>
Subject: Re: SonarException: Login timed out
 

oai tiến

unread,
Sep 30, 2021, 11:03:11 PM9/30/21
to IRIS ATMS
Hi Doug Lau,
I am installing IRIS and have the same situation as in the picture. Can you give me some advice? Thank you. errserver.PNGlogin time out.PNG
,
Oai
Vào lúc 02:22:29 UTC+7 ngày Thứ Tư, 1 tháng 9, 2021, Doug Lau đã viết:

Lau, Douglas (MNIT)

unread,
Oct 1, 2021, 8:38:16 AM10/1/21
to iri...@googlegroups.com
One way to debug connection issues is to create a file called /var/log/iris/sonar_tls, and make it writable to the tms user.  When a client tries to connect, this will log the state changes.

-Doug Lau

From: iri...@googlegroups.com <iri...@googlegroups.com> on behalf of oai tiến <nguyenti...@gmail.com>
Sent: Thursday, September 30, 2021 10:03 PM

oai tiến

unread,
Oct 2, 2021, 12:23:36 AM10/2/21
to IRIS ATMS
Hi Doug Lau,
Thank you for your help. I created the file as you said and logged IRIS on the client but no log was generated in the file. I log in is admin, atms_242
loginerr.PNGerrlog.PNG
Vào lúc 19:38:16 UTC+7 ngày Thứ Sáu, 1 tháng 10, 2021, Doug Lau đã viết:

Lau, Douglas (MNIT)

unread,
Oct 4, 2021, 8:41:43 AM10/4/21
to iri...@googlegroups.com
From the end of that stack trace, it looks like there was a problem writing to either the sonar or sonar_tls debug log.  Can you post the whole stack trace (from iris.stderr)?

-Doug Lau

Sent: Friday, October 1, 2021 11:23 PM
Message has been deleted
Message has been deleted

oai tiến

unread,
Oct 5, 2021, 4:27:22 AM10/5/21
to IRIS ATMS
Hi Doug Lau,
I reinstalled the IRIS 5.23.0 and got the following results:
log sonar_tls.PNGiris-client.PNG
Vào lúc 19:41:43 UTC+7 ngày Thứ Hai, 4 tháng 10, 2021, Doug Lau đã viết:

Lau, Douglas (MNIT)

unread,
Oct 5, 2021, 8:59:55 AM10/5/21
to iri...@googlegroups.com
Which Java versions are you using on the client / server?  Is it the same machine or two separate ones?  If separate, what kind of network sits between them?

-Doug Lau

Sent: Tuesday, October 5, 2021 3:27 AM

oai tiến

unread,
Oct 5, 2021, 9:34:52 AM10/5/21
to IRIS ATMS
java server.PNGjava window.PNG
I am using a physical server to install a fedora server virtual and a windows 10 virtual machine
Vào lúc 19:59:55 UTC+7 ngày Thứ Ba, 5 tháng 10, 2021, Doug Lau đã viết:

oai tiến

unread,
Oct 5, 2021, 9:47:29 PM10/5/21
to IRIS ATMS
Hi Doug Lau,
After the morning I turned it on and logged in normally. Do you have any advice?
susscess login.PNG
Vào lúc 19:59:55 UTC+7 ngày Thứ Ba, 5 tháng 10, 2021, Doug Lau đã viết:

oai tiến

unread,
Oct 6, 2021, 5:33:33 AM10/6/21
to IRIS ATMS
Hi Doug Lau,
I am importing the map into PostgreSQL giving this error. Can you help me?error map.PNG

Vào lúc 19:59:55 UTC+7 ngày Thứ Ba, 5 tháng 10, 2021, Doug Lau đã viết:

Lau, Douglas (MNIT)

unread,
Oct 6, 2021, 8:50:34 AM10/6/21
to iri...@googlegroups.com
Sorry, I don't know much about the osm2pgsql tool.  Maybe your OSM file contains some errors?  You could try an OSM file for a different region to see if that's the case.

-Doug Lau

Sent: Wednesday, October 6, 2021 4:33 AM
Reply all
Reply to author
Forward
0 new messages