Project: springxd
Issue XD-2077: Problem using twittersearch when system where container is running has two network interfaces.
Problem using twittersearch when the system where the XD container is running has two network interfaces. With the following config: eth0 local network, resolves `hostname` eth1 internet network I get an error deploying the stream: {code} 12:08:22,965 WARN twitterSource-1-1 client.RestTemplate - GET request for "https://stream.twitter.com/1.1/statuses/sample.json" resulted in 401 (Authorization Required); invoking error handler 12:08:22,972 ERROR twitterSource-1-1 twitter.TwitterStreamChannelAdapter - Twitter authentication failed: 401 Authorization Required {code} If I flip the network interfaces to be: eth0 internet network, resolves `hostname` eth1 local network then it seems to work.
Story points: 3