You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am building a electron game that uses Ably Realtime.
I need to add all the CSP headers for security reasons.
It seems that it is hitting variations of wss://realtime.ably.io, such as a.ably.io , b., c., etc.
Is there a list of CSP connect-src that I need to enable somewhere?
For websocket connections library will attempt the next hosts by default:
default is wss://realtime.ably.io, and fallback hosts in case of an error: wss://a.ably-realtime.com, wss://b.ably-realtime.com, wss://c.ably-realtime.com, wss://d.ably-realtime.com, wss://e.ably-realtime.com
For HTTP requests library will attempt the next hosts by default:
default is https://rest.ably.io, and fallback hosts in case of an error: https://a.ably-realtime.com, https://b.ably-realtime.com, https://c.ably-realtime.com, https://d.ably-realtime.com, https://e.ably-realtime.com
And you should also add https://internet-up.ably-realtime.com for internet connection checks
VeskeR
added
the
documentation
Improvements or additions to public interface documentation (API reference or readme).
label
Jun 28, 2024
@VeskeR Hi, Thank you for the prompt reply! I think this is everything that I wanted to know! Hopefully documentation can be added about this somewhere.
Hey @kyeshmz ! Hope you're doing well!
I forgot one more endpoint that is used by ably-js SDK: wss://ws-up.ably-realtime.com/ - used to check if websocket connectivity is available.
Hi,
I am building a electron game that uses Ably Realtime.
I need to add all the CSP headers for security reasons.
It seems that it is hitting variations of
wss://realtime.ably.io
, such as a.ably.io , b., c., etc.Is there a list of CSP connect-src that I need to enable somewhere?
Related, but not the same
https://faqs.ably.com/csp-rejection-to-internet-uptxt
┆Issue is synchronized with this Jira Task by Unito
The text was updated successfully, but these errors were encountered: