During development has anyone been able

During development has anyone been able to get EXPOSE working for multiple ports?
1 Reply
peterp
peterpOP2mo ago
I am able to determine that the Docker image is launched correctly. The ports are mapped, but the DO is unable to connect to any of them.
Error checking if container is ready: internal error; reference = 8p2msetkcv3mh8s84mgokc98

workerd/jsg/util.c++:320: error: e = capnp/arena.c++:62: failed: Tried to form a Builder to an external data segment referenced by the MessageBuilder. When you use Orphanage::reference*(), you are not allowed to obtain Builders to the referenced data, only Readers, because that data is const.
Error checking if container is ready: internal error; reference = 8p2msetkcv3mh8s84mgokc98

workerd/jsg/util.c++:320: error: e = capnp/arena.c++:62: failed: Tried to form a Builder to an external data segment referenced by the MessageBuilder. When you use Orphanage::reference*(), you are not allowed to obtain Builders to the referenced data, only Readers, because that data is const.
Returning to a single "EXPOSE" configuration resolves the issue during development. It looks like this might have been a Vite 7 issue Downgrading to Vite 6 appears to have resolved this.

Did you find this page helpful?