Replies: 1 comment
-
|
After discussing with a colleague, we were able to pinpoint an issue with how the device services are not using the openziti controller environment variable from the docker compose file. I opened an issue in the device-sdk-go repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I have been trying to run the OpenZiti integration with the Odessa branch of EdgeX compose and I have run into numerous issues.
Just wanted to check if I am missing something?
Execution
Updated the
openziti-init-entrypoint.shto useedgex-secret-storeinstead ofvault:I ran
make openzitifirst, waited for the initialization to finish and then ranmake openziti-logsto check for errors.I then ran
make run zero-trust.Issues
app-rules-engine: Kept restarting with this error in the logs:Which I was able to work around by adding
--skipVersionCheckin the command section for this service indocker-compose-zero-trust.yml.edgex-kuiper: Trying to reachvaultstill. Addedvaultalias tosecret-storein the docker compose file.device-rest&device-virtual: I initially thought it was crashing due to this error:level=ERROR ts=2025-07-10T12:04:36.101984901-04:00 app=device-rest source=clients.go:77 msg="could not obtain an http client for use with zero trust provider: could not authenticate to OpenZiti: Get \"https:///.well-known/est/cacerts\": http: no Host in request URL"I was able to resolve the error by adding these security options to the
configuration.yamlunderServicesection and rebuild but the container was still restarting.I later found that the
SERVICE_HOSTenv variable for the devices were being used by thedevice-sdk-golibrary internally in the container as the bind address for the HTTP server.I changed it to
ZITI_SERVICE_HOSTand that seems to have solved the problem with them restarting.support-scheduler: I was receiving this error until I added a line to create the identity for the support scheduler in theopenziti-init-entrypoint.shscript.edgex-openziti | [ 87.492] ERROR ziti/controller/model.getAuthPolicyByExternalId: {authenticatorId=[] externalId=[support-scheduler] authMethod=[ext-jwt]} identity not found by externalIdCurrently I haven't found any glaring issues in the zitilogs.log, but I might be missing something.
Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions