-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to list IoT Hub devices Error: Requested Host is not supported ; ArgumentInvalid #543
Comments
I met this issue today after VS Code is updated to 1.70.0. Have you solved this issue? |
Hi @shijong Wondering if your hub name is using any special characters. Can you try to create another hub to try again? Can you list your devices from the I am not able to repro with latest VSCode. BTW, the issues related to IoT Edge should be reported in the IoT Edge repo. |
Dear @rido-min Thank you for your response. The location of my IoTHub is East Asia. As you suggested, I try to create another IoTHub in East US, then I can see the device from the Azure IoTHub Extension in VS code. So, maybe there is something wrong with the IoTHub in East Asia. Would you please check me with this? Thank you very much! |
I just created a new hub in East Asia and everything looks good, wondering if the hub name, maybe using extended characters, might be the cause, |
+1, my customer is facing the same issue. I can see the devices in my IoT Hub in Japan East with VSCode, but I can't see in customer's IoT Hub which is also located in Japan East region. The hub name contains only alphabets and no numbers or other special characters. It seems that the behavior is different depending on IoT Hub. Thanks, |
Seems there is an issue when using uppercase letters in the hostname, can you try again using a lowercase hostname in your connection string? |
@rido-min Thank you for your advice, I tried with lowercase hostname, and it worked fine! |
Hello,
running the command
sudo iotedge list
I’m getting a empty list:
and running
sudo iotedge logs SimulatedTemperatureSensor -f
I’m getting:
Visual studio Code too is no more showing the list of devices under IOTHub
I ran this command:
sudo iotedge system logs -- -f
And I got a
Additional Info:
hostnamectl
How can I find where is the “ArgumentInvalid” to fix the issue?
Thank you in advance
Log lines follows (got giving the command
sudo iotedge system logs -- -f
) :Thanks a lot. I appreciate your help!
The text was updated successfully, but these errors were encountered: