ROS Master on android is throwing error while closing connection
I am running a public ROS master on an android phone and I am able to subscribe and publish to nodes (running on Android) side from PC.
It appears that whenever I close the existing connection (by pressing Ctrl+C) from the PC side. The ROS master running on android throws the following error
04-18 23:23:05.318 23100-23150/? E/XmlRpcErrorLogger: No such handler: system.multicall
org.apache.xmlrpc.server.XmlRpcNoSuchHandlerException: No such handler: system.multicall
at org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.getHandler(AbstractReflectiveHandlerMapping.java:214)
at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:45)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208)
at org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68)
Apart from this error, the master is also throwing `Connection refused' messages.
04-19 00:11:00.557 25453-25908/? I/HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
04-19 00:11:00.558 25453-25908/? I/HttpMethodDirector: Retrying request
04-19 00:11:00.567 25453-25908/? I/HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Retrying request
04-19 00:11:00.576 25453-25458/? I/art: Do partial code cache collection, code=28KB, data=30KB
04-19 00:11:00.576 25453-25908/? I/HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
04-19 00:11:00.577 25453-25908/? I/HttpMethodDirector: Retrying request
04-19 00:11:00.580 25453-25458/? I/art: After code cache collection, code=28KB, data=30KB
Increasing code cache capacity to 128KB
04-19 00:11:00.588 25453-25906/? E/UpdatePublisherRunnable: java.lang.RuntimeException: java.net.ConnectException: Connection refused
04-19 00:11:00.599 25453-25534/? D/Echo node: ACDEFGHIJKLMNOPQRSTUVWXYZ TEST TEST TEST
04-19 00:11:09.071 25453-25524/? E/XmlRpcErrorLogger: No such handler: system.multicall
org.apache.xmlrpc.server.XmlRpcNoSuchHandlerException: No such handler: system.multicall
at org.apache.xmlrpc.server.AbstractReflectiveHandlerMapping.getHandler(AbstractReflectiveHandlerMapping.java:214)
at org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:45)
at org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:86)
at org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:200)
at org.apache.xmlrpc.webserver.Connection.run(Connection.java:208)
at org.apache.xmlrpc.util.ThreadPool$Poolable$1.run(ThreadPool.java:68)
Also, I have observed a pattern. When publishing first time with rostopic pub /topic_name
, the message goes through without error. Then if I break (Ctrl+C) and resend, the pub request is met with the above error (second code snippet) and then the message gets through.
Has anyone else faced such an error?
It appears to be a bug (it is not pointing to any of files created be me). Is this a serious issue and is there a fix for this?