Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
nirnaybansal
New Member

Unable to connect to localhost https webapi on dev box

Hi,

 

I have webapi under development and hosted using IIS Express (triggered from Visual Studio F5 command) over https. Following is the one of the url:

https://localhost:446/api/v1/summary

 

I can hit this url from Chrome, Edge and Postman too. But when I am trying to "Get Data" in Power BI Desktop, using Get Data -> Other -> Web -> and giving this url. It is returning me following error:

Details: "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

 

On Chrome or on Edge we have option to go advance by clicking detail and click on following link to bypass the cert error:

This site is not secure -> Detail -> "Go on to the webpage (Not recommended)"

 

How could we bypass the same from Power BI for local development purposes.

 

2 REPLIES 2
v-haibl-msft
Employee
Employee

@nirnaybansal

 

Please try following steps to see if it helps.

 

  1. In Internet Explorer, click Tools, and then click Internet Options.
  2. Click the Content tab, and then click Clear SSL state.

 

Best Regards,
Herbert

I am having this issue as well.  I have tried to clear the SSL state and have had no luck resolving the issue.  Anything else that can be tried, to ignore the cert validation on internal, trusted servers?

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.