Skip to content

The document could not be saved. Error: "Please check connection settings or contact your administrator". #803

@hydrococcous

Description

@hydrococcous

Issue Description

I am encountering an issue while running OnlyOffice in my local testing environment using Docker. Whenever I try to save a document, I consistently receive the following error message:

Steps to Reproduce

  1. Install OnlyOffice Document Server using Docker.
  2. Set up the Angular front-end with the @onlyoffice/document-editor-angular package.
  3. Use the following callbackUrl configuration (adapted for local network):
    callbackUrl: "http://192.168.178.72:8082/files/save/callback.js"
  4. Attempt to save the document.

Expected Behavior

The document should save successfully using the local server and the specified callback URL.

Observed Behavior

The save operation fails, and the error message appears:
"The document could not be saved. Please check connection settings or contact your administrator."

Environment

  • OnlyOffice Document Server: Running in Docker locally.
  • Callback Server: Express.js server to handle callbacks.
  • Frontend: Angular application using the @onlyoffice/document-editor-angular package.
  • Local IP: 192.168.178.31.

Relevant Configuration

Configuration used in the Angular component:

config: IConfig = { document: { "fileType": "docx", "key": "123456789abcdefghijkl", "title": "test.docx", "url": "https://domain.com/sample.docx", permissions: { edit: true } }, editorConfig: { lang: "en", mode: "edit", callbackUrl: "http://192.168.178.72:8082/files/save/callback.js", user: { name: "Editor Name", id: "userid-001" } } }

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions