Skip to main content
1-Visitor
March 7, 2019
Question

IOT Hub not resolvable

  • March 7, 2019
  • 1 reply
  • 7010 views

Hi all,

 

I am trying to do a small IOT study with Azure. But I am getting the following err.

Could you please share your thought on how to overcome this.

Glad if you can share your sample azure-iot.conf.

Please help.

 

Error Message:

The IoT Hub host SarmaIOTStudy.azure-devices.net is not resolvable. Verify that thecxserver.protocol.hubName configuration matches an IoT hub name in the Azure Console

 

Thanks

Sarma

1 reply

5-Regular Member
March 7, 2019

You must create an IoT hub in Azure with a name that is globally unique, not just unique for your account. The name must be between 3 and 24 characters, lowercase alphanumeric (no underscores)

Sarma1-VisitorAuthor
1-Visitor
March 7, 2019

Thanks for the quick response.

I have set up an IOT HUB in Microsoft Azure already under Free trial.

Please find the attached screenshot of my Azure and Azure-IOT.conf file.

Could you please share the your conf file.

 

Thanks

Sarma

 

5-Regular Member
March 7, 2019

The name you are using for your Azure IoT hub will not work because it has capital letters.

 

Try creating a new IoT hub that uses all lower case letters and is between 3 and 24 characters long