Moodle Plugin cannot connect to Document server

Hi, i have setup ONLYOFFICE Docs Community Edition server successfully and it works when i’m testing with example ds. but when i try to setup with moodle plugin, i get error on moodle plugin setting page. please help.

Document Server version: v9.1.0.100
Moodle Plugin Version: v6.1.0
Type of installation of the Document Server (docker, deb/rpm, exe, please point us to the installation guide that you used as well): docker
OS: Linux
Browser version: Chrome Version 140.0.7339.128 (Official Build) (64-bit)
Additional information:

Hey @Layhout, :wave:

Quick note: The official stable Document Server release is currently v9.0.4 (v9.1 is a test/beta version). If possible, try downgrading to v9.0.4 via Docker to rule out any beta quirks — you can pull it with docker pull onlyoffice/documentserver:9.0.4.

To troubleshoot further, could you clarify:

  1. Are you using any proxy or reverse proxy (e.g., Nginx) in front of the Document Server?
  2. What’s your network setup? Is the Document Server on the same machine/server as Moodle, or different ones (e.g., separate IPs)?
  3. Can you share a screenshot of your Moodle plugin settings (e.g., Document Server URL, JWT secret, etc.)? Blur sensitive info if needed.
  4. For JWT: Double-check the Authorization header and Document Server secret match. You can find the secret in /etc/onlyoffice/documentserver/local.json (e.g., under “services.CoAuthoring.token” — it should be the same in Moodle settings).

Share those details, and we’ll pinpoint the fix. :wink: