I’m stating up with building extension for twitch and naturally, Iv’e started with the hello world example.
Unfortunately, it does not work properly.
I have done all the tasks in the git including creating the SSL files and copying them to the conf folder.
I’ve uploaded the hello world project on the rig
It seems to run but the change color button is disabled.
I’ve tried logging to the console at the beginning of the viewers.js and I cannot see the log.
The thing is the instruction on the Hello World git are made for the old rig
and not the new one.
I’ve tried it anyhow, still ain’t working:
each time I press the button I get:
EBS request returned (error)
Not exactly sure how to debug this, I’m going to try but sharing this info in hopes someone might spot the issue sooner than I can crack it. Thank you!
Update! I got it working. In viewer.js in the public folder, I made a change to the url value on line 18 to hardwire https: rather than passing in location.protocol
The Hello World example extension front end assumes the protocol used to host the back end is the same as that used to host the front end. The Developer Rig hosts the Hello World example extension front end using the http: protocol (no SSL). If you delete the conf folder, the back end will run without SSL and be accessible using the http: protocol.