Download Failed after installation

Issues during installation and related to database
Post Reply
andreylp
Posts: 5
Joined: Mon Oct 30, 2017 9:05 am

Download Failed after installation

Post by andreylp » Mon Oct 30, 2017 9:15 am

Hello. An error occurs while saving document server settings. If I want to create or change previously created document, the system shows an error "Download Failed".
Image
In log file
Oct 30 12:10:36 onlyoffice1 hyperfastcgi4: ex=System.ArgumentException: An item with the same key has already been added. Key: SERVER_NAME
Oct 30 12:10:36 onlyoffice1 hyperfastcgi4: at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <591e184b78744b7b966fda7f1323fb4f>:0
Oct 30 12:10:36 onlyoffice1 hyperfastcgi4: at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <591e184b78744b7b966fda7f1323fb4f>:0
Oct 30 12:10:36 onlyoffice1 hyperfastcgi4: at HyperFastCgi.AppHosts.AspNet.AspNetNativeWebRequest.AddServerVariable (System.String name, System.String value) [0x00000] in <bddc0c4ec1f14767bec937e9673908f1>:0
Oct 30 12:10:36 onlyoffice1 hyperfastcgi4: at HyperFastCgi.Transports.BaseAppHostTransport.AddServerVariable (System.UInt64 requestId, System.Int32 requestNumber, System.String name, System.String value) [0x00041] in <bddc0c4ec1f14767bec937e9673908f1>:0
Attachments
Doc.PNG
Doc.PNG (64.18 KiB) Viewed 2933 times

Maxim
Posts: 1751
Joined: Tue Oct 11, 2016 2:34 pm

Re: Download Failed after installation

Post by Maxim » Mon Oct 30, 2017 11:30 am

Hello andreylp!
So as i understand you have two separate servers: Document Server (192.168.8.102) and Community Server (192.168.8.103), right?
If it's so please set correct value in "Community Server Address" 192.168.8.102 to 192.168.8.103 (Community Server).

andreylp
Posts: 5
Joined: Mon Oct 30, 2017 9:05 am

Re: Download Failed after installation

Post by andreylp » Mon Oct 30, 2017 12:22 pm

Maxim wrote:Hello andreylp!
So as i understand you have two separate servers: Document Server (192.168.8.102) and Community Server (192.168.8.103), right?
If it's so please set correct value in "Community Server Address" 192.168.8.102 to 192.168.8.103 (Community Server).
Thanks for your advice! Yes, it's right. I have changed value, after i saw message: 'Command url: The remote server returned an error: (404) Not Found.'

I tried changed web.appsettings.config, after document is opened! But if write something, a window appears: 'File editing start error'.

Maxim
Posts: 1751
Joined: Tue Oct 11, 2016 2:34 pm

Re: Download Failed after installation

Post by Maxim » Mon Oct 30, 2017 1:11 pm

Hello!
Why did you try to change web.appsettings.config? Is it really needed?
Please check if the Document Server works - put in browser's tab http://192.168.8.102/web-apps/apps/api/documents/api.js

andreylp
Posts: 5
Joined: Mon Oct 30, 2017 9:05 am

Re: Download Failed after installation

Post by andreylp » Mon Oct 30, 2017 1:13 pm

Maxim wrote:Hello!
Why did you try to change web.appsettings.config? Is it really needed?
Please check if the Document Server works - put in browser's tab http://192.168.8.102/web-apps/apps/api/documents/api.js
Maxim wrote:Is it really needed?
No, it was test.
Maxim wrote:Please check if the Document Server works
Server works, all configuration files can be open.

Maxim
Posts: 1751
Joined: Tue Oct 11, 2016 2:34 pm

Re: Download Failed after installation

Post by Maxim » Tue Oct 31, 2017 6:54 am

Hello andreylp!
Have you changed ip address of Community Server Address?
Does it work now correctly?

andreylp
Posts: 5
Joined: Mon Oct 30, 2017 9:05 am

Re: Download Failed after installation

Post by andreylp » Tue Oct 31, 2017 8:27 am

Maxim wrote:Hello andreylp!
Have you changed ip address of Community Server Address?
Does it work now correctly?
No, it doesn't :(
I have changed value, after i saw message: 'Command url: The remote server returned an error: (404) Not Found.'
Document can open, but if write something, a window appears: 'File editing start error'.

andreylp
Posts: 5
Joined: Mon Oct 30, 2017 9:05 am

Re: Download Failed after installation

Post by andreylp » Tue Oct 31, 2017 9:30 am

I reinstalled Community Server. It's works. Thanks for your help.

Maxim
Posts: 1751
Joined: Tue Oct 11, 2016 2:34 pm

Re: Download Failed after installation

Post by Maxim » Fri Nov 10, 2017 7:44 am

Hello andreylp!
Not surprised :D

Post Reply