question

Fernando-1104 avatar image
0 Votes"
Fernando-1104 asked ·

Azure IoT Hub Routes to EventHub Cannot be Added

I'm trying to add an EventHub-based route to an Azure IoT Hub and am getting this error:

"Resource Provider does not support any route matching the request URI. If this is a request for an entity with multi-segment names, encode '/' with '~' in the entity name."

It is unclear why I am seeing this. I am using an already created EventHub that I had tested with previously and the name has not changed.

There is no / or ~ in the name of the Endpoint, event hub namespace, or the event hub itself as far as I can tell.

I've been having periodic issues the last few days with Azure IoT Hubs. Is this related? Or is there something I need to change to allow these endpoints to be created?

I've tried both the Create Endpoint workflow in the Azure IoT Hub Messaging/Routing part of the console directly and the one that is a part of the "Create Route" workflow.

azure-iot-hubazure-iot
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Fernando-1104 avatar image
0 Votes"
Fernando-1104 answered ·

These were approximately the steps I was taking (I automated parts of this with ARM templates) but the issue seems to have been another transient error.

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Glad to hear that your issue is resolved

0 Votes 0 ·
AshokPeddakotla-MSFT avatar image
0 Votes"
AshokPeddakotla-MSFT answered ·

@Fernando-1104 We are sorry for the inconvenience caused. There are no known issues at our end for adding routes to the IoT Hub.

You have mentioned, I am using an already created EventHub that I had tested with previously and the name has not changed. You mean was it working earlier and now its not working?

I've been having periodic issues the last few days with Azure IoT Hubs. Is this related? Or is there something I need to change to allow these endpoints to be created?

How exactly have you added an endpoint? What are the other issues you are facing? I see that in your previous queries, issue related to Can't Access Devices from Azure IoT Hub has been resolved by the PG with the fix.

You need to create an end point first and then add a route.

Below are the steps for creating and adding an Event hub endpoint routing from IoT Hub. Please verify the steps incase if you missed any.


Create an Event Hub name space and event hub

76718-image.png

76862-image.png


Create Event Hub Endpoint

Goto Azure portal -> Select your IoTHub -> Click on Message Routing -> Click on Custom endpoints -> Click on Add -> Event hubs

Provide Endpoint name and select the Event hub instance. Click on Create

76729-image.png

76832-image.png

Create Routing to Event Hub

Click on Routes > Add -> Provide Route name and Select Endpoint created in previous step. Click on Save

76719-image.png

Please check the steps and let us know if you are still blocked.



image.png (58.1 KiB)
image.png (31.7 KiB)
image.png (77.4 KiB)
image.png (42.8 KiB)
image.png (42.1 KiB)
·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.