WOPI Error The File cannot be accessed right now

Do you want to: Ask a how-to question
Document Server version: 7.4.1 Community
Type of installation of the Document Server (deb/rpm)
OS: CentOS
Browser version: Firefox V91

Hi,

I have installed OnlyOffice Docs V7.4.1 and enabled Wopi in default.json. But when i try to create new document on wopi page (document server example) i get this error


Can anyone please know how to solve this? Thanks.

Hello @tiennm
Please reproduce the situation and provide us with whole Document server logs folder. It’s located here: /var/log/onlyoffice/documentserver/

Hello, although I am not in the same deployment environment as the original questioner, I have also encountered the issue of “The file cannot be accessed right now”.
My log shows that
2025/01/17 03:06:30 [error] 1371#1371: *32 open() “/var/www/onlyoffice/documentserver/web-apps/vendor/socketio/socket.io.min.js.map” failed (2: No such file or directory), client: 172.17.0.1, server: , request: “GET /8.2.0-789a9259906be7e3e2a8f2e32ceba725/web-apps/vendor/socketio/socket.io.min.js.map HTTP/1.1”, host: “localhost:8080”

[2025-01-17T03:06:34.857] [ERROR] [localhost] [yc1359] [uid-1737081735974] nodeJS - dnsLookup error: hostname = http Error: getaddrinfo ENOTFOUND http
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
[2025-01-17T03:06:34.857] [WARN] [localhost] [yc1359] [uid-1737081735974] nodeJS - checkIpFilter error: url = http://http://localhost:8080

If you can identify the problem, I would greatly appreciate it :blush:

Hello @She

nodeJS - dnsLookup error: hostname = http

The connection between Document Server and your app tries to use ‘http’ as domain name that seems incorrect. Please try to check your DNS settings, Document Server doesn’t know what ‘http’ domain is.

好的,谢谢您的回答。我将在尝试之后告诉您答案。