generative-ai-python icon indicating copy to clipboard operation
generative-ai-python copied to clipboard

Unsupported GCP env message

Open akshit0201 opened this issue 1 year ago • 2 comments

Description of the bug:

I keep seeing this warning:

I0000 00:00:1726059537.056136 10152084 check_gcp_environment_no_op.cc:29] ALTS: Platforms other than Linux and Windows are not supported

For every api call I make from the python sdk.

For one api call this warning is fine, but as I make concurrent calls my console is flooded with these warning messages. Pls fix this warning, or provide a way to suppress it.

Actual vs expected behavior:

Actual: I0000 00:00:1726059537.056136 10152084 check_gcp_environment_no_op.cc:29] ALTS: Platforms other than Linux and Windows are not supported Expected: No message

Any other information you'd like to share?

Chip: Apple M2 MacOS: 14.6.1 (23G93)

akshit0201 avatar Sep 11 '24 13:09 akshit0201

This doesn't replicate on my mac(14.6.1, M3).

Can you tell us more about your setup? Is this a cloud instance or a local machine?

Anyway, this is coming from the underlying cloud libraries, not from this SDK package, it's not something we have control over.

MarkDaoust avatar Sep 12 '24 16:09 MarkDaoust

@MarkDaoust It's happening when I'm calling the File apis.

akshit0201 avatar Sep 13 '24 09:09 akshit0201

The warning is coming from here:

https://github.com/grpc/grpc/blob/master/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc#L28

Please ask on that repo for more information.

MarkDaoust avatar Feb 19 '25 14:02 MarkDaoust