Nextcloud can't connect to App Store

Hi – I can’t connect to the nextcloud app store from within nextcloud – seems to get a timeout. I’m not sure if there is a setting I can alter to wait longer. Thanks. Details below if they are helpful to anyone.

Nextcloud version (eg, 17.0): 17.0

Operating system and version (eg, Ubuntu 17): 11.2-STABLE FreeBSD 11.2-STABLE #0 r325575+5920981193f(HEAD): Mon Sep 16 23:00:13 UTC 2019

Apache or nginx version (eg, Apache 2.4.25): Server version: Apache/2.4.41 (FreeBSD)
PHP version (eg, 7.1): PHP 7.2.23 (cli) (built: Oct 1 2019 01:15:37) ( NTS )

The issue you are facing:
Can’t connect to nextcloud app Store from within Nextcloud

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

Steps to replicate it:

  1. Go to App Page and try to discover new apps – not previously downloaded. Apps never show – eventually I get a time out connecting to app store (See Log)

The output of your Nextcloud log in /var/log/nextcloud:

Sorry the log was so long it eclipsed what I could post in this thread. But here is a pastebin link: https://pastebin.com/SJAyEdQd

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/usr/local/www/nextcloud/apps',
      'url' => '/apps',
      'writable' => true,
    ),
    1 =>
    array (
      'path' => '/usr/local/www/nextcloud/apps-pkg',
      'url' => '/apps-pkg',
      'writable' => false,
    ),
  ),
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'loglevel' => '0',
  'logdateformat' => 'F d, Y H:i:s',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'instanceid' => 'ocny42d5quk3',
  'passwordsalt' => 'xxxx',
  'secret' => 'xxx',
  'trusted_domains' =>
  array (
    0 => '10.0.1.158',
    1 => 'nextcloud.example.com',
    2 => '10.0.1.162',
    3 => 'office.example.com',
  ),
  'datadirectory' => '/mnt/data',
  'dbtype' => 'mysql',
  'version' => '17.0.0.9',
  'overwrite.cli.url' => 'http://10.0.1.158',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud_admin',
  'dbpassword' => 'xxxxxxx',
  'installed' => true,
  'redis' =>
  array (
    'host' => '/tmp/redis.sock',
    'port' => 0,
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'nextcloud-admin',
  'mail_domain' => 'gmail.com',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '465',
  'mail_smtpauth' => 1,
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'PLAIN',
  'mail_smtpname' => user@gmail.com',
  'mail_smtppassword' => 'sjlakjfalfalfjalfjal;fjalfjaldfal;dfj',
  'theme' => '',
);

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

nothing shows up in httpd-error.log

So where is the server located? At home? On the internet? Can you ssh into the server and do ping to outside servers?

@eehmke

Yes server is at home and I can ping all outside addresses. Error log would suggest some data is being transferred – I had same problem like this when I updated from 15->16. App store didn’t work for months then it did. Now the same for 16->17.