The remote binding does not seem to be

The remote binding does not seem to be working
6 Replies
Dario
Dario•2mo ago
remote bindings are not working for you in local development? 😢
Jorel
Jorel•2mo ago
GitHub
[BUG] Type error during build when using RPC service binding to oth...
Describe the bug When I try to add a service binding for RPC calls between an opennext worker and a normal worker - next build fails. ../my-first-worker/src/index.ts:16:61 Type error: Cannot find n...
udidu
udiduOP•2mo ago
No, in production everything works. on local environment I want to bind to a remote rpc service but the binding does not seem to work. only when I run my rpc service locally I can bind to it but not to the -production one. I tried to set the remoteBinding experimental flag but all I get is errors that says the rpc methods not found
Jorel
Jorel•2mo ago
Aah, right. Yeah that seems hard... I was under the assumption RPC was only available because the way they host the workers in the same environment - and those "ports" or whatever, are not open to anything outside that cloudflare env...
udidu
udiduOP•2mo ago
Yeah but the issue relates to the open next I guess, you see, when I run a local worker I can bind to a remote one. The problem exists only when trying to bind a local next worker to a remote one
Dario
Dario•2mo ago
Yes, sorry RPC does not currently work for remote bindings, the team is currently working on that

Did you find this page helpful?