Nextcloud office error every five minutes

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 28.0.2
Operating system and version: 22.04.4 LTS
Apache or nginx version: 2.4.52
PHP version: 8.1

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. nextcloud integrates nextcloud office and uses the built-in Collabora Online - Built-in CODE Server; nextcloud office works normally;
  2. After I changed the 443 port of my nextcloud https to 1348, the following error will appear every 5 minutes.
  3. The following error will appear in the log, but the nextcloud office still works normally.

The output of your Nextcloud log in Admin > Logging:

Error richdocuments
ConnectException
cURL error 7: Failed to connect to nextcloud.mydomain.top port 443 after 2 ms: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud. mydomain.top/apps/richdocumentscode/proxy.php?req=/hosting/capabilities
Failed to fetch the Collabora capabilities endpoint: cURL error 7: Failed to connect to nextcloud.mydomain.top port 443 after 2 ms: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for https://nextcloud.mydomain.top/apps/richdocumentscode/proxy.php?req=/hosting/capabilities”

<?php
$CONFIG = array (
  'passwordsalt' => 'PZ3HeEsvpRpvvMAhVJ2aFNKLnVlmLS',
  'secret' => '2rPBsJgE/MTQJeUyfZ8xokhJbYs2HyI2ryyOCq3bV96t89I8',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'nextcloud.mydomain.top',
    2 => 'nextcloud.mydomain.top:1348',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '28.0.2.5',
  'overwrite.cli.url' => 'http://nextcloud.mydomian.top',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'passw@rd',
  'installed' => true,
  'instanceid' => 'oc89j3lj0737',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'filelocking.enabled' => 'true',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'maintenance_window_start' => 1,
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'dbindex' => 0,
    'password' => '',
    'timeout' => 1.5,
  ),
  'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
  'htaccess.RewriteBase' => '/',
  'mail_from_address' => 'cjw',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'mydomain.top',
  'mail_smtphost' => 'smtp.mydomain.top',
  'mail_smtpport' => '25',
  'app_install_overwrite' => 
  array (
    0 => 'news',
    1 => 'files_reader',
    2 => 'unsplash',
  ),
  'defaultapp' => 'dashboard,files,deck',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' => 
  array (
    0 => 'PUXI-USER',
  ),
  'twofactor_enforced_excluded_groups' => 
  array (
  ),
  'updater.release.channel' => 'stable',
);

PASTE HERE


The output of your Apache/nginx/system log in `/var/log/____`:

PASTE HERE


PASTE HERE

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE


1. Why not use 1348 port instead of 443 for checking? I manually used port 1348 to check and it was successful
2. How do I change the default inspection port to 1348?

At a minimum, you need to change this to include the custom port. And probably https for that matter.

1 Like

I solved it, thank you

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.