Is Panel viewer path relative?
Yes, under hosted test and above your extension is at https://extClientID.ext-twitch.tv/extClientID/Version/md5OfZip/path_to_file_for_integration_point.html?querystring
So yes it’s relative
I wrote about the structure and layout here Twitch Extensions: Part 3 – The Architecture of an Extension – Barry Carlyon
Then trace and debug the issue using inspector with console and network tools
At the end of the day extensions are just websites, so normal website debugging apply.
Generally speaking, ignoring self signed certs, localhost cannot be SSl’ed and SSL cannot operte on non standard ports (should be 443 anything else may cause issues)
You could use the dev rig but all the dev rig does is start your hosting server for you using the certs you already made using mkcert
Twitch will load from whatever testing base URI you provide when in localtest, so then it’s just down to what your browser trusts if any.
Currently your configuration looks correct, but is not realistic to the hosted/release environment.
But these settings should load as long as your browser trusts the connection to this URL.
You may find it easier if you utilise a publically accessable URL with real SSL certs, this can be achieve via uploading your files to a “real web server” (I don’t mean hosted test as that involves mode switch) or a reverse proxy tool such as reverse SSH tunneling behind nginx or using ngrock to proxy the connection, I wrote about this here Twitch Extensions Part 5 – Dev Environment – Barry Carlyon
This setups a node static/dumb express server, behind SSL termination with the files served out of a subfolder. Which makes my development environ as similar to Twitch hosted test and above as possible.
(see summary/just one more thing for my SSL setup notes)