Cannot run Azure Function today - was fine yesterday

ChrisU 226 Reputation points

Hi all!

I have an Azure Function that I am current developing to read data from an IoT hub and save to an Azure SQL DB. I have been working on this pretty much all week and it has been going fine; coding and testing and seeing the data from my sensors populate the database.

However I started it this morning, hit F5 to run the code and see an error in the terminal that I have not seen before:

launch.json file (I have never touched this):

For completeness, the below is the host. Json file:

So, this was working as of 17:00 last night. I fire it up this morning and the get issue described. Nothing, to my knowledge changed in the dev env between that time and the code did not change. I am using VSC.

I also pinged

Any help would be appreciated.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,716 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,018 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChrisU 226 Reputation points

    Have just come back to this post to update it! Thanks for answering, however the problem was not with my code or environment. I think the problem was with Azure as many other people had the same issue (see here: issues). however, all sorted now and running as expected!