nextcloud / nextcloud/richdocuments
Print does't work
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 453
- Forks
- 147
- Avg merge
- 14h 54m
- Merged PRs (30d)
- 83
Description
Describe the bug
A clear and concise description of what the bug is.
Hello, my problem is print related.
This is my setup:
NC = 33.03
Richdocuments = 10.3.0
Collabora Office code = 26.04.3.1
If I try to print from:
File -> Print = nothing happens
File -> Download -> PDF = nothing happens
CTRL+P = nothing happens
All are shown an animation overlay of a box...
On developer tool (of the browser) I found this:
Request URL
https://office.xxx.xxx/cool/https%3A%2F%2Fnc.xxx.xxx%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F25878_oc9e23gzaacz/download/kqsYBtw96UcveWRGFAu7m953ys3C2qk1TrbM0JLoXXOUzxA5aNaGQLXXksocmlp4?WOPISrc=https%3A%2F%2Fnc.xxx.xxx%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F25878_oc9e23gzaacz&compat=/ws
Request Method
GET
Status Code
400 Bad Request
Remote Address
aa.bb.cc.dd:443
Referrer Policy
no-referrer
content-length
0
date
Fri, 28 Aug 2026 10:30:01
server
webserver
server
strict-transport-security
max-age=63072000; includeSubDomains; preload
x-content-type-options
nosniff
:authority
office.xxx.xxx
:method
GET
:path
/cool/https%3A%2F%2Fnc.xxx.xxx%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F25878_oc9e23gzaacz/download/kqsYBtw96UcveWRGFAu7m953ys3C2qk1TrbM0JLoXXOUzxA5aNaGQLXXksocmlp4?WOPISrc=https%3A%2F%2Fnc.xxx.xxx%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F25878_oc9e23gzaacz&compat=/ws
:scheme
https
accept
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7
accept-encoding
gzip, deflate, br, zstd
accept-language
en-US,en;q=0.9,it-IT;q=0.8,it;q=0.7
cache-control
no-cache
dnt
1
pragma
no-cache
priority
u=0, i
sec-ch-ua
""
sec-ch-ua-mobile
?0
sec-ch-ua-platform
""
sec-fetch-dest
iframe
sec-fetch-mode
navigate
sec-fetch-site
same-origin
sec-fetch-user
?1
upgrade-insecure-requests
1
user-agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
No log on NC side or apache side;
But this is coming from coolwsd:
Aug 28 12:34:37 collabora02.yyy.yyy coolwsd[883]: wsd-00883-01028 2026-08-28 10:34:37.884190 [ websrv_poll ] ERR #130: Exception while processing incoming request: GET HTTP/1.1 /cool//https:%252F%252Fnc.xxx.xxx%252Findex.php%252Fapps%252Frichdocuments%252Fwopi%252Ffiles%252F25878_oc9e23gzaacz/download/55yebCYM3GtaWBuDeZhd6kQjjvpWGr6n9oECOy6XNobDPN5J4d4PYOJVy3DMpez5?WOPISrc=https%3A%2F%2Fnc.xxx.xxx%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F25878_oc9e23gzaacz&compat=/ws, content-length: -1, chunked: false, Host: office.xxx.xxx / Pragma: no-cache / Cache-Control: no-cache / Sec-Ch-Ua-Platform: "" / User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0 / Sec-Ch-Ua: "" / Dnt: 1 / Sec-Ch-Ua-Mobile: ?0 / Accept: / / Sec-Fetch-Site: same-origin / Sec-Fetch-Mode: cors / Sec-Fetch-Dest: empty / Accept-Encoding: gzip, deflate, zstd / Accept-Language: en-US,en;q=0.9,it-IT;q=0.8,it;q=0.7 / Priority: u=1, i / X-Forwarded-For: aa.bb.cc.dd / X-Forwarded-Host: office.xxx.xxx / X-Forwarded-Server: office.xxx.xxx / Connection: Keep-Alive, closeConnection: false, socket-data: [GET /cool//https:%252F%252Fnc.xxx.xxx%252Findex.php%252Fapps%252Frichdocuments%252Fwopi%252Ffiles%252F25878_oc9e23gzaacz/download/55yebCYM3GtaWBuDeZhd6kQjjvpWGr6n9oECOy6XNobDPN5J4d4PYOJVy3DMpez5?WOPISrc=https%3...]: Invalid URI.|home/collabora/jenkins/workspace/package_code_26.04_rpm/rpmbuild/BUILD/coolwsd-26.04.3.1/wsd/ClientRequestDispatcher.cpp:1702
It's seems there's too many slashes or double encoding,....
Or am I wrong??
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing File → Print, File → Download → PDF, and Ctrl+P with Nextcloud 33.03, richdocuments 10.3.0, and Collabora Office 26.04.3.1. Compare the browser request with the coolwsd log, especially the doubled slashes and percent encoding in the URI. Done means print and PDF download work without a 400 response or an Invalid URI error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100