question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please lobby the IoT Hub team so we could run AF over websockets

See original GitHub issue

The whole point of Azure Functions is to take away the worry about infrastructure and provisioning of servers. However, as we live in 2017 it’s fundamentally important that we are able to talk to Azure Functions over websockets.

Azure IoT Hub is a broker that supports MQTT over WebSockets. Azure Functions on the other hand supports both IoT Hub triggers and outputs. This means we could run clients that talk to Azure Functions over WebSockets (using mqtt.js or pahojs for example) by relying on IoT Hub triggers and outputs.

Unfortunately, the above can not be accomplished not only because IoT Hub does not support CORS but also because CORS support seems to be a low priority for the IoT Hub team. This is surprising considering the fact that AWS IoT has supported CORS/WebSockets since January last year.

Most importantly, this prevents Azure Functions from fulfilling it’s “serverless” promise because right now the only way to talk WebSockets to Azure Functions is by running a cluster of servers for the sole purpose of brokering websocket <> http/iot connections.

We need someone from the Azure Functions team to physically head over to the IoT Hub team and explain to them that there’s a whole world outside Arduino that could use CORS support.

😉

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:16
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
1N50MN14commented, Feb 1, 2017

@christopheranderson Just checking in to hear if there are any signs of hope on the horizon?

1reaction
thewoolleymancommented, Jan 31, 2017

+1, this is key to running multi platform apps with a truly serverless backend. It would be great to have an option other than AWS for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1 answer
In my react app I put the exact connection string for the device I want to fetch data from. However, I get this...
Read more >
web-apps-node-iot-hub-data-visualization error
Hello, I'm trying to run my data visualization charts from this doc: ... I can see the charts on the web app, but...
Read more >
Connect to Azure IoT/Event hub from browser side
1 Answer 1 · Login azure · All resources and find your iot hub · Device Explorer · Click the device which you...
Read more >
el
Tiny house west auckland, Introduced crayfish nz, Bec and bridge classic one ... What is it called when you can speak several languages,...
Read more >
qi8nj
#financing Cj wow shop de cellini, Can you cut crown molding with a table saw, ... Dt swiss micro spline on onyx hub,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found