cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

Use of wrong unit in timout config

Open andycandy opened this issue 8 months ago • 3 comments

Description of the bug:

I have tried running multiple tests with httpOptions and in all cases whenever seconds as unit in notebooks We got a read operation timed out error.

I believe the milliseconds unit should be used instead of seconds

@Giom-V, could you please confirm this?

Actual vs expected behavior:

Actual Behavior:

Image

Expected Behaviour:

Image

Any other information you'd like to share?

No response

andycandy avatar Apr 04 '25 07:04 andycandy

Reference notebook: https://colab.research.google.com/github/google-gemini/cookbook/blob/main/examples/Apollo_11.ipynb

andycandy avatar Apr 04 '25 07:04 andycandy

I think you are supposed to use milliseconds as mentioned in the doc.

Image

Shi-pra-19 avatar Apr 04 '25 09:04 Shi-pra-19

I think you are supposed to use milliseconds as mentioned in the doc.

Image

That's exactly why this issue is for, drawing attention towards the wrong use of units in example notebooks. I'm not asking for a fix

andycandy avatar Apr 04 '25 10:04 andycandy

#655 fixes the wrong use of units in Apollo11 notebook

andycandy avatar Apr 04 '25 16:04 andycandy