Solved Jails with Nextcloud and OnlyOffice

Well, me again, from France ;-(

I've got three jails (managed with bastilleBSD ;-)) :
  • one with nginx in frontal ;
  • a second with Apache + Nextcloud (Why Apache ? Because, nginx seems not to be supported officialy in Nextcloud) ;
  • a third with OnlyOffice.
All is working well since a week... => no modification from me as i could remember...

OnlyOffice works fine : https://office.mydomain/healthcheck => true from the host
Nextcloud works fine as well.

But, now, no communication between those two jails :
  • From Nextcloud-jail to OnlyOffice-jail : wget https://office.mydomain/healthcheck => Resolving office.mydomain => xxx.xxx.xxx.xxx (Ok) but not connection ;
  • Same thing from Onlyoffice-jail to Nextcloud-jail :
  • wget https://mydomain/nextcloud => Resolving mydomain => xxx.xxx.xxx.xxx (Ok) but not connection ;
I've found and test many "solutions" from onlyoffice Forum : no match !

Any Idea ?

Many thanks for your help.

PS :
  • freebsd-version = 13.2-RELEASE-P10
  • Nextcloud = 28.0.2
  • OnlyOffice = 7.5.1.23
 
For Nextcloud/Nginx :
1708888963625.png


No error in the log of Nextcloud, but when i achieve the configuration of OnlyOffice from the admin parameter i've got this popup :
Erreur durant la tentative de connexion (cURL error 28: Operation timed out after 120002 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://xxx.xxx.xxx.xxx/ConvertService.ashx)
where xxx.xxx.xxx.xxx is the ip of onlyoffice-jail.

I've got no error in the log of docservice or converter.
But in the out.log of converter i had this message :
[ERROR] [localhost] [conv_check_107251807_docx] [userId] nodeJS - error downloadFile:url=https://mydomain/nextcloud/index.ph...e3GiplM;attempt=1;code:ETIMEDOUT;connect:null Error: connect ETIMEDOUT xxx.xxx.xxx.xxx:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)

I've spent almost 3 days for testing since it wont work without any progress !

Have you an alternative to Nextcloud ?

I've set a cryptpad server in a jail : very good to use !
But no sync with a computer...

Thanks for your help !
 
Any Firewall settings you might've forgotten?
Not I have found...
I've even add a specific rule in pf to be sure there is no blocking from it.

But, i don't understand what happen : when I check with tcpdump the pf logs, i can't find any useful information...

;-(
 
Have you tried to stop pf? Also, it may be useful that you provide the output of ifconfig
from host and both jails. What is the purpose of "nginx in frontal"?
 
Back
Top