Default domain in JSXC

When I click on the link to open the JSXC app:

  • the “Domain” field is by default setup to “freedombox”
  • there is a non-displayable character
  • there is an error message “BOSH server NOT reachable or misconfigured”;

If I write in Domain the real domain name, then the error message disappears.
I previously had “freedombox” setup as the first domain, I removed it, but the field is still set to “freedombox” by default.

Is there a way to have it set to the first domain by default?

Looking at the code for that app, it will use the first domain in the table present in Name Services:

context['domain_name'] = DomainName.list_names()[0]

If I understood correctly, previously the first domain in the table was “freedombox”, but you have now changed it to the one you want to use with JSXC.
If the current situation is how I described it, it should be loading correctly, but you could try to re-run setup and it could, maybe, fix it.

Another option could be clearing the cache for the page.

Thanks for the suggestion, this has fixed the problem indeed.

I still have the character that is not displayed properly. Searching a bit more, I find it is part of unicode Private Use Area which probably implies that it may not be displayed on a number of computers. I don’t know whether this is part of JSXC and should be raised to JSXC developpers, or of plinth.

1 Like