Heya I m getting `Durable Object

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
1 Reply
quambo
quambo13mo ago
Is there any resources on this error? 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 Posted to https://discord.com/channels/595317990191398933/1147841866872651887
Want results from more Discord servers?
Add your server