Forum Discussion
can't connect visual server - running local host and have installed correct certificates
- 8 years ago
Ufff I found the solution, have the same problem as yours tries many different ways install and create certificate.
One mistake I was doing earlier was not installing my certificate in proper location and the proper location was Trusted Root Certification Authorities. I always did first option.. uuuh
Similar issue here. I received the message in Chrome, which was very frustrating. However in Explorer and Edge it works. Odd and annoying.
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.
- v-viig9 years ago
Community Champion
Please try to do these steps below. I suppose that they might resolve the issue.
- pbiviz start
- Open https://localhost:8080/assets/status in Google Chrome
- Open the Advanced
- Click the Proceed to localhost (unsafe)
- Back to the report with your debug visual
- Reload visual code
Please let us know if it resolves the issue.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- nagendramishr8 years agoNew Member
Tried several things and it worked last time... this time again, it worked right after doing this.. So install the cert as trusted root and then do this to make Chrome trust localhost.
- petermcnally9 years ago
Advocate IV
Hi Nikita,
Thank you for following up. Your solution worked for me.
Peter
- g4ege9 years agoRegular Visitor
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 - g4ege9 years agoRegular Visitor
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 - nikitagrachev9 years ago
Microsoft Employee
- g4ege9 years agoRegular Visitor
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_ERRORI have tried updating using:
npm install -g powerbi-visuals-tools
C:\Users\gensminger\CustomVisual\d3joy>pbiviz update
info Visual api 1.7.0 updatedC:\Users\gensminger\CustomVisual\d3joy>pbiviz start
info Building visual...
done build completeinfo 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.
- g4ege9 years agoRegular Visitor
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 1744And then stopped the pbiviz server and no longer showed 8080 LISTENING.
- MawashiKid8 years ago
Resolver II
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 :smileywink:
- v-viig8 years ago
Community Champion
Happy to hear that issue is resolved.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- Radit3 years agoNew Member
This solves the problem. Thanks!!