Modify

#1288 new defect

twitter: rate limiting errors are not shown

Reported by: jhl Owned by:
Priority: normal Milestone:
Component: Twitter Version: Unspecified
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

When login fails due to exceeding a rate limit, Twitter returns code 420 Enhance your Calm. However, this triggers the response truncation logic in http_client.c, and so the only user-visible info is "Error: Stream closed (Response truncated)".

It's also possible to trigger rate limiting elsewhere, such as on /1.1/friends/ids.json, after logging in; in this case it actually displays the error eg. "Logging in: Error: Could not retrieve /1.1/friends/ids.json: 429 Too Many Requests (Rate limit exceeded)"

Perhaps the truncation logic should ignore cases where the status is 4xx?

Attachments (0)

Change History (0)

Modify Ticket

Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.