Bug #4576

sometimes, Bonjour chat only works for receiving, not sending with Pidgin

Added by hans almost 3 years ago. Updated over 2 years ago.

Status:NewStart date:02/19/2015
Priority:UrgentDue date:
Assignee:-% Done:

0%

Category:-
Target version:v15 - AWESOME APP
Component:

Description

I set up a simple Bonjour-XMPP chat (aka Wifi Mesh Chat) with Pidgin, and while ChatSecure could receive the messages, none of the messages sent by ChatSecure were received by Pidgin. Also, I can't test ChatSecure to ChatSecure because I cannot find how to discover the other side to send them a message. I can see the ChatSecures on Pidgin, but ChatSecure can only receive from Pidgin, not send. In a different install of ChatSecure, it was able to send and receive with Pidgin, but not start an OTR session.

Here's the stacktrace from ChatSecure that couldn't send:

ecure.LLXmppConnection  E  Could not send message
                        E  Error connecting to null:5298.: remote-server-error(502) Error connecting to null:5298.
                        E    -- caused by: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5298): connect failed: ECONNREFUSED (Connection refused)
                        E      at org.jivesoftware.smack.XMPPLLConnection.connect(XMPPLLConnection.java:188)
                        E      at org.jivesoftware.smack.LLService.getConnection(LLService.java:686)
                        E      at org.jivesoftware.smack.LLService.sendPacket(LLService.java:710)
                        E      at org.jivesoftware.smack.LLService.sendMessage(LLService.java:699)
                        E      at org.jivesoftware.smack.LLChat.sendMessage(LLChat.java:81)
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.LLXmppConnection$1.run(LLXmppConnection.java:142)
                        E      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                        E      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                        E      at java.lang.Thread.run(Thread.java:841)
                        E  Nested Exception:
                        E  java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5298): connect failed: ECONNREFUSED (Connection refused)
                        E      at libcore.io.IoBridge.connect(IoBridge.java:114)
                        E      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
                        E      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
                        E      at java.net.Socket.startupSocket(Socket.java:567)
                        E      at java.net.Socket.tryAllAddresses(Socket.java:128)
                        E      at java.net.Socket.<init>(Socket.java:178)
                        E      at java.net.Socket.<init>(Socket.java:150)
                        E      at org.jivesoftware.smack.XMPPLLConnection.connect(XMPPLLConnection.java:177)
                        E      at org.jivesoftware.smack.LLService.getConnection(LLService.java:686)
                        E      at org.jivesoftware.smack.LLService.sendPacket(LLService.java:710)
                        E      at org.jivesoftware.smack.LLService.sendMessage(LLService.java:699)
                        E      at org.jivesoftware.smack.LLChat.sendMessage(LLChat.java:81)
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.LLXmppConnection$1.run(LLXmppConnection.java:142)
                        E      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                        E      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                        E      at java.lang.Thread.run(Thread.java:841)
                        E  Caused by: libcore.io.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
                        E      at libcore.io.Posix.connect(Native Method)
                        E      at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
                        E      at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
                        E      at libcore.io.IoBridge.connect(IoBridge.java:112)
                        E      ... 15 more
              dalvikvm  D  GC_FOR_ALLOC freed 1265K, 12% free 10714K/12080K, paused 51ms, total 51ms
ecure.LLXmppConnection  E  Could not send message
                        E  Error connecting to null:5298.: remote-server-error(502) Error connecting to null:5298.
                        E    -- caused by: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5298): connect failed: ECONNREFUSED (Connection refused)
                        E      at org.jivesoftware.smack.XMPPLLConnection.connect(XMPPLLConnection.java:188)
                        E      at org.jivesoftware.smack.LLService.getConnection(LLService.java:686)
                        E      at org.jivesoftware.smack.LLService.sendPacket(LLService.java:710)
                        E      at org.jivesoftware.smack.LLService.sendMessage(LLService.java:699)
                        E      at org.jivesoftware.smack.LLChat.sendMessage(LLChat.java:81)
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.LLXmppConnection$1.run(LLXmppConnection.java:142)
                        E      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                        E      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                        E      at java.lang.Thread.run(Thread.java:841)
                        E  Nested Exception:
                        E  java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 5298): connect failed: ECONNREFUSED (Connection refused)
                        E      at libcore.io.IoBridge.connect(IoBridge.java:114)
                        E      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
                        E      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
                        E      at java.net.Socket.startupSocket(Socket.java:567)
                        E      at java.net.Socket.tryAllAddresses(Socket.java:128)
                        E      at java.net.Socket.<init>(Socket.java:178)
                        E      at java.net.Socket.<init>(Socket.java:150)
                        E      at org.jivesoftware.smack.XMPPLLConnection.connect(XMPPLLConnection.java:177)
                        E      at org.jivesoftware.smack.LLService.getConnection(LLService.java:686)
                        E      at org.jivesoftware.smack.LLService.sendPacket(LLService.java:710)
                        E      at org.jivesoftware.smack.LLService.sendMessage(LLService.java:699)
                        E      at org.jivesoftware.smack.LLChat.sendMessage(LLChat.java:81)
                        E      at info.guardianproject.otr.app.im.plugin.xmpp.LLXmppConnection$1.run(LLXmppConnection.java:142)
                        E      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                        E      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                        E      at java.lang.Thread.run(Thread.java:841)
                        E  Caused by: libcore.io.ErrnoException: connect failed: ECONNREFUSED (Connection refused)
                        E      at libcore.io.Posix.connect(Native Method)
                        E      at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
                        E      at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
                        E      at libcore.io.IoBridge.connect(IoBridge.java:112)
                        E      ... 15 more

History

#1 Updated by n8fr8 over 2 years ago

  • Target version changed from v14 - Armadillo's Agram to v15 - AWESOME APP

Also available in: Atom PDF