asciidoctor / asciidoctor-browser-extension

:white_circle: An extension for web browsers that converts AsciiDoc files to HTML using Asciidoctor.js.
https://chrome.google.com/webstore/detail/asciidoctorjs-live-previe/iaalpfgpbocpdfblpnhhgllgbdbchmia
MIT License
216 stars 53 forks source link

Extension always uses https despite configuring http #663

Open fidelski opened 1 month ago

fidelski commented 1 month ago

I am working in a work environment where I want to use the inhouse installation of Kroki. We use this without ssl since our services are not reachable from the internet, we use those services inhouse only. I therefore configured the extension to point to http://kroki.ours.local:8000. Now I get an error because the extension nevertheless uses https and obviously cannot reach the server.

Configuration: http://kroki.ours.local:8000 Extension tries to accesss: https://kroki.ours.local:8000

ggrossetie commented 1 month ago

I cannot reproduce this issue:

https://github.com/asciidoctor/asciidoctor-browser-extension/assets/333276/28bb2011-4e4c-4b36-ae4a-d700589f8d44

Could you please share additional information?

fidelski commented 1 month ago

Thanks for your investigation! Could it be that you are trying to access localhost and that's why there is no attempt to use ssl? This makes me think that it's not the plugins fault but the browser trying to always use ssl instead of plain http. :man_shrugging:

diagram-http

ggrossetie commented 4 days ago

Might be something specific to Firefox since I cannot reproduce in Chrome... 🤔