Can't connect to Collabora Online

in Webserverlogs i find :
[Tue Aug 17 11:32:44.168616 2021] [proxy_http:error] [pid 2830] (70007)The timeout specified has expired: [client 192.168.1.105:53664] AH01102: error reading status line from remote server 127.0.0.1:9980
[Tue Aug 17 11:32:44.168694 2021] [proxy:error] [pid 2830] [client 192.168.1.105:53664] AH00898: Error reading from remote server returned by /hosting/capabilities

What could be the problem ?

Thanks !

Hi @FriFri,

Is this an new install or did collabora stopped working?

Hi Mark,

I tried to install Odoo, removed it and after that, connection to Collabora failed …

F.

Oke, then DNS and certificates issues can be rulled out…

I would check if there are no “left overs” from Odoo in /etc/http.d/conf.d
As it seems to have messed-up the proxy to loolwsd and reload the apache configuration ( systemctl reload httpd )

then I would try to reconfigure nethsever-collabora:
signal-event nethserver-collabora-update

then check if loolwsd is running ( systemctl status loolwsd )

1 Like

No new or recently changed files in /etc/httpd/config.d

reconfigured nethserver-collabora.

systemctl status loolwsd -l :

I’m A bit outoff options now. :hushed:

Hope you understand your case is hard to reproduce…

Which method did you use to install and uninstall Odoo?

I installed nodejs 10 (v10.15.3). Could that be the culprit ?

Do not know; loleaflet an othter peace of the glue between Nextcloud and LibreOffice is written in node .

is https://<your_virtual_host>/loleaflet/dist/admin/admin.html reachable (if you have set an password you should be able to login in)

only loolwsd shout listen to port 9980 : lsof -i | grep 9980

Here my (fresh install) output as reference:

systemctl status loolwsd -l
â—Ź loolwsd.service - Collabora Online WebSocket Daemon
   Loaded: loaded (/usr/lib/systemd/system/loolwsd.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2021-08-17 15:05:54 CEST; 15s ago
 Main PID: 25329 (loolwsd)
   CGroup: /system.slice/loolwsd.service
           ├─25329 /usr/bin/loolwsd --version --o:sys_template_path=/opt/lool/systemplate --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd
           ├─25334 /usr/bin/loolforkit          --losubpath=lo --systemplate=/opt/lool/systemplate --lotemplate=/opt/collaboraoffice6.4 --childroot=/opt/lool/child-roots/ --clientport=9980 --masterport=loolwsd-1gE60o9w --rlimits=limit_virt_mem_mb:0;limit_stack_mem_kb:8000;limit_file_size_mb:0;limit_num_open_files:0 --version --ui=classic
           └─25879 /usr/bin/loolforkit          --losubpath=lo --systemplate=/opt/lool/systemplate --lotemplate=/opt/collaboraoffice6.4 --childroot=/opt/lool/child-roots/ --clientport=9980 --masterport=loolwsd-1gE60o9w --rlimits=limit_virt_mem_mb:0;limit_stack_mem_kb:8000;limit_file_size_mb:0;limit_num_open_files:0 --version --ui=classic

Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25333 2021-08-17 13:05:56.994034 [ prisoner_poll ] DBG  Removing socket #18 (of 3) from prisoner_poll| net/Socket.cpp:322
Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25333 2021-08-17 13:05:56.994056 [ prisoner_poll ] DBG  #18 Thread affinity set to 0 (was 0x7f047bf68700).| ./net/Socket.hpp:301
Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25333 2021-08-17 13:05:56.994080 [ prisoner_poll ] TRC  Calling addNewChild in disposition's move thing to add to NewChildren| wsd/LOOLWSD.cpp:2219
Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25333 2021-08-17 13:05:56.994108 [ prisoner_poll ] TRC  Adding one child to NewChildren| wsd/LOOLWSD.cpp:475
Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25333 2021-08-17 13:05:56.994131 [ prisoner_poll ] INF  Have 1 spare child after adding [25879].| wsd/LOOLWSD.cpp:479
Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25333 2021-08-17 13:05:56.994146 [ prisoner_poll ] TRC  Notifying NewChildrenCV| wsd/LOOLWSD.cpp:482
Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25333 2021-08-17 13:05:56.994191 [ prisoner_poll ] TRC  ppoll start, timeoutMicroS: 5000000 size 2| net/Socket.cpp:217
Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25329 2021-08-17 13:05:56.994328 [ loolwsd ] TRC  Have 1 new children.| wsd/LOOLWSD.cpp:4032
Aug 17 15:05:57 ... loolwsd[25329]: wsd-25329-25329 2021-08-17 13:05:56.994372 [ loolwsd ] INF  WSD initialization complete: setting log-level to [warning] as configured.| wsd/LOOLWSD.cpp:4039
Aug 17 15:05:57 ... loolwsd[25329]: Ready to accept connections on port 9980.

Note the Ready to accept connections on port 9980 on the last line…

EDIT : (more reference output)

lsof -i | grep 9980
httpd     25313     apache   19u  IPv4  76826      0t0  TCP localhost:44412->localhost:9980 (CLOSE_WAIT)
httpd     25315     apache   19u  IPv4  75176      0t0  TCP localhost:44272->localhost:9980 (CLOSE_WAIT)
httpd     25315     apache   20u  IPv4  74582      0t0  TCP localhost:44398->localhost:9980 (CLOSE_WAIT)
httpd     25315     apache   21u  IPv4  76832      0t0  TCP localhost:44422->localhost:9980 (CLOSE_WAIT)
httpd     25316     apache   19u  IPv4  76819      0t0  TCP localhost:44406->localhost:9980 (CLOSE_WAIT)
httpd     26510     apache   19u  IPv4  68470      0t0  TCP localhost:44210->localhost:9980 (CLOSE_WAIT)
httpd     26515     apache   19u  IPv4  69135      0t0  TCP localhost:44224->localhost:9980 (CLOSE_WAIT)
httpd     26515     apache   20u  IPv4  76835      0t0  TCP localhost:44428->localhost:9980 (CLOSE_WAIT)
httpd     26839     apache   19u  IPv4  75249      0t0  TCP localhost:44382->localhost:9980 (CLOSE_WAIT)
httpd     27453     apache   19u  IPv4  76077      0t0  TCP localhost:44432->localhost:9980 (ESTABLISHED)
loolwsd   27699       lool   15u  IPv4  74672      0t0  TCP localhost:9980 (LISTEN)
loolwsd   27699       lool   22u  IPv4  75494      0t0  TCP localhost:9980->localhost:44432 (ESTABLISHED)

Hi Mark,

I ended up by completely removing collabora and reinstalling it.

Thanks for your help !

F.

2 Likes