Try the fastest and simplest way to install ONLYOFFICE

Demo dev. edition NGINX error

Issues during installation and related to database

Demo dev. edition NGINX error

Postby skerain » Fri Aug 10, 2018 7:41 am

Hello,

I've downloaded and installed Document Server Developer Edition for evaluation in my company.

After some difficulties, I reinstall and sticked to what I read at https://helpcenter.onlyoffice.com/serve ... ation.aspx but I've another error: I can upload a file but I can't view it in editor. In NGINX log:

Code: Select all
2018/08/10 09:21:13 [error] 8728#8520: *98 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885613531 HTTP/1.1", upstream: "http://127.0.0.1:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:21:23 [error] 8728#8520: *63 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885563315 HTTP/1.1", upstream: "http://127.0.0.1:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:21:24 [error] 8728#8520: *123 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885623574 HTTP/1.1", upstream: "http://127.0.0.1:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:21:33 [error] 8728#8520: *44 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885633617 HTTP/1.1", upstream: "http://[::1]:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:21:33 [error] 8728#8520: *44 no live upstreams while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885633617 HTTP/1.1", upstream: "http://docservice/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:21:43 [error] 8728#8520: *68 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885583402 HTTP/1.1", upstream: "http://[::1]:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:21:53 [error] 8728#8520: *48 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885593445 HTTP/1.1", upstream: "http://[::1]:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:22:03 [error] 8728#8520: *73 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885603488 HTTP/1.1", upstream: "http://[::1]:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:22:13 [error] 8728#8520: *98 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885613531 HTTP/1.1", upstream: "http://[::1]:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"
2018/08/10 09:22:24 [error] 8728#8520: *123 upstream timed out (10060: FormatMessage() error:(15105)) while connecting to upstream, client: ::1, server: , request: "GET /2018-07-13-19-46/doc/353018209/c/info?t=1533885623574 HTTP/1.1", upstream: "http://[::1]:8000/doc/353018209/c/info", host: "localhost", referrer: "http://localhost/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor"


No error in Document Server services logs.

What's wrong ?

Regards.
skerain
 
Posts: 5
Joined: Tue Aug 07, 2018 12:26 pm

Re: Demo dev. edition NGINX error

Postby Maxim » Fri Aug 10, 2018 8:56 am

Hello skerain!
I can upload a file but I can't view it in editor

While editor loading do you get any errors?
Do you get API.js code if you open in your browser?
Code: Select all
http(s)://IP-or-domain-name/web-apps/apps/api/documents/api.js
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm

Re: Demo dev. edition NGINX error

Postby skerain » Fri Aug 10, 2018 9:30 am

Thank you for your help.

No error in DS services logs (Log/gc, Log/converter ...).

The document is loaded (I see it in the list, I can delete it, it is present on filesystem).

No error displayed until I got a "Error -18" after timeout:

NGINX access log:
Code: Select all
"GET /2018-07-13-19-46/doc/-1243647247/c/info?t=1533892984225 HTTP/1.1" 499 0 "http://127.0.0.1/2018-07-13-19-46/web-apps/apps/documenteditor/embed/index.html?_dc=2018-07-13-19-46&lang=en&customer=ONLYOFFICE&frameEditorId=iframeEditor" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"


I've installed only DS developer edition, no need to install something else for testing the demo (/example) ?

I just realized that nodeJS package installation was broken:

Code: Select all
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '-g',
1 verbose cli   'replace' ]
2 info using npm@3.10.10
3 info using node@v6.14.3
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData replace
8 silly fetchNamedPackageData replace
9 silly mapToRegistry name replace
10 silly mapToRegistry using default registry
11 silly mapToRegistry registry https://registry.npmjs.org/
12 silly mapToRegistry data Result {
12 silly mapToRegistry   raw: 'replace',
12 silly mapToRegistry   scope: null,
12 silly mapToRegistry   escapedName: 'replace',
12 silly mapToRegistry   name: 'replace',
12 silly mapToRegistry   rawSpec: '',
12 silly mapToRegistry   spec: 'latest',
12 silly mapToRegistry   type: 'tag' }
13 silly mapToRegistry uri https://registry.npmjs.org/replace
14 verbose request uri https://registry.npmjs.org/replace
15 verbose request no auth needed
16 info attempt registry request try #1 at 11:24:24
17 verbose request id 3b37373d95efb0f5
18 http request GET https://registry.npmjs.org/replace
19 info retry will retry, error on last attempt: Error: connect EACCES 104.16.25.35:443
20 info attempt registry request try #2 at 11:24:34
21 http request GET https://registry.npmjs.org/replace
22 info retry will retry, error on last attempt: Error: connect EACCES 104.16.25.35:443
23 info attempt registry request try #3 at 11:25:34
24 http request GET https://registry.npmjs.org/replace
25 silly fetchPackageMetaData Error: connect EACCES 104.16.18.35:443
25 silly fetchPackageMetaData     at Object.exports._errnoException (util.js:1020:11)
25 silly fetchPackageMetaData     at exports._exceptionWithHostPort (util.js:1043:20)
25 silly fetchPackageMetaData     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1099:14)
25 silly fetchPackageMetaData  error for replace { Error: connect EACCES 104.16.18.35:443
25 silly fetchPackageMetaData     at Object.exports._errnoException (util.js:1020:11)
25 silly fetchPackageMetaData     at exports._exceptionWithHostPort (util.js:1043:20)
25 silly fetchPackageMetaData     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1099:14)
25 silly fetchPackageMetaData   code: 'EACCES',
25 silly fetchPackageMetaData   errno: 'EACCES',
25 silly fetchPackageMetaData   syscall: 'connect',
25 silly fetchPackageMetaData   address: '104.16.18.35',
25 silly fetchPackageMetaData   port: 443 }
26 silly rollbackFailedOptional Starting
27 silly rollbackFailedOptional Finishing
28 silly runTopLevelLifecycles Finishing
29 silly install printInstalled
30 verbose stack Error: connect EACCES 104.16.18.35:443
30 verbose stack     at Object.exports._errnoException (util.js:1020:11)
30 verbose stack     at exports._exceptionWithHostPort (util.js:1043:20)
30 verbose stack     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1099:14)
31 verbose cwd C:\Program Files\nodejs
32 error Windows_NT 10.0.16299
33 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "replace"
34 error node v6.14.3
35 error npm  v3.10.10
36 error code EACCES
37 error errno EACCES
38 error syscall connect
39 error Error: connect EACCES 104.16.18.35:443
39 error     at Object.exports._errnoException (util.js:1020:11)
39 error     at exports._exceptionWithHostPort (util.js:1043:20)
39 error     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1099:14)
39 error  { Error: connect EACCES 104.16.18.35:443
39 error     at Object.exports._errnoException (util.js:1020:11)
39 error     at exports._exceptionWithHostPort (util.js:1043:20)
39 error     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1099:14)
39 error   code: 'EACCES',
39 error   errno: 'EACCES',
39 error   syscall: 'connect',
39 error   address: '104.16.18.35',
39 error   port: 443 }
40 error Please try running this command again as root/Administrator.
41 verbose exit [ 1, true ]
skerain
 
Posts: 5
Joined: Tue Aug 07, 2018 12:26 pm

Re: Demo dev. edition NGINX error

Postby skerain » Fri Aug 10, 2018 9:58 am

Got it: Kaspersky block node.exe, sorry for inconvenience ! ;)
skerain
 
Posts: 5
Joined: Tue Aug 07, 2018 12:26 pm

Re: Demo dev. edition NGINX error

Postby Maxim » Mon Aug 13, 2018 8:21 am

Hello skerain!
No error in DS services logs

That was should point you to the external reason. :arrow: Got it: Kaspersky block node.exe
Maxim
 
Posts: 1747
Joined: Tue Oct 11, 2016 2:34 pm


Return to Installation / Database

Who is online

Users browsing this forum: No registered users and 1 guest