Closed drusepth closed 1 year ago
Hurrah! Enabling HTTPS was enough to resolve this error, so I'll close this issue. Hopefully it's helpful for anyone searching for the same error in the future.
Thanks! Next version will have an informative failure message so that people know they need HTTPS.
I get this javascript alert after every message (as well as after refreshing the page on any chat where a message is loading):
In the console, I also see this stack trace:
The exact line throwing the error is
I'm not sure if this is perhaps just a setup issue on my part, so I've also included my setup instructions below.
Setup details
I'm running the project zip from the local setup doc locally and set my OpenAI key. I'm also serving the project with Apache instead of the Web Server for Chrome app, since I'm planning to host on a remote, headless server.
I'm pretty sure, according to this documentation on
Crypto: subtle
that the problem is that I'm not serving the page over HTTPS and thereforecrypto.subtle
is unavailable.Just figured I'd open this issue (and hopefully close it shortly) while I dig in for myself and anyone else that sees this specific error in the future. :+1: