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

Why lots of 429 Network error during my running? And how can I deal with it... #19

Closed
LeeOrange-is-me opened this issue May 16, 2024 · 1 comment

Comments

@LeeOrange-is-me
Copy link

Action: click icon (three vertical dots, top right, center)
一轮操作
ACT: tap (993,599)
请求了一次
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>

First, I know that 429 means request too frequently during a short time.
But I wanna to know, is there only me having encounter with this error? And how can I deal with it?

@junyangwang0410
Copy link
Collaborator

Action: click icon (three vertical dots, top right, center)
一轮操作
ACT: tap (993,599)
请求了一次
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>
Network Error:
<Response [429]>

First, I know that 429 means request too frequently during a short time. But I wanna to know, is there only me having encounter with this error? And how can I deal with it?

It may be useful to try adding time.sleep(10) in each iteration. But I'm more concerned if it's because your API has stricter speed limits.

And I recommend you print(response.json()) in MobileAgent/api.py to see the specific reason. Because there may be other restrictions (such as daily token limit).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants