a year ago
I've recently promoted a variable to global one and the apps that are using it are reading the value as empty string.
I've checked the settings page and the variables are correctly shared with the services to be used.
This is not happening for global shared variables that i created in the past. Only with the ones created today
3 Replies
a year ago
Attached you can see the property under the shared settings that has a value while the one under the app doesn't have a value
Attachments
a year ago
Ok, i think i figured it out,for some reason shared variables that contains dots the value does not get shared. If i replace dots with underscore they are being shared without issues
a year ago
Yep it's a known bug, but it's best to follow standard naming practices where possible -
SPRING_REDIS_PORT
I think it would also be good to mention that you should be using the private host and port, that port was a public port, meaning you are exposing yourself to needless egress fees.