Unauthorized error

streaming
auth
authorization
twitter4j

#1

Hi,

I have an authentication error since about 6 days (It was working fine before). I am using Tiwtter4J 4.0.4 (latest version). I also regenerated all keys but no luck. Is the streaming server working now? Does any know why I have this error suddenly? This is the error message.

401:Authentication credentials (https://dev.twitter.com/pages/auth) were missing or incorrect. Ensure that you have set valid consumer key/secret, access token/secret, and the system clock is in sync.
<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>\n<title>Error 401 Unauthorized</title>
</head>
<body>
<h2>HTTP ERROR: 401</h2>
<p>Problem accessing '/1.1/statuses/filter.json'. Reason:
<pre>    Unauthorized</pre>
</body>
</html>

Relevant discussions can be found on the Internet at:
        http://www.google.co.jp/search?q=1169356e or
        http://www.google.co.jp/search?q=c04b39e1
TwitterException{exceptionCode=[1169356e-c04b39e1], statusCode=401, message=null, code=-1, retryAfter=-1, rateLimitStatus=null, version=4.0.4}
        at twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:164)
        at twitter4j.HttpClientBase.request(HttpClientBase.java:57)
        at twitter4j.HttpClientBase.post(HttpClientBase.java:86)
        at twitter4j.TwitterStreamImpl.getFilterStream(TwitterStreamImpl.java:346)
        at twitter4j.TwitterStreamImpl$8.getStream(TwitterStreamImpl.java:322)
        at twitter4j.TwitterStreamImpl$TwitterStreamConsumer.run(TwitterStreamImpl.java:552)
[Thu May 12 12:24:11 EDT 2016]Waiting for 20000 milliseconds
[Thu May 12 12:24:31 EDT 2016]Establishing connection.
[Thu May 12 12:24:33 EDT 2016]401:Authentication credentials (https://dev.twitter.com/pages/auth) were missing or incorrect. Ensure that you have set valid consumer key/secret, access token/secret, and the system clock is in sync.
<html>\n<head>\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>\n<title>Error 401 Unauthorized</title>
</head>
<body>
<h2>HTTP ERROR: 401</h2>
<p>Problem accessing '/1.1/statuses/filter.json'. Reason:
<pre>    Unauthorized</pre>
</body>
</html>