Trouble to download via "download as" from File menu

Document Server version: Document server 7.
Type of installation of the Document Server (docker, deb/rpm, exe): Docker
OS: CentOS7
Browser version: Firefox 115.4.0esr (64 bits)

I have integrated OnlyOffice with my ECM (Electronic Content Management) application (using the WOPI protocol).

when I try to download the document (docx) via “download as” from File menu, any error logged and any downloaded document exists in my download directory !
is there any addittional configuration on DocumentServer allowing to download document in download directory ?

— logs

[2024-02-20T11:13:23.030] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - Start downloadAs: {"c":"save","id":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userid":"ahassain","tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIzYjlmMjE2OS00MmQyLTQ2MjQtYjk1NS1jZTM1MWE5NzhkYjBfMTcwODQyNzU3NDEyMyIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzA4NDI3NTc2MTA5fSwiaWF0IjoxNzA4NDI3NTc2LCJleHAiOjE3MTEwMTk1NzZ9.h3z4qAGdkKLg_tSp8NYHDK5mhZj8a2YvsQMpEaNHXTE","outputformat":65,"title":"GED_Mocator_ Note de cadrage.docx","nobase64":true,"savetype":3,"saveindex":1,"userconnectionid":"ahassain2"}
[2024-02-20T11:13:23.031] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - checkJwt success: decoded = {"document":{"key":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","permissions":{"edit":true,"copy":true,"print":false}},"editorConfig":{"user":{"id":"ahassain","name":"Ahassain","index":2},"ds_view":false,"ds_isCloseCoAuthoring":false,"ds_sessionTimeConnect":1708427576109},"iat":1708427576,"exp":1711019576}
[2024-02-20T11:13:23.041] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - End downloadAs: {"type":"save","status":"ok","data":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123_2967"}
[2024-02-20T11:13:23.246] [INFO] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - receiveTask start: {"ctx":{"logger":{"category":"nodeJS","context":{"TENANT":"localhost","DOCID":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","USERID":"userId"},"callStackSkipIndex":0},"tenant":"localhost","docId":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userId":"userId"},"cmd":{"c":"save","id":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userid":"ahassain","userindex":2,"tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIzYjlmMjE2OS00MmQyLTQ2MjQtYjk1NS1jZTM1MWE5NzhkYjBfMTcwODQyNzU3NDEyMyIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzA4NDI3NTc2MTA5fSwiaWF0IjoxNzA4NDI3NTc2LCJleHAiOjE3MTEwMTk1NzZ9.h3z4qAGdkKLg_tSp8NYHDK5mhZj8a2YvsQMpEaNHXTE","data":null,"title":"GED_Mocator_ Note de cadrage.docx","outputformat":65,"outputpath":"output.docx","savetype":3,"saveindex":1,"status_info":0,"savekey":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123_2967","userconnectionid":"ahassain2","nobase64":true}}
[2024-02-20T11:13:23.252] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - receiveTask publish: {"type":"save","status":"ok"}
[2024-02-20T11:13:23.252] [INFO] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - receiveTask end
[2024-02-20T11:13:23.253] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - pubsub message start:{"type":7,"ctx":{"logger":{"category":"nodeJS","context":{"TENANT":"localhost","DOCID":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","USERID":"userId"},"callStackSkipIndex":0},"tenant":"localhost","docId":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userId":"userId"},"cmd":{"c":"save","id":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","userid":"ahassain","userindex":2,"tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIzYjlmMjE2OS00MmQyLTQ2MjQtYjk1NS1jZTM1MWE5NzhkYjBfMTcwODQyNzU3NDEyMyIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzA4NDI3NTc2MTA5fSwiaWF0IjoxNzA4NDI3NTc2LCJleHAiOjE3MTEwMTk1NzZ9.h3z4qAGdkKLg_tSp8NYHDK5mhZj8a2YvsQMpEaNHXTE","data":null,"title":"GED_Mocator_ Note de cadrage.docx","outputformat":65,"outputpath":"output.docx","savetype":3,"saveindex":1,"status_info":0,"savekey":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123_2967","userconnectionid":"ahassain2","nobase64":true},"output":{"type":"documentOpen","data":{"type":"save","status":"ok"}},"needUrlKey":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123_2967/output.docx","needUrlMethod":2,"needUrlType":1}
[2024-02-20T11:13:23.254] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [userId] nodeJS - sendData: type = documentOpen
[2024-02-20T11:15:02.044] [DEBUG] [localhost] [docId] [userId] nodeJS - expireDoc connections.length = 1
[2024-02-20T11:15:02.044] [INFO] [localhost] [docId] [userId] nodeJS - checkDocumentExpire start
[2024-02-20T11:15:02.044] [INFO] [localhost] [docId] [userId] nodeJS - checkDocumentExpire end: startSaveCount = 0, removedCount = 0
[2024-02-20T11:15:49.713] [INFO] [localhost] [docId] [userId] nodeJS - refreshWopiLock start
[2024-02-20T11:15:49.729] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - getCallbackByUserIndex: userIndex = undefined callbacks = {"userIndex":1,"callback":"{\"lockId\":\"JpXD9w694OaABuVzbz64yw==\",\"fileInfo\":{\"BaseFileName\":\"GED_Mocator_ Note de cadrage.docx\",\"OwnerId\":\"ahassain\",\"Size\":243286,\"UserId\":\"ahassain\",\"Version\":\"0\",\"SupportsExtendedLockLength\":true,\"SupportsGetLock\":true,\"SupportsLocks\":true,\"SupportsUpdate\":true,\"SupportsUserInfo\":true,\"UserFriendlyName\":\"Ahassain\",\"ReadOnly\":false,\"UserCanNotWriteRelative\":true,\"UserCanWrite\":true,\"HostEditUrl\":\"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=f3764b78-9ab9-4de6-94de-9cfc7b1a4821\",\"BreadcrumbBrandName\":\"Any - Office Online\",\"DisablePrint\":true}}"}{"userIndex":2,"callback":"{\"wopiSrc\":\"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123\",\"access_token\":\"f3764b78-9ab9-4de6-94de-9cfc7b1a4821\",\"access_token_ttl\":1708607574782,\"hostSessionId\":\"\",\"userSessionId\":\"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123\",\"mode\":\"edit\"}"}
[2024-02-20T11:15:49.729] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - getCallbackByUserIndex: userIndex = 1 callbacks = {"userIndex":1,"callback":"{\"lockId\":\"JpXD9w694OaABuVzbz64yw==\",\"fileInfo\":{\"BaseFileName\":\"GED_Mocator_ Note de cadrage.docx\",\"OwnerId\":\"ahassain\",\"Size\":243286,\"UserId\":\"ahassain\",\"Version\":\"0\",\"SupportsExtendedLockLength\":true,\"SupportsGetLock\":true,\"SupportsLocks\":true,\"SupportsUpdate\":true,\"SupportsUserInfo\":true,\"UserFriendlyName\":\"Ahassain\",\"ReadOnly\":false,\"UserCanNotWriteRelative\":true,\"UserCanWrite\":true,\"HostEditUrl\":\"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=f3764b78-9ab9-4de6-94de-9cfc7b1a4821\",\"BreadcrumbBrandName\":\"Any - Office Online\",\"DisablePrint\":true}}"}{"userIndex":2,"callback":"{\"wopiSrc\":\"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123\",\"access_token\":\"f3764b78-9ab9-4de6-94de-9cfc7b1a4821\",\"access_token_ttl\":1708607574782,\"hostSessionId\":\"\",\"userSessionId\":\"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123\",\"mode\":\"edit\"}"}
[2024-02-20T11:15:49.729] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - parseWopiCallback wopiParams:{"commonInfo":{"lockId":"JpXD9w694OaABuVzbz64yw==","fileInfo":{"BaseFileName":"GED_Mocator_ Note de cadrage.docx","OwnerId":"ahassain","Size":243286,"UserId":"ahassain","Version":"0","SupportsExtendedLockLength":true,"SupportsGetLock":true,"SupportsLocks":true,"SupportsUpdate":true,"SupportsUserInfo":true,"UserFriendlyName":"Ahassain","ReadOnly":false,"UserCanNotWriteRelative":true,"UserCanWrite":true,"HostEditUrl":"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=f3764b78-9ab9-4de6-94de-9cfc7b1a4821","BreadcrumbBrandName":"Any - Office Online","DisablePrint":true}},"userAuth":{"wopiSrc":"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","access_token":"f3764b78-9ab9-4de6-94de-9cfc7b1a4821","access_token_ttl":1708607574782,"hostSessionId":"","userSessionId":"3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123","mode":"edit"}}
[2024-02-20T11:15:49.729] [INFO] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - wopi REFRESH_LOCK start
[2024-02-20T11:15:49.733] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - wopi REFRESH_LOCK request uri=https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123?access_token=f3764b78-9ab9-4de6-94de-9cfc7b1a4821 headers={"X-WOPI-Override":"REFRESH_LOCK","X-WOPI-Lock":"JpXD9w694OaABuVzbz64yw==","X-WOPI-Proof":"p2jHagS54zDZ+7OYYe/d0ZYWc3KUFe/bR7GdUXljOvN9Ht+Hie/ai+mwoApcvQ/n4in43CuNR1NSe7sCEsU5lWdw7dnifk8l8jLBvepIWJ7wxpyG30j1WfM/XhUlwhWmH3t9vj94XuPDiVH3H7mjol7aKObaBSbQXnfqzqbTVNlt8QnJTOia0oaJmy3EZIS0O8chAAnYAzoQAVjOqefgV0uE/6qw9Gzgs4WZPxtodhK7eIcl3PGEWFZjlX+X4SkubP/msSctQmk3Bh2A83f5eicMa8D1JInSo6n50xtWvuJRPXOZOXtNmvA2QQijy8SQl3pnXGip94NmVLVIwPf3VA==","X-WOPI-ProofOld":"p2jHagS54zDZ+7OYYe/d0ZYWc3KUFe/bR7GdUXljOvN9Ht+Hie/ai+mwoApcvQ/n4in43CuNR1NSe7sCEsU5lWdw7dnifk8l8jLBvepIWJ7wxpyG30j1WfM/XhUlwhWmH3t9vj94XuPDiVH3H7mjol7aKObaBSbQXnfqzqbTVNlt8QnJTOia0oaJmy3EZIS0O8chAAnYAzoQAVjOqefgV0uE/6qw9Gzgs4WZPxtodhK7eIcl3PGEWFZjlX+X4SkubP/msSctQmk3Bh2A83f5eicMa8D1JInSo6n50xtWvuJRPXOZOXtNmvA2QQijy8SQl3pnXGip94NmVLVIwPf3VA==","X-WOPI-TimeStamp":"638440245497300000","X-WOPI-ClientVersion":"7.3.2.8","Authorization":"Bearer f3764b78-9ab9-4de6-94de-9cfc7b1a4821"}
[2024-02-20T11:15:49.745] [DEBUG] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - wopi REFRESH_LOCK response headers={"x-frame-options":"sameorigin","referrer-policy":"no-referrer","strict-transport-security":"max-age=63072000","x-content-type-options":"nosniff","content-security-policy":"frame-ancestors 'self' https:;","feature-policy":"fullscreen 'self';","x-xss-protection":"1; mode=block","access-control-allow-origin":"*","access-control-allow-methods":"POST, PUT, GET, DELETE, OPTIONS","access-control-max-age":"3600","access-control-allow-headers":"Content-Type,Authorization,Authorization-Assume,Accept,X-Requested-With,X-Access-Token","cache-control":"no-cache,no-store,must-revalidate","pragma":"no-cache","expires":"0","vary":"Accept-Encoding","x-wopi-itemversion":"0","x-wopi-lock":"JpXD9w694OaABuVzbz64yw==","content-length":"0","date":"Tue, 20 Feb 2024 11:15:49 GMT","keep-alive":"timeout=60","connection":"keep-alive"}
[2024-02-20T11:15:49.746] [INFO] [localhost] [3b9f2169-42d2-4624-b955-ce351a978db0_1708427574123] [ahassain2] nodeJS - wopi REFRESH_LOCK end
[2024-02-20T11:15:49.746] [INFO] [localhost] [docId] [userId] nodeJS - refreshWopiLock end
[2024-02-20T11:15:53.311] [INFO] [localhost] [docId] [userId] nodeJS - forceSaveTimeout start
[2024-02-20T11:15:53.311] [INFO] [localhost] [docId] [userId] nodeJS - forceSaveTimeout end
[2024-02-20T11:17:02.045] [DEBUG] [localhost] [docId] [userId] nodeJS - expireDoc connections.length = 1
[2024-02-20T11:17:02.046] [INFO] [localhost] [docId] [userId] nodeJS - checkDocumentExpire start
[2024-02-20T11:17:02.046] [INFO] [localhost] [docId] [userId] nodeJS - checkDocumentExpire end: startSaveCount = 0, removedCount = 0

Hello @ahassain

I am not quite following this description, please clarify it. What do you mean by “any error logged” and “any downloaded document exist in my download directory”?
Do you receive any error pop when attempting to save the document via Download As button?

The “download as” button has no effect. No error pop, no error in logs file and no document downloaded

Thanks for providing the details.

First of all, please note that there is newer version of Document Server is available. Please update your instance to the actual version and check the situation again.

Dear all,
First post on this forum :slight_smile:
I’m new to OnlyOffice, so please bear with me.
I’m working with @ahassain on this issue.
I couldn’t find any errors in the logs either.
Several bugs have been fixed that could be related to our issue, #55043 for instance.

I guess an update is in order.
Best regards,
Samuel

Hello @sviscapi

Not every issue is mentioned in change log. Essentially update is required to make sure that the latest version also has this issue.

Hello @Constantine
The latest vesion (8.x) was loaded and deployed but the trouble remains

Thanks to have a look in logs when we use “download as” option from File menu

[2024-05-22T08:36:54.351] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [userId] nodeJS - Start downloadAs: {"c":"save","id":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815","userid":"ahassain","tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIwZjZkYTU0NS1mY2YwLTQxNmUtOWZiMy1kZGE4MWM4MTI0NGFfMTcxNjM2NTIxNTgxNSIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzE2MzY1MjE3NzEyfSwiaWF0IjoxNzE2MzY1MjE4LCJleHAiOjE3MTg5NTcyMTh9.NF1celzt-JLcqmpITlcoivekZLKCglDi74YKflUrPG4","outputformat":65,"title":"ABCDEF.docx","nobase64":true,"lcid":12,"savetype":3,"saveindex":1,"userconnectionid":"ahassain2"}
[2024-05-22T08:36:54.352] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [userId] nodeJS - checkJwt success: decoded = {"document":{"key":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815","permissions":{"edit":true,"copy":true,"print":false}},"editorConfig":{"user":{"id":"ahassain","name":"Ahassain","index":2},"ds_view":false,"ds_isCloseCoAuthoring":false,"ds_sessionTimeConnect":1716365217712},"iat":1716365218,"exp":1718957218}
[2024-05-22T08:36:54.369] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [userId] nodeJS - End downloadAs: {"type":"save","status":"ok","data":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815_3110"}
[2024-05-22T08:36:54.486] [INFO] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [userId] nodeJS - receiveTask start: {"ctx":{"tenant":"localhost","docId":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815","userId":"userId","shardKey":"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815"},"cmd":{"c":"save","id":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815","userid":"ahassain","userindex":2,"tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIwZjZkYTU0NS1mY2YwLTQxNmUtOWZiMy1kZGE4MWM4MTI0NGFfMTcxNjM2NTIxNTgxNSIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzE2MzY1MjE3NzEyfSwiaWF0IjoxNzE2MzY1MjE4LCJleHAiOjE3MTg5NTcyMTh9.NF1celzt-JLcqmpITlcoivekZLKCglDi74YKflUrPG4","data":null,"title":"ABCDEF.docx","outputformat":65,"outputpath":"output.docx","savetype":3,"saveindex":1,"status_info":0,"savekey":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815_3110","userconnectionid":"ahassain2","lcid":12,"nobase64":true,"originformat":65}}
[2024-05-22T08:36:54.489] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [userId] nodeJS - receiveTask publish: {"type":"save","status":"ok"}
[2024-05-22T08:36:54.490] [INFO] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [userId] nodeJS - receiveTask end
[2024-05-22T08:36:54.491] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [userId] nodeJS - pubsub message start:{"type":7,"ctx":{"tenant":"localhost","docId":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815","userId":"userId","shardKey":"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815"},"cmd":{"c":"save","id":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815","userid":"ahassain","userindex":2,"tokenSession":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJrZXkiOiIwZjZkYTU0NS1mY2YwLTQxNmUtOWZiMy1kZGE4MWM4MTI0NGFfMTcxNjM2NTIxNTgxNSIsInBlcm1pc3Npb25zIjp7ImVkaXQiOnRydWUsImNvcHkiOnRydWUsInByaW50IjpmYWxzZX19LCJlZGl0b3JDb25maWciOnsidXNlciI6eyJpZCI6ImFoYXNzYWluIiwibmFtZSI6IkFoYXNzYWluIiwiaW5kZXgiOjJ9LCJkc192aWV3IjpmYWxzZSwiZHNfaXNDbG9zZUNvQXV0aG9yaW5nIjpmYWxzZSwiZHNfc2Vzc2lvblRpbWVDb25uZWN0IjoxNzE2MzY1MjE3NzEyfSwiaWF0IjoxNzE2MzY1MjE4LCJleHAiOjE3MTg5NTcyMTh9.NF1celzt-JLcqmpITlcoivekZLKCglDi74YKflUrPG4","data":null,"title":"ABCDEF.docx","outputformat":65,"outputpath":"output.docx","savetype":3,"saveindex":1,"status_info":0,"savekey":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815_3110","userconnectionid":"ahassain2","lcid":12,"nobase64":true,"originformat":65},"output":{"type":"documentOpen","data":{"type":"save","status":"ok"}},"needUrlKey":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815_3110/output.docx","needUrlMethod":2,"needUrlType":1}
[2024-05-22T08:36:54.492] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [userId] nodeJS - sendData: type = documentOpen
[2024-05-22T08:37:01.184] [DEBUG] [localhost] [docId] [userId] nodeJS - expireDoc connections.length = 1
[2024-05-22T08:37:01.293] [INFO] [localhost] [docId] [userId] nodeJS - refreshWopiLock start
[2024-05-22T08:37:01.294] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [ahassain2] nodeJS - getCallbackByUserIndex: userIndex = undefined callbacks = {"userIndex":1,"callback":"{\"lockId\":\"Jqj2O/D/TzLpocg3bpUMkA==\",\"fileInfo\":{\"BaseFileName\":\"ABCDEF.docx\",\"OwnerId\":\"ahassain\",\"Size\":34389,\"UserId\":\"ahassain\",\"Version\":\"0\",\"SupportsExtendedLockLength\":true,\"SupportsGetLock\":true,\"SupportsLocks\":true,\"SupportsUpdate\":true,\"SupportsUserInfo\":true,\"UserFriendlyName\":\"Ahassain\",\"ReadOnly\":false,\"UserCanNotWriteRelative\":true,\"UserCanWrite\":true,\"HostEditUrl\":\"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=57bb56fc-b1be-43a9-ae4f-5e209cadf325\",\"BreadcrumbBrandName\":\"Any - Office Online\",\"DisablePrint\":true}}"}{"userIndex":2,"callback":"{\"wopiSrc\":\"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815\",\"access_token\":\"57bb56fc-b1be-43a9-ae4f-5e209cadf325\",\"access_token_ttl\":1716545216055,\"hostSessionId\":\"\",\"userSessionId\":\"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815\",\"mode\":\"edit\"}"}
[2024-05-22T08:37:01.295] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [ahassain2] nodeJS - getCallbackByUserIndex: userIndex = 1 callbacks = {"userIndex":1,"callback":"{\"lockId\":\"Jqj2O/D/TzLpocg3bpUMkA==\",\"fileInfo\":{\"BaseFileName\":\"ABCDEF.docx\",\"OwnerId\":\"ahassain\",\"Size\":34389,\"UserId\":\"ahassain\",\"Version\":\"0\",\"SupportsExtendedLockLength\":true,\"SupportsGetLock\":true,\"SupportsLocks\":true,\"SupportsUpdate\":true,\"SupportsUserInfo\":true,\"UserFriendlyName\":\"Ahassain\",\"ReadOnly\":false,\"UserCanNotWriteRelative\":true,\"UserCanWrite\":true,\"HostEditUrl\":\"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=57bb56fc-b1be-43a9-ae4f-5e209cadf325\",\"BreadcrumbBrandName\":\"Any - Office Online\",\"DisablePrint\":true}}"}{"userIndex":2,"callback":"{\"wopiSrc\":\"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815\",\"access_token\":\"57bb56fc-b1be-43a9-ae4f-5e209cadf325\",\"access_token_ttl\":1716545216055,\"hostSessionId\":\"\",\"userSessionId\":\"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815\",\"mode\":\"edit\"}"}
[2024-05-22T08:37:01.295] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [ahassain2] nodeJS - parseWopiCallback wopiParams:{"commonInfo":{"lockId":"Jqj2O/D/TzLpocg3bpUMkA==","fileInfo":{"BaseFileName":"ABCDEF.docx","OwnerId":"ahassain","Size":34389,"UserId":"ahassain","Version":"0","SupportsExtendedLockLength":true,"SupportsGetLock":true,"SupportsLocks":true,"SupportsUpdate":true,"SupportsUserInfo":true,"UserFriendlyName":"Ahassain","ReadOnly":false,"UserCanNotWriteRelative":true,"UserCanWrite":true,"HostEditUrl":"https://nam-gedt.ansm-intra.fr/any//wopiframe.jsp?uid=57bb56fc-b1be-43a9-ae4f-5e209cadf325","BreadcrumbBrandName":"Any - Office Online","DisablePrint":true}},"userAuth":{"wopiSrc":"https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815","access_token":"57bb56fc-b1be-43a9-ae4f-5e209cadf325","access_token_ttl":1716545216055,"hostSessionId":"","userSessionId":"0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815","mode":"edit"}}
[2024-05-22T08:37:01.295] [INFO] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [ahassain2] nodeJS - wopi REFRESH_LOCK start
[2024-05-22T08:37:01.299] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [ahassain2] nodeJS - wopi REFRESH_LOCK request uri=https://nam-gedt.ansm-intra.fr/any/rest/wopihost/files/0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815?access_token=57bb56fc-b1be-43a9-ae4f-5e209cadf325 headers={"X-WOPI-Override":"REFRESH_LOCK","X-WOPI-Lock":"Jqj2O/D/TzLpocg3bpUMkA==","X-WOPI-Proof":"C2ZbAD8Nnauo9lD8oV2nRd5SgYegDNnY81wS+aMgUafotxyvRwxkCdNKkozLlRRsdSJj3w5b+o6ME0xExibyJl21KWz1yRqsLd+hUjt6l6i7qujoUiIxHji04PNjKc+9owjGgLu39otud5YTkLgPWUOm0uICLLfnn2NjQvTAh3vbLuz/D2SvAi1ND0+3U9QCAilQ/FHPon/Xv1iRqs7Dd2mNDdRzKbL+FgYXaLAsEJmqkQEZ5iRM8gmNkmFnZp6hhaKMJch6ju440VSKHNVjpioNo/rchYSCJuZR3ZcKJPOGRszUWaYNxc5jdtEeva1NqJzSkdnTHckgpa3UyVcmeA==","X-WOPI-ProofOld":"C2ZbAD8Nnauo9lD8oV2nRd5SgYegDNnY81wS+aMgUafotxyvRwxkCdNKkozLlRRsdSJj3w5b+o6ME0xExibyJl21KWz1yRqsLd+hUjt6l6i7qujoUiIxHji04PNjKc+9owjGgLu39otud5YTkLgPWUOm0uICLLfnn2NjQvTAh3vbLuz/D2SvAi1ND0+3U9QCAilQ/FHPon/Xv1iRqs7Dd2mNDdRzKbL+FgYXaLAsEJmqkQEZ5iRM8gmNkmFnZp6hhaKMJch6ju440VSKHNVjpioNo/rchYSCJuZR3ZcKJPOGRszUWaYNxc5jdtEeva1NqJzSkdnTHckgpa3UyVcmeA==","X-WOPI-TimeStamp":"638519638212960000","X-WOPI-ClientVersion":"8.0.1.31","Authorization":"Bearer 57bb56fc-b1be-43a9-ae4f-5e209cadf325"}
[2024-05-22T08:37:01.314] [DEBUG] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [ahassain2] nodeJS - wopi REFRESH_LOCK response headers={"x-frame-options":"sameorigin","referrer-policy":"no-referrer","strict-transport-security":"max-age=63072000","x-content-type-options":"nosniff","content-security-policy":"frame-ancestors 'self' https:;","feature-policy":"fullscreen 'self';","x-xss-protection":"1; mode=block","access-control-allow-origin":"*","access-control-allow-methods":"POST, PUT, GET, DELETE, OPTIONS","access-control-max-age":"3600","access-control-allow-headers":"Content-Type,Authorization,Authorization-Assume,Accept,X-Requested-With,X-Access-Token","cache-control":"no-cache,no-store,must-revalidate","pragma":"no-cache","expires":"0","vary":"Accept-Encoding","x-wopi-itemversion":"1","x-wopi-lock":"Jqj2O/D/TzLpocg3bpUMkA==","content-length":"0","date":"Wed, 22 May 2024 08:37:01 GMT","connection":"close"}
[2024-05-22T08:37:01.314] [INFO] [localhost] [0f6da545-fcf0-416e-9fb3-dda81c81244a_1716365215815] [ahassain2] nodeJS - wopi REFRESH_LOCK end

Does it happen to specific file or any of them? I’d ask you to check situation in any other browser too.

Please elaborate on this - by ‘download directory’ you mean a local folder on the PC, is that correct? Or it is specific folder on the server where Document Server is running?

Additionally, it’d be helpful to have a small video demonstration of this behavior for better visual understanding of it.

Hello @Constantine ,

I believe @ahassain meant the local “Downloads” folder on the PC accessing OnlyOffice through the Web browser.

Regards,

Samuel

Hi @Constantine
It has happened on any browser (fierefox and MS Edge) and for any file
We had no idea how “download as” worked. We therefore assumed that the download takes place in the “download” directory on the PC.
Were we right to think so?

Please take a look to a small video for the use case on the link France transfert

https://francetransfert.numerique.gouv.fr/download/?enclosure=d18bf218-ba65-4cc7-920e-ef0122e1f790&recipient=YWJkZWxoYWZpZC1oYWZpZC5oYXNzYWluZUBhbnNtLnNhbnRlLmZy&token=bfcd9e8a-1bcf-4abf-be6e-b60df4a79b90&lang=fr-FR

password = _e5twN-B8A#l!9In(kO

Can I ask you to check if the same issue occurs in integrated test example? You access it via Document Server address - on the Welcome Page you’ll see GO TO TEST EXAMPLE button closer to the bottom of the page. Simply try creating or opening a file and then using Download as from there.

I’ve started test example and then tried openning a document but no way popup error “The file cannot be accessed right now”

No, before saving the document via Download As there should be a pop-up windows that allows you to choose save directory and set specific name.


Please reproduce the issue again and then provide all logs of Document Server in a single archive for analysis. Also, please provide editors’ initialization config for reference too.

Hi @Constantine : please find below logs when attempting to access to a document (get example)

[2024-06-04T09:23:32.406] [INFO] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - io.use start
[2024-06-04T09:23:32.407] [DEBUG] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - checkJwt success: decoded = {"document":{"directUrl":"","fileType":"docx","info":{"owner":"Me","uploaded":"Tue Jun 04 2024","favorite":null},"key":"10.10.131.224__172.16.250.1new.docx1717493010926","permissions":{"chat":true,"comment":true,"copy":true,"download":true,"edit":true,"fillForms":true,"modifyContentControl":true,"modifyFilter":true,"print":true,"review":true,"reviewGroups":null,"commentGroups":{},"userInfoGroups":null,"protect":true},"referenceData":{"fileKey":"{\"fileName\":\"new.docx\",\"userAddress\":\"10.10.131.224__172.16.250.1\"}","instanceId":"https://nam-onlyofficet.ansm-intra.fr/example"},"title":"new.docx","url":"https://nam-onlyofficet.ansm-intra.fr/example/download?fileName=new.docx&useraddress=10.10.131.224__172.16.250.1"},"documentType":"word","editorConfig":{"actionLink":null,"callbackUrl":"https://nam-onlyofficet.ansm-intra.fr/example/track?filename=new.docx&useraddress=10.10.131.224__172.16.250.1","coEditing":null,"createUrl":"https://nam-onlyofficet.ansm-intra.fr/example/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en","customization":{"about":true,"comments":true,"feedback":true,"forcesave":false,"goback":{"url":"https://nam-onlyofficet.ansm-intra.fr/example/"},"submitForm":false},"embedded":{"embedUrl":"https://nam-onlyofficet.ansm-intra.fr/example/download?fileName=new.docx","saveUrl":"https://nam-onlyofficet.ansm-intra.fr/example/download?fileName=new.docx","shareUrl":"https://nam-onlyofficet.ansm-intra.fr/example/download?fileName=new.docx","toolbarDocked":"top"},"fileChoiceUrl":"","lang":"en","mode":"edit","plugins":{"pluginsData":[]},"templates":[{"image":"","title":"Blank","url":"https://nam-onlyofficet.ansm-intra.fr/example/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en"},{"image":"https://nam-onlyofficet.ansm-intra.fr/example/images/file_docx.svg","title":"With sample content","url":"https://nam-onlyofficet.ansm-intra.fr/example/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en&sample=true"}],"user":{"group":"","id":"uid-1","image":"https://nam-onlyofficet.ansm-intra.fr/example/images/uid-1.png","name":"John Smith"}},"height":"100%","token":"","type":"desktop","width":"100%","iat":1717493010,"exp":1717493310}
[2024-06-04T09:23:32.408] [INFO] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - io.use end
[2024-06-04T09:23:32.408] [DEBUG] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - getBaseUrlByConnection host=nam-onlyofficet.ansm-intra.fr x-forwarded-host=nam-onlyofficet.ansm-intra.fr x-forwarded-proto=https x-forwarded-prefix=undefined cloudfront-forwarded-proto=undefined 
[2024-06-04T09:23:32.408] [INFO] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - _checkLicense start
[2024-06-04T09:23:32.409] [DEBUG] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - sendData: type = license
[2024-06-04T09:23:32.409] [INFO] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - _checkLicense end
[2024-06-04T09:23:32.646] [INFO] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - data.type = auth
[2024-06-04T09:23:32.647] [DEBUG] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - auth time: 1568
[2024-06-04T09:23:32.648] [DEBUG] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [uid-1] nodeJS - checkJwt success: decoded = {"document":{"directUrl":"","fileType":"docx","info":{"owner":"Me","uploaded":"Tue Jun 04 2024","favorite":null},"key":"10.10.131.224__172.16.250.1new.docx1717493010926","permissions":{"chat":true,"comment":true,"copy":true,"download":true,"edit":true,"fillForms":true,"modifyContentControl":true,"modifyFilter":true,"print":true,"review":true,"reviewGroups":null,"commentGroups":{},"userInfoGroups":null,"protect":true},"referenceData":{"fileKey":"{\"fileName\":\"new.docx\",\"userAddress\":\"10.10.131.224__172.16.250.1\"}","instanceId":"https://nam-onlyofficet.ansm-intra.fr/example"},"title":"new.docx","url":"https://nam-onlyofficet.ansm-intra.fr/example/download?fileName=new.docx&useraddress=10.10.131.224__172.16.250.1"},"documentType":"word","editorConfig":{"actionLink":null,"callbackUrl":"https://nam-onlyofficet.ansm-intra.fr/example/track?filename=new.docx&useraddress=10.10.131.224__172.16.250.1","coEditing":null,"createUrl":"https://nam-onlyofficet.ansm-intra.fr/example/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en","customization":{"about":true,"comments":true,"feedback":true,"forcesave":false,"goback":{"url":"https://nam-onlyofficet.ansm-intra.fr/example/"},"submitForm":false},"embedded":{"embedUrl":"https://nam-onlyofficet.ansm-intra.fr/example/download?fileName=new.docx","saveUrl":"https://nam-onlyofficet.ansm-intra.fr/example/download?fileName=new.docx","shareUrl":"https://nam-onlyofficet.ansm-intra.fr/example/download?fileName=new.docx","toolbarDocked":"top"},"fileChoiceUrl":"","lang":"en","mode":"edit","plugins":{"pluginsData":[]},"templates":[{"image":"","title":"Blank","url":"https://nam-onlyofficet.ansm-intra.fr/example/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en"},{"image":"https://nam-onlyofficet.ansm-intra.fr/example/images/file_docx.svg","title":"With sample content","url":"https://nam-onlyofficet.ansm-intra.fr/example/editor?fileExt=docx&userid=uid-1&type=desktop&lang=en&sample=true"}],"user":{"group":"","id":"uid-1","image":"https://nam-onlyofficet.ansm-intra.fr/example/images/uid-1.png","name":"John Smith"}},"height":"100%","token":"","type":"desktop","width":"100%","iat":1717493010,"exp":1717493310}
[2024-06-04T09:23:32.736] [ERROR] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [uid-1] nodeJS - dnsLookup error: hostname = nam-onlyofficet.ansm-intra.fr Error: getaddrinfo ENOTFOUND nam-onlyofficet.ansm-intra.fr
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
[2024-06-04T09:23:32.736] [WARN] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [uid-1] nodeJS - checkIpFilter error: url = https://nam-onlyofficet.ansm-intra.fr/example/track?filename=new.docx&useraddress=10.10.131.224__172.16.250.1
[2024-06-04T09:23:32.736] [DEBUG] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [uid-1] nodeJS - sendData: type = disconnectReason
[2024-06-04T09:23:32.737] [INFO] [localhost] [10.10.131.224__172.16.250.1new.docx1717493010926] [userId] nodeJS - Connection closed or timed out: reason = server namespace disconnect

I’ve tried to add the followinf line into /etc/hosts but the same behavior

cat /etc/hosts


10.75.22.130 nam-onlyofficet.ansm-intra.fr

Did you add this into servers’ hosts file or into hosts file inside Document Server container?

into servers’ hosts file (/etc/hosts) only

There is another hosts file inside the container, please try modifying it too. However, please keep in mind that these changes are not persistent and getting back to default once even when contains restarts.