ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.6k stars 1.05k forks source link

Download failed. Press "OK" to return to document list. #2757

Open thmachado opened 1 month ago

thmachado commented 1 month ago

This issue is unique.

Operating System of DocumentServer

Docker

Version information

Latest

Expected Behavior

I want to integrate the editor with PHP.

Actual Behavior

Captura de tela 2024-06-06 142039

Reproduction Steps

1 -> I read the docs: https://api.onlyoffice.com/editors/example/php 2 -> Install Docker Desktop 3 -> Use CMD: curl --output PHP.Example.zip --location https://github.com/ONLYOFFICE/document-server-integration/releases/latest/download/PHP.Example.zip unzip PHP.Example.zip 4 -> Type CMD: cd "PHP Example" make compose-prod 5 -> image 6 -> Type CMD: sudo docker exec cdf9012ca983 sudo supervisorctl start ds:example 7 -> The example works it, but if I open an archive, create some presentation, the error happens: 'Download failed'.

Additional information

No response

askonev commented 4 weeks ago

@thmachado A have JWT credentials been installed in the php test Example? https://api.onlyoffice.com/editors/example/php#JWT_SECRET

thmachado commented 4 weeks ago

@thmachado A have JWT credentials been installed in the php test Example? https://api.onlyoffice.com/editors/example/php#JWT_SECRET

I tried two situations:

1-> JWT_SECRET=your-256-bit-secret (image below) -> default value

image

2-> JWT_SECRET= (image below) image