cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nikitagrachev Regular Visitor
Regular Visitor

Re: can't connect visual server - running local host and have installed correct certificates

Hello @petermcnally@moeenuddin,

 

Chrome browser blocks this address https://localhost:8080 because of non-valid certificate.

Please open the following link in separate browser tab:

https://localhost:8080/assets/status

Chrome will show the warning message, click  advanced > proceed to unsafe version.

After that Chrome will work with dev visual correctly.

 

 

 

Nikita Grachev,
Team Leader

Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Nikita Grachev,
Team Leader
Microsoft Power BI Custom Visuals,
pbicvsupport@microsoft.com
Highlighted
petermcnally Frequent Visitor
Frequent Visitor

Re: can't connect visual server - running local host and have installed correct certificates

Hi Nikita,

 

Thank you for following up. Your solution worked for me.

 

Peter

g4ege Frequent Visitor
Frequent Visitor

Re: can't connect visual server - running local host and have installed correct certificates

I have the same problem - cannot get it to run in any browser - Chrome, Edge, or IE.

 

https://localhost:8080/assets/status:

 

This site can’t provide a secure connection

localhost sent an invalid response.

 

  • Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
g4ege Frequent Visitor
Frequent Visitor

Re: can't connect visual server - running local host and have installed correct certificates

I have the same problem - cannot get it to run in any browser - Chrome, Edge, or IE.

 

https://localhost:8080/assets/status:

 

This site can’t provide a secure connection

localhost sent an invalid response.

 

  • Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
nikitagrachev Regular Visitor
Regular Visitor

Re: can't connect visual server - running local host and have installed correct certificates

Hello @g4ege,

 Please try this url:

https://localhost:8080/assets/status instead of https://localhost:8080/assets/status:

If it doesn't help, update your pbiviz tool and install certificate again:

https://github.com/Microsoft/PowerBI-visuals/blob/master/tools/CertificateAddWindows.md

Nikita Grachev,
Team Leader
Microsoft Power BI Custom Visuals,
pbicvsupport@microsoft.com
g4ege Frequent Visitor
Frequent Visitor

Re: can't connect visual server - running local host and have installed correct certificates

I have tried https://localhost:8080/assets/status:

This site can’t provide a secure connection

localhost sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR

 

I have tried updating using:

npm install -g powerbi-visuals-tools

 

C:\Users\gensminger\CustomVisual\d3joy>pbiviz update
info Visual api 1.7.0 updated

C:\Users\gensminger\CustomVisual\d3joy>pbiviz start
info Building visual...
done build complete

info Starting server...
info Server listening on port 8080.

 

I have restarted all browsers, I have tried deleting browser history and cookies, and I have rebooted my machine.  

 

Unfortunately still same result.

Moderator v-viig
Moderator

Re: can't connect visual server - running local host and have installed correct certificates

@g4ege Could you please confirm that your firewall doesn't block PBIVIZ server? You might check it by disabling firewall.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

g4ege Frequent Visitor
Frequent Visitor

Re: can't connect visual server - running local host and have installed correct certificates

Yes, I have disabled the Windows Firewall - for both public and private profile.  Same result.'

 

I also checked port 8080 with pbiviz start running: '

 

C:\Users\gensminger>netstat -ano | findstr 8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 1744
TCP [::]:8080 [::]:0 LISTENING 1744

 

And then stopped the pbiviz server and no longer showed 8080 LISTENING.

Moderator v-viig
Moderator

Re: can't connect visual server - running local host and have installed correct certificates

Please try to do these steps below. I suppose that they might resolve the issue.

  1. pbiviz start
  2. Open https://localhost:8080/assets/status in Google Chrome
  3. Open the Advanced
  4. Click the Proceed to localhost (unsafe)
  5. Back to the report with your debug visual
  6. Reload visual code

 

Please let us know if it resolves the issue.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

MawashiKid Member
Member

Re: can't connect visual server - running local host and have installed correct certificates

Hi nikitagrachev,

 

Just a few words to mention that your solution worked in my case.  I had the very same issue as mentioned by fellow members. I had first decided to remove existing certificate and reinsinstall a new one through pbiviz --install-cert

I could then proceed with Certificate installation [windows prompts process...] and managed to create a new one with success.

So far so so good. Then when trying to launch on Google Chrome... Bang same thing... So before trying to recreate SSL certificate indifinitely... I figured this may not be strictly related to a local issue but mainly on Google Chrome side. As some mentioned if it worked on Microsoft Edge browser and not on Google Chrome then there you go...  I know Google Chrome latest versions have also behaved a bit strangely lately... forcing me to reinstall it a couple of times...   Still your option seemed to do the job, thanks for sharing Smiley Wink

 

 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 274 members 2,227 guests
Please welcome our newest community members: