Hello NocoBase team.
I’m just learning Nocobase and trying to figure out how to connect an agent to a self-hosted Docker / https / v2.2.21 NocoBase env.
- Created API key/Root the process is completed with an error:
Syncing agent skills
Agent skills ready.
Connecting to the env
Updating env runtime: nb-env
Failed to update env "nb-env".
Failed to load swagger schema from `swagger:get`.
undefined
Current Name Kind API Base URL Auth Runtime
------- ---------- ---- ------------------------- ----- -------
* nb-env http https://nb.env/api token
Env Status API Base URL
---------- ------ -------------------------
nb-env error https://nb.env/api
- I decided that there are restrictions on root access for the api, created access for the administrator role:
Syncing agent skills
⚠ Warning: Couldn't reach the npm registry to sync NocoBase AI coding skills. Skipping skills install and continuing init. Run `nb skills install` later when registry access is available.
Connecting to the env
Updating env runtime: nb-env
Failed to update env "nb-env".
Failed to load swagger schema from `swagger:get`.
undefined
status and list
Same results
- Try with basic auth:
Connecting to the env
Authenticating
Signing in with username and password for "nb-env"...
Authentication failed for "nb-env".
Basic sign-in succeeded but no token was returned.
status
nb-env is still in error status at https://nb.env/api`
list
nb-env is the current environment. API URL: https://nb.env/api; authentication: basic . Runtime is not listed.
My proxy server forwards port 443 port to https://nb.env the application is running on the docker port 13000, but perhaps you need separate ports for the api?
The list command shows an http connection, but am I actually using https?