Lev Khoroshansky
Lev Khoroshansky
> This is interesting, so you're saying the same setup for the same project ID and instance names you have actually other methods working and only compute_instances_start fails? If we're...
> Something with either network/proxy I've tried sending the same request from a Google Cloud instance located in the same zone/region, but it returned the same response. > Something with...
I took another try at this. I forked this repo, added it via `path = "..."` to `Cargo.toml` and made the following changes: ```diff diff --git a/gcloud-sdk/src/rest_apis/google_rest_apis/compute_v1/apis/instances_api.rs b/gcloud-sdk/src/rest_apis/google_rest_apis/compute_v1/apis/instances_api.rs index 989d988a2..2d4833810...
This may be relevant: https://github.com/seanmonstar/reqwest/issues/838
I can also confirm that you can replace the default `client` of `GoogleRestApi` with your own, setting `CONTENT_LENGTH` to 0 by default for all request headers: ```rust let mut headers...
> Maybe this is related that I had different reqwest version when I tested it. > Right now I have "0.11.20" in my lock file. Which one do you have...
> The problem with this it can be 0 only when body is actually empty. And that's not true for all requests, but only for some of them. I assume...
> You sure you don't have any proxy between your application and Google Cloud? I'm sure I don't -- I even tried to start an instance in the same zone...
Here are a few general rules of thumb I follow for I/O operations: 1. Tokio tasks excel at Network I/O. If you need to fetch something or update a registry/index,...
So how can I solve the issue without my suggested addition?