Created
May 11, 2015 19:58
-
-
Save dmengelt/0ca49e08e8a4fc12df92 to your computer and use it in GitHub Desktop.
Spring XD - twitterstream
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-05-11 21:54:24,501 1.1.2.RELEASE WARN twitterSource-1-1 twitter.TwitterStreamChannelAdapter - Exception while reading stream. | |
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://stream.twitter.com/1.1/statuses/filter.json?track=SpringXD&follow=72249208":Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out | |
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:584) | |
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:544) | |
at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.readStream(AbstractTwitterInboundChannelAdapter.java:183) | |
at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask.run(AbstractTwitterInboundChannelAdapter.java:161) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: java.net.SocketTimeoutException: Read timed out | |
at java.net.SocketInputStream.socketRead0(Native Method) | |
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) | |
at java.net.SocketInputStream.read(SocketInputStream.java:170) | |
at java.net.SocketInputStream.read(SocketInputStream.java:141) | |
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) | |
at sun.security.ssl.InputRecord.read(InputRecord.java:503) | |
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:961) | |
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:918) | |
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) | |
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136) | |
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152) | |
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270) | |
at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:240) | |
at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:206) | |
at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:133) | |
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:120) | |
at java.util.zip.CheckedInputStream.read(CheckedInputStream.java:59) | |
at java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:266) | |
at java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:258) | |
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:164) | |
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79) | |
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91) | |
at org.apache.http.client.entity.GzipDecompressingEntity.decorate(GzipDecompressingEntity.java:57) | |
at org.apache.http.client.entity.LazyDecompressingInputStream.initWrapper(LazyDecompressingInputStream.java:55) | |
at org.apache.http.client.entity.LazyDecompressingInputStream.read(LazyDecompressingInputStream.java:73) | |
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) | |
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) | |
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) | |
at java.io.InputStreamReader.read(InputStreamReader.java:184) | |
at java.io.BufferedReader.fill(BufferedReader.java:161) | |
at java.io.BufferedReader.readLine(BufferedReader.java:324) | |
at java.io.LineNumberReader.readLine(LineNumberReader.java:201) | |
at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:199) | |
at org.springframework.integration.x.twitter.AbstractTwitterInboundChannelAdapter$StreamReadingTask$2.extractData(AbstractTwitterInboundChannelAdapter.java:189) | |
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:576) | |
... 6 more | |
2015-05-11 21:54:24,503 1.1.2.RELEASE WARN twitterSource-1-1 twitter.TwitterStreamChannelAdapter - Exception while reading stream, waiting for 250 ms before restarting | |
2015-05-11 21:54:25,667 1.1.2.RELEASE WARN twitterSource-1-1 client.RestTemplate - GET request for "https://stream.twitter.com/1.1/statuses/filter.json?track=SpringXD&follow=72249208" resulted in 420 (Enhance Your Calm); invoking error handler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_____ __ _______ | |
/ ___| (-) \ \ / / _ \ | |
\ `--. _ __ _ __ _ _ __ __ _ \ V /| | | | | |
`--. \ '_ \| '__| | '_ \ / _` | / ^ \| | | | | |
/\__/ / |_) | | | | | | | (_| | / / \ \ |/ / | |
\____/| .__/|_| |_|_| |_|\__, | \/ \/___/ | |
| | __/ | | |
|_| |___/ | |
eXtreme Data | |
1.1.2.RELEASE | Admin Server Target: http://localhost:9393 | |
Welcome to the Spring XD shell. For assistance hit TAB or type "help". | |
xd:>stream create --name xd-tweets --definition "twitterstream --follow='72249208' --track='SpringXD' | log" --deploy | |
Created and deployed new stream 'xd-tweets' | |
xd:> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment