Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing JSON #137

Closed
michsiu opened this issue Jan 17, 2024 · 1 comment
Closed

Error parsing JSON #137

michsiu opened this issue Jan 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@michsiu
Copy link

michsiu commented Jan 17, 2024

I encountered the issue Error parsing JSON: Deadline of 60.0s exceeded while calling target function, last exception: 503 failed to connect to all addresses;

And now I have resolved the issue with the help of https://github.com/google/generative-ai-python/issues/117

I have tested it on my computer and it works

As it says that it needs to add transport='rest' on API config genai.config

But I did not find the genai.config on the program

So what should I do if I want to config the transport='rest'

@michsiu michsiu added the bug Something isn't working label Jan 17, 2024
@joshbickett
Copy link
Contributor

@michsiu thanks for the ticket. I noticed it may be a duplicate of #138 so I'll close this one. I wanted to mention this should be fixed now. Please try and let me know if it is still an issue for you in #138. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants