circles icon indicating copy to clipboard operation
circles copied to clipboard

[NC22]occ circles:check fails to determine loopback address

Open aleadco opened this issue 4 years ago • 6 comments

How to use GitHub

After upgrading to NC22 occ circles:check fails to determine loopback address

Steps to reproduce

sudo -u www-data php /var/www/nextcloud/occ circles:check Post method check failed

### Checking loopback address.
. The loopback setting is mandatory and can be checked locally.
. The address you need to define here must be a reachable url of your Nextcloud from the hosting server itself.
. By default, the App will use the entry 'overwrite.cli.url' from 'config/config.php'.

* testing current address: https://example.com
- GET request on https://example.com/index.php/csrftoken: 200
- POST request on https://example.com/index.php/apps/circles/async/test-dummy-token/: fail

- You do not have a valid loopback address setup right now.

Server configuration

Operating system: Ubuntu 18.04

Web server: Apache2

Database: Mariadb 10.6.3

PHP version: 7.4.20

Nextcloud version: NC22

Where did you install Nextcloud from: tar

aleadco avatar Jul 21 '21 17:07 aleadco

Same issue with my NC22 install. Could this be related to the login 'server error' when activating Deck?

Henk57 avatar Jul 31 '21 21:07 Henk57

Having the same problem. After some debugging I found that the request failed with a timeout at 5 seconds. However I did a tcpdump capture and the response seems to arrive but always a bit later than 5 seconds.

smyds avatar Aug 24 '21 15:08 smyds

Yep, changing the sleep on this line to something smaller than 5 will cause occ circles:check to succeed.

smyds avatar Aug 24 '21 15:08 smyds

circles не работают circles not work Deleting circles fail

occ circles:check fails

Два шага.

Шаг первый: мой вариант: 'overwrite.cli.url' => 'https://your-server.ru/nextcloud/',

Шаг второй: проверьте как отзывается ваш сервер ping your-server.ru

ответ должен быть: your-server.ru (ваш ip) , если это не так, тогда изменить /etc/hosts 127.0.0.1 localhost xxx.xxx.xxx.xxx your-server.ru

xxx.xxx.xxx.xxx --- это ваш ip.

Если не появились опубликованные ресурсы, то необходимо, удалить и ввести вновь участников в круг.

SitalexUniversel avatar Oct 05 '21 09:10 SitalexUniversel

??? English please?

patzm avatar Oct 06 '21 19:10 patzm

Доброго времени.Это возможно. Но почему я не могу писать на родном языке ?Есть ведь переводчик. Good time.It is possible. But why can't I write in my native language?There is a translator.    07.10.2021, 02:07, "Martin Patz" @.***>: ??? English please?—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.   Здравствуйте.С Уважением Александр Ситников. 

SitalexUniversel avatar Oct 08 '21 09:10 SitalexUniversel

Fixed in #811

joshtrichards avatar Jun 13 '24 21:06 joshtrichards