Network blocked? Single device can't connect to IoT Hub (while identical others can).

Ken Martin 111 Reputation points
2021-04-07T16:34:03.84+00:00

I have an IoT Edge device that is unable to connect to my IoT Hub. This device connects fine on any other network. I'm nowhere near any quotas or limits. The IoT Hub is otherwise working perfectly for other similar devices on different networks having the same Deployment.

It appears that the IP address/block of this network (Xfinity) may be being blocked?

If I do a traceroute to my IoT Hub host, it dies at the first Microsoft server it touches (..dsm05.ntwk.msn.net).

Any ideas how I can chase this down?

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
540 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,123 questions
{count} votes

Accepted answer
  1. Ken Martin 111 Reputation points
    2021-05-20T14:25:33.58+00:00

    Hello @António Sérgio Azevedo ... I'm very sorry for the delay!

    That didn't work. It was the host network... not Comcast. I swapped out the router at the location and all was well.

    I'm sorry for the false alarm and thank you for helping me out.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. António Sérgio Azevedo 7,666 Reputation points Microsoft Employee
    2021-04-30T09:40:30.933+00:00

    Hello @Ken Martin thank you for your patience in advance.

    We notice that Comcast network is involved, therefore you are trying to connect to the IoT hub from your on-premises. Can you confirm?

    I have researched internally and there is no evidence that the Xfinitiy network is being blocked.

    Can you try to run vanilla ubuntu container in the azure-iot-edge network and check if you can connect to the iothub?:

    # start ubuntu container inside azure-iot-edge network  
    $ docker run --rm -it --network="azure-iot-edge" ubuntu  
    # inside container and check it can connect and verify TLS connection with iothub   
    openssl s_client -connect -showcerts YourIoTHub.azure-devices.net:443  
    

    Thank you!