| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/04/2010 09:55:07
|
jjconti
Initiate
Joined: 05/04/2010 10:18:32
Messages: 53
Offline
|
I start Mango with a Modbus IP data source created and get this error in the standar output:
WARN 2010-04-16 10:51:48,781 (com.serotonin.mango.rt.dataSource.PollingDataSour
ce.scheduleTimeout:66) - Modbus ip Prueba: poll at 2010/04/16 10:51:48 aborted b
ecause a previous poll started at 2010/04/16 10:51:38 is still running
WARN 2010-04-16 10:51:54,031 (com.serotonin.mango.rt.dataSource.modbus.ModbusDa
taSource.receivedException:226) - Modbus exception
com.serotonin.messaging.WaitingRoomException: No recipient was found waiting for
response for key com.serotonin.modbus4j.ip.IpWaitingRoomKey@7fa2
at com.serotonin.messaging.WaitingRoom.response(WaitingRoom.java:69)
at com.serotonin.messaging.MessageControl.data(MessageControl.java:147)
at com.serotonin.messaging.InputStreamListener.run(InputStreamListener.j
ava:76)
at java.lang.Thread.run(Thread.java:619)
WARN 2010-04-16 10:51:58,687 (com.serotonin.mango.rt.dataSource.PollingDataSour
ce.scheduleTimeout:66) - Modbus ip Prueba: poll at 2010/04/16 10:51:58 aborted b
ecause a previous poll started at 2010/04/16 10:51:38 is still running
What can be happening? There is now modbus server to connect.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/04/2010 10:00:25
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
I take it you're using UDP. Some background...
Request messages are sent, and then the thread "sits in the waiting room" for the response to come back. After a timeout the thread leaves the waiting room, shrugs its shoulders, and says that it didn't get a response.
Later, a response is received, but by that time "no recipient was found waiting for response".
Solution: increase your timeout.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/04/2010 10:22:20
|
jjconti
Initiate
Joined: 05/04/2010 10:18:32
Messages: 53
Offline
|
I'm using TCP.
How can I avoid this error?
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/04/2010 10:39:49
|
jjconti
Initiate
Joined: 05/04/2010 10:18:32
Messages: 53
Offline
|
Im not responding.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/04/2010 10:48:24
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
Solution: increase your timeout.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/04/2010 10:57:49
|
jjconti
Initiate
Joined: 05/04/2010 10:18:32
Messages: 53
Offline
|
How much? I have my modbus server turn off.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 16/04/2010 12:27:56
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
As much as needed to make the message go away. Seriously, i can't be more specific than that.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 03/02/2011 10:26:37
|
luke
Initiate
Joined: 03/02/2011 10:04:43
Messages: 1
Offline
|
hi,
I have almost the same problem with the WaitingRoomException.
I set the timeout to different values with the same result, but the message
is received anyways.
output:
request:
00 00 00 00 00 06 03 03 00 01 00 0C ............
com.serotonin.messaging.WaitingRoomException: No recipient was found waiting for response for key com.serotonin.modbus4j.ip.xa.XaWaitingRoomKey@8008
at com.serotonin.messaging.WaitingRoom.response(WaitingRoom.java:69)
at com.serotonin.messaging.MessageControl.data(MessageControl.java:153)
at com.serotonin.messaging.InputStreamListener.run(InputStreamListener.java:76)
at java.lang.Thread.run(Thread.java:595)
response:
00 00 00 00 00 1B 03 03 18 43 67 12 25 00 00 00 .........Cg.%...
00 00 00 00 00 43 67 12 25 00 00 00 00 43 67 12 .....Cg.%....Cg.
25 %
{voltage 1=231.07088, voltage 6=231.07088, voltage 4=231.07088, voltage 3=0.0, voltage 2=0.0, voltage 5=0.0}
Source:
Thanking you in anticipation!
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/02/2011 11:54:01
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
How much? I have my modbus server turn off.
I guess i didn't read the entire question. If your modbus server is turned off, shouldn't you expect an error? There is obviously no appropriate timeout for equipment that will never answer.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 20/02/2011 11:54:33
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1502
Offline
|
Luke, what happens if you increase the timeout?
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|