Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Support / help / discussion forum for twitter bot
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by bitcoin »

Code: Select all

Starting: 12/09/2017 21:47 PM
Starting stream: https://stream.twitter.com/1.1/statuses/filter.json?stall_warnings=true&track=$CIF%2C#CIF%2Ccryptoimprovementfund with: MyAccount
Running stream connection: https://stream.twitter.com/1.1/statuses/filter.json?stall_warnings=true&track=$CIF%2C#CIF%2Ccryptoimprovementfund with: MyAccount
Using proxy:  Proxy: IP:PORT:ID:PWD 
* WEB ERROR: The remote server returned an error: (401) Unauthorized.
* PAUSING: 10

Code: Select all

Pause Min:0
Pause Max:0
RepeatEveryXHours:0
NumRepeatsTodo:0
RepeatEveryXMins:0
FluctuateRepeatEveryXMins:0
MaxDailyRepeatsAllowed:0
FluctuateMaxItemsTodo:0
Email Scrape:False
Email Details Scrape:False
Scrape Profiles:False
List Locations:
Account:MyAccount
List Accounts:
Image

MyAccount has no login or verification problems (checked, among others, Accounts Tab & the Watch Tweets Accounts tab itself).

LOGS:
50820

As soon as I created this Action, the errors came. Sigh :)

Thank you?!
User avatar
martin@rootjazz
Site Admin
Posts: 34370
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by martin@rootjazz »

When you said the account has no verification issues, do you mean you logged in twitter.com manually and checked? or the program did?
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by bitcoin »

martin@rootjazz wrote:When you said the account has no verification issues, do you mean you logged in twitter.com manually and checked? or the program did?
Both :)
User avatar
martin@rootjazz
Site Admin
Posts: 34370
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by martin@rootjazz »

Not getting any issues here.

If stop all your actions (or export the account and import it to a clean instance) and then try and simple watch stream tweets action for a simple single word ( i usually test for soundcloud as it gets enough traffic but not too much) and scrape profile / emails.

Does that work or same issue?
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by bitcoin »

Tried with only:
$CIF (RT, Like)

Same logs:

Code: Select all

Starting: 14/09/2017 23:42 PM
Starting stream: https://stream.twitter.com/1.1/statuses/filter.json?stall_warnings=true&track=$CIF with: MyAccount
Running stream connection: https://stream.twitter.com/1.1/statuses/filter.json?stall_warnings=true&track=$CIF with: MyAccount
Using proxy:  Proxy: <knip> 
* WEB ERROR: The remote server returned an error: (401) Unauthorized.
* PAUSING: 10
Running stream connection: https://stream.twitter.com/1.1/statuses/filter.json?stall_warnings=true&track=$CIF with: MyAccount
Using proxy:  Proxy: <knip>
* WEB ERROR: The remote server returned an error: (401) Unauthorized.
* PAUSING: 20
Running stream connection: https://stream.twitter.com/1.1/statuses/filter.json?stall_warnings=true&track=$CIF with: MyAccount
Using proxy:  Proxy: <knip>
* WEB ERROR: The remote server returned an error: (401) Unauthorized.
* PAUSING: 40
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by bitcoin »

With #CIF only: same results.

I'll try another than MyAccount next. Sigh : )
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by bitcoin »

Time for your log skills...

I have 6 accounts in TD.

Only 2 of them authorize. The others fail. I don't know why, because login etc. is good?

I think this will solve our (my) problems:
30690 (jesus authorizes)
79116 (jesus doesn't authorize)

Should I re-generate API keys again? :(


Image
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by bitcoin »

I manually verified if any API keys had changed. They hadn't. ALl info was correct. So why autorise is failing...? I dunno :(
bitcoin
Posts: 924
Joined: Tue Jul 04, 2017 1:25 am

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by bitcoin »

Fresh logs:
77304

Server rebooted last night, so I had to wait until most of my Actions got scheduled again. That should be about now for most.
User avatar
martin@rootjazz
Site Admin
Posts: 34370
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Watch Tweets: Keywords: WEB ERROR: The remote server returned an error: (401) Unauthorized.

Post by martin@rootjazz »

can you try with a simple normal word

no $ no # no symbols.

Test "soundcloud"
Do not react, with actions (like / follow etc). Just check the scrape options


We need to start at the beginning. Can your account just connect and do nothing.
Mine can, so it isn't that the bot does not work - twitter changed something - needs an update. These are simple bugs to fix.
IT appears that the issue is when account X does Y then Z then sometimes it doesn't work. We just need to identify X Y Z
Post Reply