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
- Install OnlyOffice Document Server using Docker.
- Set up the Angular front-end with the
@onlyoffice/document-editor-angular package.
- Use the following
callbackUrl configuration (adapted for local network):
callbackUrl: "http://192.168.178.72:8082/files/save/callback.js"
- 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" } } }
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
@onlyoffice/document-editor-angularpackage.callbackUrlconfiguration (adapted for local network):callbackUrl: "http://192.168.178.72:8082/files/save/callback.js"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-editor-angularpackage.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" } } }