Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
thmachado opened this issue Jun 6, 2024 · 2 comments
Open
1 task done

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

thmachado opened this issue Jun 6, 2024 · 2 comments
Assignees

Comments

@thmachado
Copy link

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

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
Copy link
Member

askonev commented Jun 11, 2024

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

@thmachado
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants