UP-NextPush / server-app

UnifiedPush provider for Nextcloud - server application - Moved to https://codeberg.org/NextPush/uppush
GNU Affero General Public License v3.0
67 stars 8 forks source link

"Connecting to redis without password" while reading response header from upstream #19

Closed ne20002 closed 2 years ago

ne20002 commented 2 years ago

I get a number of log lines in nginx error log

2022/07/02` 09:03:06 [error] 82#82: *362 FastCGI sent in stderr: "PHP message: Nextcloud/UnifiedPushProvider: Connecting to redis without password" while reading response header from upstream, client: 192.168.xxx.xxx, server: , request: "GET /index.php/apps/uppush/device/xxxxxxxxxxxx HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxx.xxxx.xx"

but it seems as if the android app is connected.

How to get rid of this error?

p1gp1g commented 2 years ago

That's an error logged to inform admin. I can remove it if it is annoying > https://github.com/UP-NextPush/server-app/blob/main/lib/Controller/UnifiedPushProviderController.php#L49

ne20002 commented 2 years ago

If this is not an error, I recommend to remove it. It's annoying. Ususally admins know if they have set up local Redis with password or not. I believe for most small installation and those with docker where you have redis only accessible in local/isolated network, passwords for redis are not needed.