Support intro
Sorry to hear you’re facing problems
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
Nextcloud version (eg, 29.0.5): replace me
Operating System: Linux 6.8.4-2-pve x86_64
CPU: Intel(R) Celeron(R) CPU J1900 @ 1.99GHz (4 cores)
The issue you are facing:
I was dealing with Notify_Push service and apache2. It doesn’t set the connection and give me this error:
**" can’t connect to push server: Server error: GET https://192.168.178.109/push/test/cookie
resulted in a 502 Proxy Error
response:
Apache2 Log:
[Sat Jul 06 03:32:58.233034 2024] [proxy_http:error] [pid 1978] (70014)End of file found: [client 192.168.178.109:33186] AH01102: error reading status line from remote server 127.0.0.1:7867
[Sat Jul 06 03:32:58.233130 2024] [proxy:error] [pid 1978] [client 192.168.178.109:33186] AH00898: Error reading from remote server returned by /push/test/cookie
[Sat Jul 06 03:37:28.678619 2024] [proxy_http:error] [pid 1980] (70014)End of file found: [client 192.168.178.109:36254] AH01102: error reading status line from remote server 127.0.0.1:7867
[Sat Jul 06 03:37:28.678691 2024] [proxy:error] [pid 1980] [client 192.168.178.109:36254] AH00898: Error reading from remote server returned by /push/test/cookie
Systemd Unit:
Description = Push daemon for Nextcloud clients
Documentation=https://github.com/nextcloud/notify_push
[Service]
Environment = PORT=7867
Environment = TLS_CERT=/cert/apache2-sg.crt
Environment = TLS_KEY=/cert/apache2.key
Environment=ALLOW_SELF_SIGNED=true
Environment=NEXTCLOUD_URL=https://192.168.178.109
ExecStart = /var/www/cloud//apps/notify_push/bin/x86_64/notify_push /var/www/cloud/config/config.php
Type=notify # requires the push server to have been build with the systemd feature (enabled by default)
User=www-data
[Install]
WantedBy = multi-user.target
Apache2 Conf:
<VirtualHost *:80>
ServerName 192.168.178.109
Redirect permanent / https://192.168.178.109
<VirtualHost *:443>
ServerName 192.168.178.109
DocumentRoot /var/www/cloud/
<Directory /var/www/cloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>
SSLEngine on
SSLCertificateFile /cert/apache2-sg.crt
SSLCertificateKeyFile /cert/apache2.key
ProxyPass /push/ws ws://127.0.0.1:7867/ws
ProxyPass /push/ http://127.0.0.1:7867/
ProxyPassReverse /push/ http://127.0.0.1:7867/