Hadoop Storm Twitter访问密钥不正确或丢失

Hadoop Storm Twitter访问密钥不正确或丢失,hadoop,twitter,apache-storm,Hadoop,Twitter,Apache Storm,当我试图运行STORM Twitter代码从在线获取数据时,我遇到了这个错误 [Wed May 10 18:25:45 PDT 2017]401:Authentication credentials (https://dev.twitter.com/pages/auth) were missing or incorrect. Ensure that you have set valid consume

当我试图运行STORM Twitter代码从在线获取数据时,我遇到了这个错误

      [Wed May 10 18:25:45 PDT 2017]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 systemclock 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>
[Wed May 10 18:25:45 PDT 2017]401:身份验证
资格证书
(https://dev.twitter.com/pages/auth)丢失或不正确。
确保
您已设置有效的使用者密钥/密码、访问令牌/密码和
系统时钟是同步的。
\n\n\n错误401未经授权
HTTP错误:401
访问“/1.1/statuses/filter.json”时出现问题。原因:
未经授权
任何人都可以告诉我需要为这个问题做些什么

提前谢谢

  • 检查您的使用者密钥、使用者密钥、访问令牌和访问令牌密钥是否写入正确
  • 如果系统时钟调整不正确,也可能发生此错误
  • 转到并检查您是否为应用程序设置了读写权限。如果未设置,请设置它并再次重新生成访问密钥

  • 我已经为我的应用程序写和读权限,我的系统时钟也正确我再次检查,但我仍然得到这个错误。