Durable Object namespace binding cannot communicate with other nodes

Heya, I'm getting Durable Object namespace binding cannot communicate with other nodes. with a durable object. Trying to have a simple websocket DO running. Looking into previous occurences of this error in this discord, I'm seeing mostly related to billing (people beeing on free tier), but I'm on the paid tier quambo. Think it happens on proxy from worker to durable object
if (url.pathname.endsWith('/ws')) {
const room = (url.searchParams.get('room') || 'default').toLowerCase();
console.log(`Request to ${room}`);
const obj = env.CHAT.get(env.CHAT.idFromName(room));
return obj.fetch(request.url, request);
}
if (url.pathname.endsWith('/ws')) {
const room = (url.searchParams.get('room') || 'default').toLowerCase();
console.log(`Request to ${room}`);
const obj = env.CHAT.get(env.CHAT.idFromName(room));
return obj.fetch(request.url, request);
}
logs in the durable object fetch method don't get printed, so maybe its the worker not being able to fetch the durable object.
1 Reply
quambo
quamboOP15mo ago
local development for this project is fine. only when deployed I'm running into this error.
Want results from more Discord servers?
Add your server