-
Notifications
You must be signed in to change notification settings - Fork 161
Description
OpenCloud is not able to establish connection with OnlyOffice through wopi server
OpenCloud should be able to interface with Only office through a series of microservices.
A description of this can be found here and documentation of environment variables can be found here
Steps to reproduce
- As outlined in the first link, OC_ADD_RUN_SERVICES must contain "gateway,app-registry,collaboration"
- JWT secret is set with: OC_JWT_SECRET = "whatever";
- Configuring end point with:
COLLABORATION_SERVICE_NAME = "collaboration"; COLLABORATION_APP_NAME = "OnlyOffice"; COLLABORATION_APP_PRODUCT = "OnlyOffice"; COLLABORATION_APP_DESCRIPTION = "Open office documents with OnlyOffice"; COLLABORATION_APP_ICON = "image-edit"; COLLABORATION_APP_ADDR = "http://127.0.0.1:9982"; COLLABORATION_WOPI_SRC = "https://office.youserver.net"; COLLABORATION_WOPI_SECRET = "whatever"; COLLABORATION_APP_INSECURE ="false"; COLLABORATION_APP_PROOF_DISABLE = "true"; COLLABORATION_OO_SECRET = "whatever";
Expected behavior
The service should be able to interface with the Onlyoffice server that runs correctly under
http://127.0.0.1:9982/healthcheck and http://127.0.0.1:9982/hosting/discovery
Actual behavior
Im getting the error {"level":"error","service":"collaboration","error":"rpc error: code = Canceled desc = context canceled","time":"2026-01-19T15:45:25+01:00","message":"AddAppProvider failed"}
Jan 19 15:45:25 bernina opencloud[236697]: {"level":"error","service":"collaboration","error":"rpc error: code = Canceled desc = context canceled","time":"2026-01-19T15:45:25+01:00","message":"AddAppProvider failed"}
I tried the setting using variables that have default values:
MICRO_REGISTRY = "nats-js-kv";
MICRO_REGISTRY_ADDRESS = "127.0.0.1:9233";
OC_REVA_GATEWAY = "127.0.0.1:9142";
COLLABORATION_CS3_GATEWAY = "127.0.0.1:9142";
GATEWAY_GRPC_ADDR = "127.0.0.1:9142";
but only with the same results
Setup
FInd my nix config here
Thank you for your help
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status