Streaming API - OAuth - 401 connection refused


#1

I am using the following CURL commands

curl --get ‘https://stream.twitter.com/1.1/statuses/filter.json’ --data ‘track=twitter’ --header ‘Authorization: OAuth oauth_consumer_key=“iMVfhNIjEQXpyDIqE3XIw”, oauth_nonce=“f9aee3d41e43fe278f413a01e8a3cd62”, oauth_signature=“hxOTvaqUNp8SYSMO4ThJbsIq6mE%3D”, oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1369208153”, oauth_token=“149498834-o3y6RSYPIaEJZSaFIpuHH2mt5FA0oAjOfObQYcrz”, oauth_version=“1.0”’ --verbose

curl --request ‘POST’ ‘https://stream.twitter.com/1.1/statuses/filter.json’ --data ‘track=twitter’ --header ‘Authorization: OAuth oauth_consumer_key=“iMVfhNIjEQXpyDIqE3XIw”, oauth_nonce=“1ff4b1c885faa1bc5b14d93caf1cb3ef”, oauth_signature=“tAf1JSX6f09su7Pm2fFcbQsMomA%3D”, oauth_signature_method=“HMAC-SHA1”, oauth_timestamp=“1369208193”, oauth_token=“149498834-o3y6RSYPIaEJZSaFIpuHH2mt5FA0oAjOfObQYcrz”, oauth_version=“1.0”’ --verbose

I am getting the following errors respectively

  • About to connect() to stream.twitter.com port 443 (#0)

  • Trying 199.16.156.20… Connection refused

  • Trying 199.16.156.110… Connection refused

  • couldn’t connect to host

  • Closing connection #0
    curl: (7) couldn’t connect to host

  • About to connect() to stream.twitter.com port 443 (#0)

  • Trying 199.59.148.229… Connection refused

  • Trying 199.59.148.138… Connection refused

  • couldn’t connect to host

  • Closing connection #0
    curl: (7) couldn’t connect to host

Could any one help me what is going wrong here?