Kholis
Kholis
CDCloudflare Developers
Created by Kholis on 12/25/2024 in #durable-objects
Websocket Server with Durable Object Client Connection
basically our CF Pages will act as a Proxy to our DOWebsocket ya? got this error before
Error fetching WebSocket config: Error: Cannot access `DOWebsocket#webSocketAddress` as Durable Object RPC is not yet supported between multiple `wrangler dev` sessions.
Error fetching WebSocket config: Error: Cannot access `DOWebsocket#webSocketAddress` as Durable Object RPC is not yet supported between multiple `wrangler dev` sessions.
does it guaranted it will work on the prod itself?
10 replies
CDCloudflare Developers
Created by Kholis on 12/25/2024 in #durable-objects
Websocket Server with Durable Object Client Connection
on the Pages side, since there is service binding, we don't need to connect outside of cloudflare network. so when end user open my pages, they can do websocket connection to the web server and reach / communicate with others.
10 replies
CDCloudflare Developers
Created by Kholis on 12/25/2024 in #durable-objects
Websocket Server with Durable Object Client Connection
Worker handling the request (Edit: this will be your pages function):
actually I need it on the pages itself / client side. not the page function
Websocket DO:
yeah already do like this. The things is we have a CF Worker - Websocket DO I need my CF Pages / any other client / agent there to connect to websocket server.
10 replies
CDCloudflare Developers
Created by Kholis on 12/25/2024 in #durable-objects
Websocket Server with Durable Object Client Connection
No description
10 replies
CDCloudflare Developers
Created by Kholis on 12/25/2024 in #pages-discussions
[pages] https mode with local workers https upstream
I need to have https in my local since the OAuth callback didn't accept http
2 replies
CDCloudflare Developers
Created by Kholis on 12/25/2024 in #pages-discussions
[pages] https mode with local workers https upstream
seem stuck for this
2 replies