Hi, all, I'm having trouble communicating w/OpenSRF. Rather than attach every available conf & log file, I'll start with the contents of srfsh_opensrf.log.
Thanks in advance for your time & help, Mark Andrews --- srfsh 2010-05-29 10:39:10 [INFO:18712:osrf_system.c:628:] Bootstrapping system with domain private.localhost, port 5222, and unixpath (none) srfsh 2010-05-29 10:39:10 [INT :18712:socket_bundle.c:96:] Adding socket node with fd 3 srfsh 2010-05-29 10:39:10 [INT :18712:socket_bundle.c:702:] 1 active sockets after select() srfsh 2010-05-29 10:39:10 [INT :18712:socket_bundle.c:879:] 18712 : Received data at 1275147550.550427 srfsh 2010-05-29 10:39:10 [INT :18712:socket_bundle.c:884:] Socket 3 Read 161 bytes and data: <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1602732628' from='private.localhost' xml:lang='en'> srfsh 2010-05-29 10:39:10 [INT :18712:socket_bundle.c:702:] 1 active sockets after select() srfsh 2010-05-29 10:39:10 [INT :18712:socket_bundle.c:879:] 18712 : Received data at 1275147550.551553 srfsh 2010-05-29 10:39:10 [INT :18712:socket_bundle.c:884:] Socket 3 Read 34 bytes and data: <iq type='result' id='123456789'/> srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:480:] opensrf.math session is stateless srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:491:] Building a new client session with id [opensrf.math] [1275147571.108268.127514757118712] srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:1017:] AppSession in queue_wait with timeout 0 srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:702:] 0 active sockets after select() srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:879:] 18712 : Received data at 1275147571.108439 srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:748:] App Session [opensrf.math] [1275147571.108268.127514757118712] resetting remote id to [email protected]/opensrf.math srfsh 2010-05-29 10:39:31 [INFO:18712:osrf_app_session.c:961:] [opensrf.math] sent 152 bytes of data to [email protected] /opensrf.math srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:964:] Sent: [{"__c":"osrfMessage","__p":{"threadTrace":"1","locale":"en-US","type":"REQUEST","payload":{"__c":"osrfMethod","__p":{"method":"add","params":[2,2]}}}}] srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:703:] Pushing [1] onto request queue for session [opensrf.math] [1275147571.108268.127514757118712] srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:271:] In app_request receive with remaining time [120] srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:1017:] AppSession in queue_wait with timeout 0 srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:702:] 0 active sockets after select() srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:879:] 18712 : Received data at 1275147571.109051 srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:1017:] AppSession in queue_wait with timeout 120 srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:702:] 1 active sockets after select() srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:879:] 18712 : Received data at 1275147571.109984 srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:884:] Socket 3 Read 696 bytes and data: <message from='[email protected]/opensrf.math' to='[email protected]/_lubuntu_1275147550.548334_18712' type='error' router_from='' router_to='' router_class='' router_command='' osrf_xid=''><thread>1275147571.108268.127514757118712</thread><body>[{"__c":"osrfMessage","__p":{"threadTrace":"1","locale":"en-US","type":"REQUEST","payload":{"__c":"osrfMethod","__p":{"method":"add","params":[2,2]}}}}]</body><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></message> srfsh 2010-05-29 10:39:31 [INFO:18712:transport_session.c:667:] Received <error> message with type cancel and code 503 srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_stack.c:44:] Received message from transport code from [email protected]/opensrf.math srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_stack.c:87:] Transport handler received new message from [email protected]/opensrf.math to [email protected]/_lubuntu_1275147550.548334_18712 with body [{"__c":"osrfMessage","__p":{"threadTrace":"1","locale":"en-US","type":"REQUEST","payload":{"__c":"osrfMethod","__p":{"method":"add","params":[2,2]}}}}] srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_stack.c:123:] We received 1 messages from [email protected]/opensrf.math srfsh 2010-05-29 10:39:31 [WARN:18712:osrf_stack.c:134:] !!! Received Jabber layer error message srfsh 2010-05-29 10:39:31 [WARN:18712:osrf_stack.c:144:] * Jabber Error is for top level remote id [[email protected]/opensrf.math], no one to send my message to! Cutting request short... srfsh 2010-05-29 10:39:31 [INFO:18712:osrf_stack.c:159:] Message processing duration 0.000089 srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_stack.c:162:] after msg delete srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:702:] 0 active sockets after select() srfsh 2010-05-29 10:39:31 [INT :18712:socket_bundle.c:879:] 18712 : Received data at 1275147571.110664 srfsh 2010-05-29 10:39:31 [ERR :18712:osrf_app_session.c:298:] Transport error in recv() srfsh 2010-05-29 10:39:31 [DEBG:18712:osrf_app_session.c:1036:] AppSession [opensrf.math] [1275147571.108268.127514757118712] destroying self and deleting requests srfsh 2010-05-29 10:40:00 [INT :18712:socket_bundle.c:616:] Closing socket 3 srfsh 2010-05-29 10:40:00 [DEBG:18712:socket_bundle.c:475:] removing socket 3
