I'm also getting a lot of thrashing ... meaning my container is being stopped and/or reported as sto

I'm also getting a lot of thrashing ... meaning my container is being stopped and/or reported as stopped. I have a ping endpoint that is working...meaning I can reach my container...meanwhile I'm seeing the container print the message ...

export class IcebergCommitter extends Container<Env> {

defaultPort = 8080;
sleepAfter = "60m";
envVars = { var stuff };

async fetch(request: Request): Promise<Response> {
return await this.containerFetch(request, this.defaultPort);
}

override onStart() {
console.log('Container successfully started');
}

override onStop() {
console.log('Container successfully shut down');
}

override onError(error: unknown) {
console.log('Container error:', error);
}


async alarm() {
console.log('Alarm called (no-op)');
}

}

I'm seeing alarm called...even though I haven't set any alarms and 'Container successfully shut down' for no apparent reason...

The fact that I can't look at the logs is a bit hard to diagnose. I do see logs on the Durable Object associated with container. I would suggest looking there.
Was this page helpful?