Document server open file mistaken code

Do you want to:
open file in my application , the broswer open msg


what shoud we do ?
all the logs of document server no error.
Document Server version:max version
Type of installation of the Document Server:max version rpm
OS:centOs
Browser version: chorm

Hello @votouch

Does it happen to any file while opening or a specific one? If it is a specific file please share it with us for analysis. Also, specify with which application Document Server is integrated.
If it is possible please record a video demonstration of the issue.

yes, i try to open extend name by docx with chinese simple code ,just at tree simple words,the windows notice msg ,let’s me to choise encoding。

is demo config with token,

var config = 
				{
					"document": {
						"fileType": "docx",
						"key": "D24A82226BDE9A2",
						"title": "Example Document Title.docx",
						"url":"http://172.16.3.218:8080/onlyoffice/download/1082"
					},
					"documentType": "word",
					"editorConfig": {
						"mode": "view"
					},
					"height": "100%",
					"width": "100%",
					"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkb2N1bWVudCI6eyJmaWxlVHlwZSI6ImRvY3giLCJrZXkiOiJEMjRBODIyMjZCREU5QTIiLCJ0aXRsZSI6IkV4YW1wbGUgRG9jdW1lbnQgVGl0bGUuZG9jeCIsInVybCI6Imh0dHA6Ly8xNzIuMTYuMy4yMTg6ODA4MC9vbmx5b2ZmaWNlL2Rvd25sb2FkLzEwODIifSwiZG9jdW1lbnRUeXBlIjoid29yZCIsImVkaXRvckNvbmZpZyI6eyJtb2RlIjoidmlldyJ9LCJoZWlnaHQiOiIxMDAlIiwid2lkdGgiOiIxMDAlIn0.hlMD-JNY80hu9GDY-18E_9BTH_avygzBp0BZbC6YgX8"
				};

			var docEditor = new DocsAPI.DocEditor("placeholder", config);

is my test file Processing: Example Document Title.docx…,oh,sry,i can’t upload docx file,only allow upload img extend file,


this is chinese words.
i think my document server have some thing system envriment problem,so ,i find this guide document how to add fonts,finally ,not help me to detail this encoding problem :joy:
@Constantine @Carl

have some one help me ?@Constantine @Carl @ONLYOFFICE_team

Hello @votouch

Is it possible to provide us a file that causes the issue for analysis?

which kind of share file for you,this website just allow upsite Jpg :sweat_smile:

You can upload a file to any cloud storage and share the external link. If there is any sensitive data in the document you can send the link via PM.

ok,no probleam

hi,this my test file, extend name of docx,


share url :demo

can you get down the demo file?@Constantine

I need to share my document server fonts files for you,that can help to analyse probleam .

Greetings @votouch

Unfortunately, we are not able to download the file from the link provided. Because it requires authorization.

Could you please upload the file to https://wetransfer.com/ ?

Thank you.

sorry,i try to useing wetransfer web to send email .,but this provider need to register account by email,but i can’t recive the email account verify of auth email url,I think ,w can useing the github open repositoy with my file , you can get is.

this is my github public repository,i has upload the encoding file ,you can get it.the encoding file with docx

can you has got this file? i find one web service can open global url on the internet , and i has upload file ,if you can’t get thi file ,you can try to down this filefile url@FarkHod

Hello @votouch !

I downloaded the file and didn’t have any problems.

Could you please give me some more details?

  • What version of Document Server are you using? It can be found in the “About” section on the left side of the editor interface. (a screenshot would be appreciated)
  • You’ve mentioned the “Adding fonts to ONLYOFFICE Docs” guide from HELPCENTER, what exactly did you do with this guide?

ok.wait a minuete

ok.i got it.
documentserver version : 7.3.2.8
picture image
and install fonts guide from HELPCENTER,acroding this guide to install fonts on the linux ,finally run the documentserver-generate-allfonts.sh that all.

Dear @votouch ,
I’ve noticed that you have set a wrong URL address in your editor initialization config. The document server must be able to download the file from this URL, but it cannot because the URL does not point to the file as it should.
This is the URL you’ve set up. As I can see, it does not point to the file:
"url":"http://172.16.3.218:8080/onlyoffice/download/1082"

But it should look like this:
"url":"http://172.16.3.218:8080/onlyoffice/download/1082/filename.docx/"

Also, check that the problem is reproduced in the included example (http://document_server_ip_or_domain/example).