Comments (6)
Looks like you are not using proper credentials, (note the 401 and unauthorized).
from hbc.
So for maven you generally don't want to be using other peoples snapshots, and instead you want to compile/install them locally.
BUT, our docs are wrong. It should be mvn install && mvn exec:java -pl hbc-example
I'll update the docs.
from hbc.
Perfect. Everything works fine.
Thanks for such a swift response.
from hbc.
Hey guys, I have a similar issue still. I ran the mvn install/exec:java.
Ideas?
Here are my logs:
[hosebird-client-io-thread-0] INFO com.twitter.hbc.httpclient.ClientBase - sampl
eExampleClient Establishing a connection
[hosebird-client-io-thread-0] WARN com.twitter.hbc.httpclient.ClientBase - sampl
eExampleClient Error connecting w/ status code - 401, reason - Unauthorized
Did not receive a message in 5 seconds
Did not receive a message in 5 seconds
Did not receive a message in 5 seconds
Did not receive a message in 5 seconds
[hosebird-client-io-thread-0] INFO com.twitter.hbc.httpclient.ClientBase - sampl
eExampleClient Done processing, preparing to close connection
[hosebird-client-io-thread-0] INFO com.twitter.hbc.httpclient.ClientBase - sampl
eExampleClient Establishing a connection
[hosebird-client-io-thread-0] WARN com.twitter.hbc.httpclient.ClientBase - sampl
eExampleClient Error connecting w/ status code - 401, reason - Unauthorized
Did not receive a message in 5 seconds
Did not receive a message in 5 seconds
Terminate batch job (Y/N)? y
from hbc.
Do you mean my "auth" object isn't be instantiated correctly?
I tried OAuth1 with these params: Dconsumer.key=XYZ -Dconsumer.secret=SECRET -Daccess.token=ABC -Daccess.token.secret=ABCSECRET
and BasicAuth with a username/pass of an existing twitter account.
from hbc.
more likely you aren't using the right parameters for oauth or there is a transient oauth error on our side.
that said, this is pretty unrelated to this issue. please feel free to open a separate issue though.
from hbc.
Related Issues (20)
- Enhanced URL enrichment in Twitter/GNIP volume stream 2.0 causing DelimitedStreamReader's buffer to overflow
- Sitestream: Add/remove user on reconnect HOT 2
- OAuth1.signRequest throws NullPointerException when no query params HOT 1
- Incomplete Streaming of tweets HOT 3
- ClientBuilder error caused by deprecation of SchemeRegistryFactory
- Broken link on README HOT 2
- Create release with support for powertrack 2 HOT 5
- How to search tweets between specific date range using hbc HOT 1
- Use hbc on talend
- Twitter "Streaming API" link in README.md is no longer valid HOT 1
- Handler for onBlock? HOT 1
- is this repo and the getting started not going to work after the 16th of August? HOT 1
- Streaming connection to twitter through a internet proxy in a new release
- Proxy in ClientBuilder HOT 2
- Quotes o Retweets search by UserName not retrieved by streaming API
- Missing Check against Null
- Twitter API is not working for Kafka. it's refusing the connection HOT 2
- Connection Failure. HOT 1
- How do I get token and secret HOT 2
- Hosebird client is retired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hbc.