-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When there's already a deployed TokenExchangeService, and there's a need to assign it a static port, it will initially not respond to that settings-change until it is forcefully rebooted.
To Reproduce
- Deploy the TokenExchanceService with no configuration
- Deploy the TokenExchangeService with
port: 2020or other number.
Expected behavior
The TokenExchanceService should start serving on the configured port.
Actual behavior
The TokenExchangeService keeps serving on the original port. Inspecting the configuration with the greengrass-cli it has
{ "actualPort": <oldPort>, "port": <newPort> }
Using cURL, its apparent that the oldport is the one still serving traffic, while the new one does not.
The only way i've made it actually use the port is
- Rebooting device
- Restarting nucleus
- Removing and Adding the TES component
Environment
- OS: RHEL 9.5
- JDK version: openjdk 11.0.25 2024-10-15 LTS
- Nucleus version: 2.12.6
Additional information:
Also the docs at Greengrass does not specify the port can be set. You have to see the README.md for the TES in this repo
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working