"internal error" error while using service binding.

Hi, I have two workers. One worker (Worker A) is trying to make an API call to another worker (Worker B). I have enabled the service binding where I have bound Worker A with Worker B, and when I'm trying to call the API, I'm getting this error log in Worker B: internal error; reference = 01d9n3paq7mnnnamd35rml8p. This is how I'm calling the API: await env.data_injection_worker.fetch(aktoReq);.
16 Replies
Walshy
Walshy•3mo ago
Hey, are you seeing this consistently? Can you also link your account please ?link
SuperHelpflare
SuperHelpflare•3mo ago
Please use the /link command to authenticate with your Cloudflare account and link it to your Discord user. This helps Cloudflare employees access your details more quickly and provide support. It also makes future support requests easier, since your account will already be linked.
TangoBee
TangoBeeOP•3mo ago
done yup! its consistent
Walshy
Walshy•3mo ago
interesting, can you provide some more ref ids? Sadly that one wasn't captured
TangoBee
TangoBeeOP•3mo ago
sure
Walshy
Walshy•3mo ago
and when did this start? was it always happening since you set this up or it broke at some point?
TangoBee
TangoBeeOP•3mo ago
internal error; reference = 03t1v147q4l2st6bqkke3cp4
No description
TangoBee
TangoBeeOP•3mo ago
It was working about 10 days ago, but now, when I'm trying the service binding thing with a new worker, it's not working. without service binding i'm able to call the API let me know if you need more info I need to fix this issue ASAP because in few hours I have a client call. :NotLikeThis:
Walshy
Walshy•3mo ago
Ok so I can see the internal error - it looks like MyContainer is being called as a DO but it doesn't exist as a DO (which is a strange state) did you happen to do something like rename or delete this but still have a script referencing it as a binding?
TangoBee
TangoBeeOP•3mo ago
Nope It's a new container
Walshy
Walshy•3mo ago
does the ingest worker still use MyContainer as the container/entrypoint name?
TangoBee
TangoBeeOP•3mo ago
yes i guess
Walshy
Walshy•3mo ago
yeah i can see it being used the same.. hmm, not sure how you got into this state
TangoBee
TangoBeeOP•3mo ago
What's the issue? I mean, 10 days ago it was working with the same configuration. Now I have deleted that container and those workers, created new ones, and now it's not working.
Walshy
Walshy•3mo ago
this is the issue but why, i do not know It seems you re-creating these got it into a weird state for some reason. I'd love to know how haha
TangoBee
TangoBeeOP•3mo ago
I have no idea about this :) So, what should I do? Do you have any ideas? šŸ‘€ any help here? šŸ‘€ I tried deleting old containers, workers, and durable objects and tried redeploying everything, but it's still giving me an internal error. I really need to resolve this today.

Did you find this page helpful?