Get "Connection Error" when invoking dbus_bus_get()

jinqing17 jinqing17 at 163.com
Tue Jan 8 02:51:49 PST 2008


 
Hi,
 
I'm new to dbus programming.
I have writen an application to receive/send signals by session bus. When running, the following message is given.
 
Connection Error (Did not receive a reply. Possible causes include: the remote a
pplication did not send a reply, the message bus security policy blocked the rep
ly, the reply timeout expired, or the network connection was broken.)
 
This error message was send out when invoking dbus_bus_get(). I looked through the source of dbus and found it was emitted in _dbus_pending_call_set_timeout_error_unlocked(), which is invoked in dbus_connection_send_with_reply().
 
Why did this error exsit? It there something wrong with the bus's configuration?
Any information is appieciated! Thanks a lot.
 
Best regards
Qing
   
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080108/05fbe667/attachment.htm 


More information about the dbus mailing list