Azure / pcs-remote-monitoring-webui

Azure IoT PCS Remote Monitoring Web UI
MIT License
54 stars 72 forks source link

Simulation status is showing error #1237

Closed ppathan closed 5 years ago

ppathan commented 5 years ago

Type of issue

Description

Clicked on the settings on the Dashboard and saw that "Error loading simulation status"

Steps to reproduce

  1. [First step]
  2. [Second step]
  3. [and so on...]

Expected behavior

Toggle button

Current behavior <!-- The actual behavior observed --

Error string

Known workarounds

None

Possible solution

...

Context and Environment

Screenshot

image

elvinm commented 5 years ago

It turns out a few more environment variables we thought were optional in device simulation are needed. Our frontend calls into device simulation and thus need cors whitelist and aad variables to be set. All of these items are already in keyvault so it just expanding on Sushil's PR for env variables.