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

open-with-web endpoint doesn't open .odt file in the OnlyOffice #10422

Closed
ScharfViktor opened this issue Jan 30, 2024 · 1 comment
Closed

open-with-web endpoint doesn't open .odt file in the OnlyOffice #10422

ScharfViktor opened this issue Jan 30, 2024 · 1 comment
Labels
Type:Bug Something isn't working

Comments

@ScharfViktor
Copy link
Contributor

ScharfViktor commented Jan 30, 2024

related:

Steps:

  • Make sure you have OnlyOffice and collabora(not running to me) running

  • create .odt and .docs file

  • open .docs file in OnlyOffice
    paste to url https://host.docker.internal:9200/external/open-with-web?appName=OnlyOffice&fileId=docsFileUuid -works

  • open .odt file in OnlyOffice
    paste to url https://host.docker.internal:9200/external/open-with-web?appName=OnlyOffice&fileId=odtFileUuid

Actual: 500 error message: "wopi: neither edit nor view app url found"
image

wopiLog:

2024-01-30 12:19:29 {"time": "2024-01-30T11:19:29.286", "host": "153ef3529af0", "level": "ERROR", "process": "wopiserver", "module": "cs3iface", "msg": "Exception when uploading file to Reva", "reason": "HTTPSConnectionPool(host='host.docker.internal', port=9200): Max retries exceeded with url: /data (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1007)')))"}
2024-01-30 12:19:29 {"time": "2024-01-30T11:19:29.294", "host": "153ef3529af0", "level": "ERROR", "process": "wopiserver", "module": "wopiutils", "msg": "Error writing file, a copy was stored locally for later recovery", "filename": "d7f16774-d0b8-4020-a2f7-afeddab6903e/New file.docx", "recoveredpath": "/var/spool/wopirecovery/20240130T111929_editedby_d7f16774-d0b8-4020-a2f7-afeddab6903e_origat_d7f16774-d0b8-4020-a2f7-afeddab6903e_New_file.docx", "token": "NwCzVZToMiLsKuhuABZM", "error": "HTTPSConnectionPool(host='host.docker.internal', port=9200): Max retries exceeded with url: /data (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1007)')))"}

testing with wopi https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_wopi/docker-compose.yml

using web I can open .odt file using collabora or onlyOffice
but I cannot choose fileEditor if I open via link and use param appName=fileEditor

.odt file opens via Collabora even if I set appName=OnlyOffice
.docx file opens via OnlyOffice even if I set appName=collabora

Screen.Recording.2024-01-30.at.12.36.58.mov

cc @JammingBen

@JammingBen
Copy link
Contributor

I think that #11113 fixes this (and owncloud/ocis#9495 will eventually fix it on the server side). Feel free to reopen if the issue persists.

@github-project-automation github-project-automation bot moved this from Qualification to Done in Infinite Scale Team Board Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants