Support intro
Sorry to hear you’re facing problems. 
The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.
If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.
Getting help
In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.
Before clicking submit: Please check if your query is already addressed via the following resources:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).
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.
The Basics
- Nextcloud Server version (e.g., 31.0.4):
replace me
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 22.04
- Web server and version (e.g, Apache 2.4.25):
replace me
- Reverse proxy and version _(e.g. nginx 1.27.2)
replace me
- PHP version (e.g, 8.3):
replace me
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
after I tried to modify the system to use hpb
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
docker
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no, ust nginx reverse proxy
Summary of the issue you are facing:
I followed the docu here and here to use the high performance backend in a docker container. Started container as described and configured the nginx-reverse-proxy as in the pictures.
I can curl the localhost, so hpb ist running so far,
$ curl http://localhost:8181/api/v1/welcome
{"nextcloud-spreed-signaling":"Welcome","version":"2.0.2~docker"}
but I get errors trying to reach it by its docker ip
curl -i http://172.17.0.2/standalone-signaling/api/v1/welcome
curl: (7) Failed to connect to 172.17.0.2 port 80 after 0 ms: Connection refused
or externally.
~$ curl -i https://signal.bardhome.de/standalone-signaling/api/v1/welcome
HTTP/2 502
server: openresty
date: Mon, 05 May 2025 12:57:40 GMT
content-type: text/html
content-length: 154
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>openresty</center>
</body>
</html>
The logs tell me:
hub.go:264: No trusted proxies configured, only allowing for [127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16]
How can I configure it to accept the connections properly?
I want to use hpb in nextcloud
Steps to replicate it (hint: details matter!):
- Start the docker container for hpb
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
see above, no log from nextcloud but from hpb
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
not related to browser
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
not relevant, this is about hpb
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
not relevant
Apps
The output of occ app:list
(if possible).
not relevant