Deploy for Context Chat in Nextcloud

Today I try to creat a new Daemon by Harp prxy and gave up old docker method.Everything is ok but when I try to do “Test depoly“ then show me :Heartbeat check failed.:rofl:

I read the offical document about this error and tell me need do Additional options in Harp, so I add new option in this daemon, the key and words is OVERRIDE_APP_HOST = 0.0.0.0 but still error. So what I can do now? (forget the APP_HOST=0.0.0.0 ,just a backup solution).

The log is:

HP_SHARED_KEY is set, creating /frpc.toml configuration file…
Directory /certs/frp not found. Creating configuration without TLS certificates.
Starting frpc in the background…
Starting main application…
e[1;34m2026-02-04 08:17:44.169 [I] [sub/root.go:142] start frpc service for config file [/frpc.toml]
e[0me[1;34m2026-02-04 08:17:44.169 [I] [client/service.go:295] try to connect to server…
e[0me[1;33m2026-02-04 08:17:44.170 [W] [client/service.go:298] connect to server error: session shutdown
e[0me[1;34m2026-02-04 08:17:44.170 [I] [sub/root.go:160] frpc service for config file [/frpc.toml] stopped
e[0mlogin to the server failed: session shutdown. With loginFailExit enabled, no additional retries will be attempted
Started
INFO: Started server process [1]
INFO: Waiting for application startup.
TRACE: ASGI [1] Started scope={‘type’: ‘lifespan’, ‘asgi’: {‘version’: ‘3.0’, ‘spec_version’: ‘2.0’}, ‘state’: {}}
TRACE: ASGI [1] Receive {‘type’: ‘lifespan.startup’}
TRACE: ASGI [1] Send {‘type’: ‘lifespan.startup.complete’}
INFO: Application startup complete.
INFO: Uvicorn running on unix socket /tmp/exapp.sock (Press CTRL+C to quit)
HP_SHARED_KEY is set, creating /frpc.toml configuration file…
Found /certs/frp directory. Creating configuration with TLS certificates.
Starting frpc in the background…
Starting main application…
e[1;34m2026-02-04 08:17:56.762 [I] [sub/root.go:142] start frpc service for config file [/frpc.toml]
e[0me[1;34m2026-02-04 08:17:56.762 [I] [client/service.go:295] try to connect to server…
e[0me[1;34m2026-02-04 08:17:56.773 [I] [client/service.go:287] [ebee305fdeccc3ca] login to server success, get run id [ebee305fdeccc3ca]
e[0me[1;34m2026-02-04 08:17:56.774 [I] [proxy/proxy_manager.go:173] [ebee305fdeccc3ca] proxy added: [test-deploy]
e[0me[1;34m2026-02-04 08:17:56.775 [I] [client/control.go:168] [ebee305fdeccc3ca] [test-deploy] start proxy success
e[0mStarted
INFO: Started server process [1]
INFO: Waiting for application startup.
TRACE: ASGI [1] Started scope={‘type’: ‘lifespan’, ‘asgi’: {‘version’: ‘3.0’, ‘spec_version’: ‘2.0’}, ‘state’: {}}
TRACE: ASGI [1] Receive {‘type’: ‘lifespan.startup’}
TRACE: ASGI [1] Send {‘type’: ‘lifespan.startup.complete’}
INFO: Application startup complete.
INFO: Uvicorn running on unix socket /tmp/exapp.sock (Press CTRL+C to quit)