qwtel / sqlite-viewer-vscode

A quick and easy SQLite viewer for VSCode, inspired by DBBrowser for SQLite and Airtable.
https://marketplace.visualstudio.com/items?itemName=qwtel.sqlite-viewer
Other
167 stars 13 forks source link

Plugin not working when using self signed SSL certificate or using cert: true in config using code-server #58

Closed krishnasen2401 closed 4 months ago

krishnasen2401 commented 4 months ago

https://github.com/coder/code-server/issues/6809

Getting error :- Error loading webview: Error: Could not register service worker: SecurityError: Failed to register a ServiceWorker for scope ('https://192.168.29.11:8080/stable-effc6e95b4ad1c5ac5f9083ec06663ba4a2e005c/static/out/vs/workbench/contrib/webview/browser/pre/') with script ('https://192.168.29.11:8080/stable-effc6e95b4ad1c5ac5f9083ec06663ba4a2e005c/static/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=192.168.29.11:8080'): An SSL certificate error occurred when fetching the script..

when using coder-server on other than localhost address with or without using self signed SSL

logs https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/172953845/15406452?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240522T170306Z&X-Amz-Expires=300&X-Amz-Signature=7cbb32697c763b392017c7bee0b749046436e39c05f74d4ed77e28b059a89d44&X-Amz-SignedHeaders=host&actor_id=13378434&key_id=0&repo_id=172953845&response-content-disposition=attachment%3Bfilename%3Doutput.txt&response-content-type=text%2Fplain

krishnasen2401 commented 4 months ago

https://github.com/coder/code-server/issues/6809

Getting error :- Error loading webview: Error: Could not register service worker: SecurityError: Failed to register a ServiceWorker for scope ('https://192.168.29.11:8080/stable-effc6e95b4ad1c5ac5f9083ec06663ba4a2e005c/static/out/vs/workbench/contrib/webview/browser/pre/') with script ('https://192.168.29.11:8080/stable-effc6e95b4ad1c5ac5f9083ec06663ba4a2e005c/static/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=192.168.29.11:8080'): An SSL certificate error occurred when fetching the script..

when using coder-server on other than localhost address with or without using self signed SSL

logs https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/172953845/15406452?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240522%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240522T170306Z&X-Amz-Expires=300&X-Amz-Signature=7cbb32697c763b392017c7bee0b749046436e39c05f74d4ed77e28b059a89d44&X-Amz-SignedHeaders=host&actor_id=13378434&key_id=0&repo_id=172953845&response-content-disposition=attachment%3Bfilename%3Doutput.txt&response-content-type=text%2Fplain

krishnasen2401 commented 4 months ago

coder/code-server/#6809