Azure / Azure/azure-iot-explorer

[BUG] Unable to get device list

Open
#636 0 comments 0 reactions 0 assignees View on GitHub
bug needs review
Dominant language
TypeScript
Stars
252
Forks
85
Avg merge
3h 32m
Merged PRs (30d)
2

Description

**Describe the bug**
Installed the latest version of IoT Explorer. Added the connection string. While doing the "View devices in hub" it is showing me an error:
Failed to retrieve device list: request to
`https://hub-url/devices%2Fquery?api-version=2020-09-30 failed, reason: unable to get local issuer certificate`

I am getting the same error even if I use Azure AD to authenticate. It use to work and suddenly stopped working in 0.15.8

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'IoTHubs'
2. Click on 'View Devices in this hub'
4. See error

**Expected behavior**
It should show the device list

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Windows, Linux, OSX]
![image](https://github.com/Azure/azure-iot-explorer/assets/10952688/70e9e9b4-0e27-47fb-9c3c-807e3966b0b1)

- OS Version Windows 10
- App version 0.15.8/0.15.9

Contributor guide

Open the contributing guide

Research direction

Start by reproducing “View devices in this hub” on Windows 10 with app versions 0.15.8 or 0.15.9, using both a connection string and Azure AD authentication. Trace the request to the devices query endpoint and investigate the reported local issuer certificate failure; done means the device list loads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
cloud, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.