External Service Discovery (STUN)
Compliance- Setup a STUN server.
- Add the External Service Discovery plugin.
- Configure Openfire to advertise your STUN server via the admin console: Server > Media Services > Ext. Service Discovery
Look at the Examples Section of XEP-0156 and create appropriate files for your server. 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>
Not supported by Openfire.
No instructions for Openfire yet.
No instructions for Openfire yet.
Markdown
[](https://xepscore.org/server/systemfailure.li)HTML
<a href="https://xepscore.org/server/systemfailure.li"><img src="https://xepscore.org/badge/systemfailure.li.svg" height="20" alt="xepscore: systemfailure.li"></a>Tested once a day. Run now at most once every 15 minutes.