The Basics
- Nextcloud Server version (e.g., 29.x.x):
35.0.3
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.71
- Reverse proxy and version _(e.g. nginx 1.27.2)
none
- PHP version (e.g, 8.3):
8.4.27
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
After one of the past updates of the Docker image
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare Metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I start the HaRP container using the following command:
docker run \
-e HP_SHARED_KEY="...redacted for security..." \
-e NC_INSTANCE_URL="https://nextcloud-domain.example" \
-e HP_EXAPPS_ADDRESS="127.0.0.1:8780" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`/certs:/certs \
--name appapi-harp -h appapi-harp \
--restart unless-stopped \
--network host \
-d ghcr.io/nextcloud/nextcloud-appapi-harp:release
In the past this worked fine. But now the container restarts all the time since it fails to start. The log shows the following error:
INFO: /run/harp/frps.toml already exists. Skipping FRP server configuration generation...
INFO: /run/harp/frpc-docker.toml already exists. Skipping generation...
INFO: Starting Python HaProxy Agent on 127.0.0.1:8200 and 127.0.0.1:9600...
INFO: Waiting for HaRP Agent HTTP (GET http://127.0.0.1:8200/heartbeat) to be ready...
INFO: Waiting for SPOA port 127.0.0.1:9600...
INFO: Starting FRP server on 0.0.0.0:8782...
INFO: Waiting for FRP server port 127.0.0.1:8782...
INFO: Starting FRP client for Docker Engine...
INFO: Starting HAProxy...
2026-11-13 15:26:39.148 [I] [sub/root.go:194] start frpc service for config file [/run/harp/frpc-docker.toml] with aggregated configuration
2026-11-13 15:26:39.148 [I] [client/service.go:335] try to connect to server...
2026-11-13 15:26:39.155 [W] [client/service.go:346] connect to server error: session shutdown
2026-11-13 15:26:39.155 [I] [sub/root.go:211] frpc service for config file [/run/harp/frpc-docker.toml] stopped
login to the server failed: session shutdown. With loginFailExit enabled, no additional retries will be attempted
ERROR: HaRP process 'frpc' exited unexpectedly (status 1), stopping the container.
The image is the latest version as of 2026-11-13, 16:36 CET.