[guardian-dev] ChatSecure - cant connect to via SRV record

Nathan of Guardian nathan at guardianproject.info
Wed Sep 9 09:45:37 EDT 2015


Thanks for the report. I've created a ticket here to track the issue:
https://dev.guardianproject.info/issues/5755

On Tue, Sep 8, 2015, at 12:19 PM, harbringer at tutanota.com wrote:
> Salut
> 
> I am coming to use ChatSecure with my personal XMPP server but I have 
> connection problems when I try use SRV record settings.
> 
> - My XMPP server is prosody 0.9.8 running on standard ports
> - My phone is CyanogenMod 11
> - My ChatSecure is 14.2.0a but I have never been able to connect with any 
> version of ChatSecure
> 
> If using the default settings for ChatSecure (use SRV records),
> ChatSecure 
> never connects.  If I disable "Do SRV Lookup" and manually configure
> server 
> (host.example.org) and port (5222) ChatSecure works instantly.
> 
> I can connect to server with any desktop client - e.g. adium, pidgin,
> jitsi, 
> gajim.
> 
>  From looking at logcat, I can see ChatSecure trying to resolve
>  example.org 
> SRV records but gets it wrong
> 
>     (DNS SRV) resolved: example.org=example.org:5222
> 
> when example.org should reslve to host.example.org
> 
> Output of "dig"
> 
>     $ dig _xmpp-client._tcp.example.org SRV
> 
>     ; <<>> DiG 9.9.5-3ubuntu0.5-Ubuntu <<>> _xmpp-client._tcp.example.org SRV
>     ;; global options: +cmd
>     ;; Got answer:
>     ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 123
>     ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
> 
>     ;; QUESTION SECTION:
>     ;_xmpp-client._tcp.example.org. IN SRV
> 
>     ;; ANSWER SECTION:
>     _xmpp-client._tcp.example.org. 1800 IN SRV 0 5 5222 host.example.org.
> 
>     ;; Query time: 117 msec
>     ;; SERVER: 127.0.1.1#53(127.0.1.1)
>     ;; WHEN: Tue Sep 07 12:42:20 PST 2015
>     ;; MSG SIZE  rcvd: 103
> 
> _______________________________________________
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> To unsubscribe, email:  guardian-dev-unsubscribe at lists.mayfirst.org


-- 
  Nathan of Guardian
  nathan at guardianproject.info


More information about the guardian-dev mailing list