Open m4rs4t opened 2 years ago
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 az cli
?
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. I think it's a VSCode issue since I can see the devices from Azure IoT Explorer and Azure CLI. Could you please investigate?
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! Please let me know if there are any updates on this issue. Thanks!
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 aAdditional Info:
curl -v
easly connects to IotHubhostnamectl
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!