Please can you give us more information? What exactly isn’t working- what errors do you see? Are both configurations broken, or is it only broken when you use the environment variables? Which version of Z2JH are you using?
@manics Sorry for delay in getting back to this. I was not able to get the env variable populated correctly into the hub earlier. I tried the whole re-installation and it seems to be working. Thanks for looking into this