-
Notifications
You must be signed in to change notification settings - Fork 90
Conversation
I'm seeing the following error when I attempt to direct traffic to the Dart 2.5 backend:
Something has changed. No idea what. |
Do you have a stacktrace? |
We may be hitting some aspect of dart-lang/sdk#36900. |
I’m currently in transit, but the Dart 2.5 dart-services version is still provisioned on gae, just not receiving traffic. |
I've spent several hours attempting to replicate this issue. Turns out, dart-services works fine locally, it works fine inside of a docker container when I change the serving endpoint to |
Hmm, perhaps you're using slightly different package versions than the remote instance? You could try running |
Yeah, if your remote container is tied to an older package, it may not have picked up a fix for dart-lang/sdk#36900 |
I've started looking into this, since Brett's on Australian time and dealing with an OOO situation on top of it. |
Underlying cause is a break in the rpc package. I've created a fix here, but have no idea how to land it: |
Is it worrisome that we're depending in something in |
I tried to land an update to RPC a while back, but Mit said no. I had been moving in the direction of migrating from RPC to gRPC, but other things got in the way. I'd say the best way at this point is to vendor RPC into /cc @mit-mit |
Yes. There are trade-offs being made here in terms of infrastructure updates vs. new feature development, though. We need to move away from the discoveryapis/rpc setup currently in use, but unforking flutter_web in the backend and getting the new playground done have so far taken precedence. @domesticmouse Pulling rpc into the repos is an option, but it's also (at least at little) more work for what is essentially a patch job we want to replace anyway (be it with gRPC or OpenAPI). If we can make this one update to get back on track, that's likely to be a quicker way to get where we're going. |
OpenAPI is not a replacement for RPC, it is a way describing the API exposed by RPC. gRPC likewise is not a clean replacement for RPC as it is less expressive and the web browser usage is still in development. In short, the current approach is hard deprecated, the new approach is still in development. |
grpc-web is supported as of a few weeks ago |
Sounds like the best approach is to vendor in |
No description provided.