microsoft / vscode-asa

Azure Stream Analytics In VSCode
Creative Commons Attribution 4.0 International
10 stars 15 forks source link

Unable to preview sample data #95

Open almisson opened 1 year ago

almisson commented 1 year ago

Steps to Reproduce:

  1. Follow the tutorial here.
  2. Attempt to "Preview data".
  3. An error stating the following is returned:
    [2023/03/24 04:36:39 PM] [Info] Previewing data from /***/IoTHub2.json...
    [2023/03/24 04:36:39 PM] [Error] No data was found for preview Input. Error: read ECONNRESET
    Make sure the input has recently received data and the correct format of those events has been selected.
    [2023/03/24 04:36:39 PM] [Error] Failed to preview data from Input
  4. I've confirmed there is data on the IoT Hub via the Azure portal.
pengyuli-ms commented 1 year ago

Hi @almisson , thanks for the feedback! We tried your issue using the same environment configuration, but can not reproduce in our side. Based on the console log, seems it is due to the network issue, did the data keep ingesting into your IoTHub? Since "Preview data" can only preview the latest data (maybe only latest 5 min from now is included).