Ensure our chatobot samples work in environment where a secure connection is required
Opened this issue · 0 comments
iocanel commented
Tried some samples inside OpeShift and exposed them as routes. The chatbot didn't work as expected as it uses ws
and a secure connection was required in this case.
What worked for me is changing the protocol from ws
to wss
and fallback to ws
. if wss
is not available.
I think this needs to be applied to all our samples.