- Node.js* (v22.13.0) 👉 [Download]
- pnpm* 👉
npm install -g pnpm
- Azure App Configuration*
- VPN* 👉 To simulate the issue
- Azure Blob Storage 👉 Optional its just to demonstrate the issue is with app config
- All networks, including the internet and private endpoints, can access this resource.
- Access keys is enabled
- Some configuration settings are added in order to read them
pnpm install
- Activate a VPN
APP_CONFIG_ENDPOINT=https://REPLACE_ME.azconfig.io pnpm start
👉 💥BLOB_PREFIX= BLOB_SRV_ENDPOINT=https://REPLACE_ME.blob.core.w indows.net/ BLOB_CONTAINER=REPLACE_ME pnpm blobStorage
👉 🚀 Demonstrating the issue is with the@azure/app-configuration
- Deactivate VPN
APP_CONFIG_ENDPOINT=https://REPLACE_ME.azconfig.io pnpm start
👉 🚀BLOB_PREFIX= BLOB_SRV_ENDPOINT=https://REPLACE_ME.blob.core.windows.net/ BLOB_CONTAINER=REPLACE_ME pnpm blobStorage
👉 🚀
So as soon as a VPN is deactivated both the @azure/app-configuration
and
@azure/storage-blob
works as expected. But as soon as the VPN is activated
@azure/app-configuration
fails to read the configuration settings.