Modern XMPP project discussion - 2026-04-14


  1. MattJ

    https://github.com/snikket-im/xmpp-account-exporter/blob/master/index.js#L9

  2. admin

    MattJ: Interesting, 'cause I thought I have the XEP-0156 requirement satisfied by having https://chatterboxtown.us/.well-known/host-meta and https://chatterboxtown.us/.well-known/host-meta.json set up. Even passing XEP-0156 compliance test. I tried the account exporter again and I'm still only able to have my server as source, but is not able to connect as destination.

  3. MattJ

    That line is old, if you support XEP-0156 now then it should be removed

  4. menel

    Hm it seems to be the same url, hardcoded or not.

  5. Link Mauve

    admin, the Content-Type header of https://chatterboxtown.us/.well-known/host-meta is wrong, it should be application/rdf+xml, not text/html; charset=utf-8.

  6. Link Mauve

    Oh wait it is correct with a GET, just not with a HEAD.

  7. Link Mauve

    Same for the JSON, weird.

  8. admin

    I'm using the ejabberd mod_host___meta for the request handler, but I'm also using apache ProxyPass to proxy from port 443 to 5443 (ejabberd's https listener) If you access https://chatterboxtown.us:5443/.well-known/host-meta is the result the same?

  9. stratself

    > I'm using the ejabberd mod_host___meta for the request handler, but I'm also using apache ProxyPass to proxy from port 443 to 5443 (ejabberd's https listener) If you access https://chatterboxtown.us:5443/.well-known/host-meta is the result the same? i can access the host-metas on :5443, but not :443

  10. Link Mauve

    admin, yes, it even says 404 if I do a HEAD request.

  11. Link Mauve

    You can test with this command: curl -IL https://chatterboxtown.us:5443/.well-known/host-meta

  12. Link Mauve

    You can test with this command: curl --head https://chatterboxtown.us:5443/.well-known/host-meta

  13. admin

    Ok. I'll report to ejabberd channel

  14. admin

    quick question though, how does this explain the account exporter is able to log in to my server when I use it as the data source?

  15. Link Mauve

    I don’t know if that’s your issue, but that’s an issue which could throw off some clients.