doctor112.dev

Prosody 13.0.1 Last run Next run in 6 hours

JSON

Messaging

6 of 6

Mobile and connectivity

4 of 4

Group chat

1 of 5

Files and calls

1 of 4

Profiles and encryption

4 of 4

Informational

4 of 7, not in the score

How to fix on Prosody

Message Archive Management (Multi-User Chat)

Compliance
  • Prosody 0.11
    • Enable mod_muc_mam
    • As shown in the documentation, add a modules_enabled with this module just after the MUC Component line in your configuration
  • Prosody 0.10
    • Add the community module mod_mam_muc.
    • As shown in the documentation, add a modules_enabled with this module just after the MUC Component line in your configuration
    • To learn about how to install a community module, go to installing modules documentation

Troubleshooting

This test may fail if the tester does not have permission to create rooms on your server. Check your policy with the restrict_room_creation setting.

Discovering Alternative XMPP Connection Methods (HTTP)

Informational

This test is about letting web clients hosted on different domains connect to your server. If you don’t want this just ignore this test.

There are two parts to this. The web client needs to discover possible endpoints (Websocket or BOSH) and that discovery file needs to have proper CORS headers set for the browser to be allowed to request the file.

And finally the endpoints themselves need to be properly setup (and in the case of BOSH have CORS headers).

Both mod_bosh and mod_websocket have config parameters called cross_domain_bosh and cross_domain_websocket respectively that need to be set to true.

Only one of host-meta and host-meta.json is required to pass this test. However it is recommended to create both.

To pass this test the host-meta files should additionally have Access-Control-Allow-Origin: * response header so that the file contents can be read by web clients.

Nginx: Example code to add to server block:

location /.well-known/host-meta {
    default_type 'application/xrd+xml';
    add_header Access-Control-Allow-Origin '*' always;
}

location /.well-known/host-meta.json {
    default_type 'application/jrd+json';
    add_header Access-Control-Allow-Origin '*' always;
}

Apache: Example code to add to conf/httpd.conf file:

<Location ~ "/\.well-known/host-meta(\.json)?">
    Header set Access-Control-Allow-Origin "*"
</Location>

If you're using the built-in Prosody web server, you can instead load the community module mod_http_altconnect, which creates the needed files automatically.

Contact Addresses for XMPP Services (Abuse)

Informational
  • Make sure your server is using prosody version v0.10+
  • Follow the instructions for mod_server_contact_info to add a contact_info = { ... } block to your prosody configuration.

Note: This module was migrated from a community module to a core module in 0.10