-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Twitter search failed with error 403 #2379
Comments
I get this too, and I wonder if this is related to the fix for #2366 |
I have a couple of keyword searches which work fine after applying #2366 . |
I have a lot of feeds that work fine. Every now and then (once a day?) I get a "403 curl (0)", and if I back out #2366 I get a "could not parse guest token" once a day. I'm playing with the values, but it feels a bit random right now. I need a better testing strategy. Note that I haven't seen both 403 and "could not parse guest token" simultaneously yet, but it could happen. "Once a day" doesn't make for a quick turnaround in testing. |
We know what the guest token expiry time is because it is set by a cookie with a given expiry time. The maximum number of guest token uses is more of a mystery, it is set at 100 at the moment and I have no issue with 90. If anything the guest token expiry is more conservative than it needs to be, so I am unsure why some people are seeing 403 forbidden errors. |
Cool, binary searching between 50 and 100 for now. |
OK, so: getApiContents() receives 403 from Twitter: (replaced the guest token with zzz) HTTP/2 403 There is a guest token in the outgoing headers The guest token was obtained at 09:20 (local time), was used 3 times successfully, and triggered a 403 at 10:40 (local time) That then triggers a PHP error in: |
"URI must include a scheme, host and path!" doesn't fit with what I see when I try to use an expired token. I see "Exception: Unexpected response from upstream." |
"Exception: Unexpected response from upstream." is what's displayed to the rss-bridge client. "URI must include a scheme, host and path!" is in the debug backtrace. |
Error message:
Unexpected response from upstream. cUrl error: (0) PHP error:
Query string:
action=display&bridge=Twitter&context=By+keyword+or+hashtag&format=Json&q=<some string here>
Version:
dev.2021-04-25
I recently upgraded rss-bridge with the latest version I'm getting a ton of exceptions now.
The text was updated successfully, but these errors were encountered: