# Twitter river proxy settings?

**URL:** <https://discuss.elastic.co/t/twitter-river-proxy-settings/7163>\
**Category:** Elasticsearch\
**Created:** [March 28, 2012, 10:11am UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163 "2012-03-28T10:11:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kodo65](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kodo65/32/1185_2.png) [@kodo65](https://discuss.elastic.co/u/kodo65)\
**Post date:** [March 28, 2012, 10:11am UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/1 "2012-03-28T10:11:58Z")

</div>

Hi!

I've setup a twitter river in my v0.19 of elasticsearch but I believe  
I'm experiencing problems with our corporate proxy. I need to be able  
to specify the proxy host/port settings. Where/how do I do that?

Cheers

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 28, 2012, 12:05pm UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/2 "2012-03-28T12:05:47Z")

</div>

You could try to modify your jvm settings ?

JAVA\_OPTS=-Dhttp.proxyHost=10.90.23.19 -Dhttp.proxyPort=8085  
-Dhttp.nonProxyHosts="_.mycorp.com|10._|localhost"  
-Dhttps.proxyHost=10.90.23.19 -Dhttps.proxyPort=8085  
-Dhttps.nonProxyHosts="_.mycorp.com|10._|localhost"  
HTH

Le 28 mars 2012 à 12:11, kodo [peter.litsegaard@gmail.com](mailto:peter.litsegaard@gmail.com) a écrit :

> Hi!
> 
> I've setup a twitter river in my v0.19 of elasticsearch but I believe  
> I'm experiencing problems with our corporate proxy. I need to be able  
> to specify the proxy host/port settings. Where/how do I do that?
> 
> Cheers

--  
David Pilato  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet

---

<div class="post-metadata">

**Author:** ![kodo65](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kodo65/32/1185_2.png) [@kodo65](https://discuss.elastic.co/u/kodo65)\
**Post date:** [March 28, 2012, 1:44pm UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/3 "2012-03-28T13:44:03Z")

</div>

Hi David!

Many thanks for your suggestion but unfortunately it didn't solve my  
problem:( I set the JAVA\_OPTS environment variable to the proxy host/  
port and restarted my elastcsearch service but... no:(  
It would have been great to just be able to specify, say,  
river.twitter.proxy.host=xxxx and river.twitter.proxy.port=yyyy and  
maybe username/password in the elasticsearch.yml file.

Cheers

On Mar 28, 2:05 pm, "[da...@pilato.fr](mailto:da...@pilato.fr)" [da...@pilato.fr](mailto:da...@pilato.fr) wrote:

> You could try to modify your jvm settings ?
> 
> JAVA\_OPTS=-Dhttp.proxyHost=10.90.23.19 -Dhttp.proxyPort=8085  
> -Dhttp.nonProxyHosts="_.mycorp.com|10._|localhost"  
> -Dhttps.proxyHost=10.90.23.19 -Dhttps.proxyPort=8085  
> -Dhttps.nonProxyHosts="_.mycorp.com|10._|localhost"  
> HTH
> 
> Le 28 mars 2012 à 12:11, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) a écrit :
> 
> > Hi!
> 
> > I've setup a twitter river in my v0.19 of elasticsearch but I believe  
> > I'm experiencing problems with our corporate proxy. I need to be able  
> > to specify the proxy host/port settings. Where/how do I do that?
> 
> > Cheers
> 
> --  
> David Pilatohttp://dev.david.pilato.fr/  
> Twitter : @dadoonet

---

<div class="post-metadata">

**Author:** ![kodo65](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kodo65/32/1185_2.png) [@kodo65](https://discuss.elastic.co/u/kodo65)\
**Post date:** [March 28, 2012, 1:52pm UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/4 "2012-03-28T13:52:29Z")

</div>

UPDATE: I even tried to set ES\_JAVA\_OPTS to the same value but it  
didn't solve my problem either...☹

Cheers

On Mar 28, 3:44 pm, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) wrote:

> Hi David!
> 
> Many thanks for your suggestion but unfortunately it didn't solve my  
> problem:( I set the JAVA\_OPTS environment variable to the proxy host/  
> port and restarted my elastcsearch service but... no:(  
> It would have been great to just be able to specify, say,  
> river.twitter.proxy.host=xxxx and river.twitter.proxy.port=yyyy and  
> maybe username/password in the elasticsearch.yml file.
> 
> Cheers
> 
> On Mar 28, 2:05 pm, "[da...@pilato.fr](mailto:da...@pilato.fr)" [da...@pilato.fr](mailto:da...@pilato.fr) wrote:
> 
> > You could try to modify your jvm settings ?
> 
> > JAVA\_OPTS=-Dhttp.proxyHost=10.90.23.19 -Dhttp.proxyPort=8085  
> > -Dhttp.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > -Dhttps.proxyHost=10.90.23.19 -Dhttps.proxyPort=8085  
> > -Dhttps.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > HTH
> 
> > Le 28 mars 2012 à 12:11, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) a écrit :
> 
> > > Hi!
> 
> > > I've setup a twitter river in my v0.19 of elasticsearch but I believe  
> > > I'm experiencing problems with our corporate proxy. I need to be able  
> > > to specify the proxy host/port settings. Where/how do I do that?
> 
> > > Cheers
> 
> > --  
> > David Pilatohttp://dev.david.pilato.fr/  
> > Twitter : @dadoonet

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 29, 2012, 11:52am UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/5 "2012-03-29T11:52:14Z")

</div>

Its not exposed currently, but we can expose the http proxy settings to  
configure the twitter river with. I see you opened an issue here:  
[https://github.com/elasticsearch/elasticsearch-river-twitter/issues/11](https://github.com/elasticsearch/elasticsearch-river-twitter/issues/11).

On Wed, Mar 28, 2012 at 3:52 PM, kodo [peter.litsegaard@gmail.com](mailto:peter.litsegaard@gmail.com) wrote:

> UPDATE: I even tried to set ES\_JAVA\_OPTS to the same value but it  
> didn't solve my problem either...☹
> 
> Cheers
> 
> On Mar 28, 3:44 pm, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) wrote:
> 
> > Hi David!
> > 
> > Many thanks for your suggestion but unfortunately it didn't solve my  
> > problem:( I set the JAVA\_OPTS environment variable to the proxy host/  
> > port and restarted my elastcsearch service but... no:(  
> > It would have been great to just be able to specify, say,  
> > river.twitter.proxy.host=xxxx and river.twitter.proxy.port=yyyy and  
> > maybe username/password in the elasticsearch.yml file.
> > 
> > Cheers
> > 
> > On Mar 28, 2:05 pm, "[da...@pilato.fr](mailto:da...@pilato.fr)" [da...@pilato.fr](mailto:da...@pilato.fr) wrote:
> > 
> > > You could try to modify your jvm settings ?
> > 
> > > JAVA\_OPTS=-Dhttp.proxyHost=10.90.23.19 -Dhttp.proxyPort=8085  
> > > -Dhttp.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > > -Dhttps.proxyHost=10.90.23.19 -Dhttps.proxyPort=8085  
> > > -Dhttps.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > > HTH
> > 
> > > Le 28 mars 2012 à 12:11, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) a écrit :
> > 
> > > > Hi!
> > 
> > > > I've setup a twitter river in my v0.19 of elasticsearch but I believe  
> > > > I'm experiencing problems with our corporate proxy. I need to be able  
> > > > to specify the proxy host/port settings. Where/how do I do that?
> > 
> > > > Cheers
> > 
> > > --  
> > > David Pilatohttp://dev.david.pilato.fr/  
> > > Twitter : @dadoonet

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [March 29, 2012, 7:04pm UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/6 "2012-03-29T19:04:02Z")

</div>

Are you starting ES via the wrapper? Do you see the env vars when you start ES?

--  
Ivan

On Wed, Mar 28, 2012 at 6:52 AM, kodo [peter.litsegaard@gmail.com](mailto:peter.litsegaard@gmail.com) wrote:

> UPDATE: I even tried to set ES\_JAVA\_OPTS to the same value but it  
> didn't solve my problem either...☹
> 
> Cheers
> 
> On Mar 28, 3:44 pm, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) wrote:
> 
> > Hi David!
> > 
> > Many thanks for your suggestion but unfortunately it didn't solve my  
> > problem:( I set the JAVA\_OPTS environment variable to the proxy host/  
> > port and restarted my elastcsearch service but... no:(  
> > It would have been great to just be able to specify, say,  
> > river.twitter.proxy.host=xxxx and river.twitter.proxy.port=yyyy and  
> > maybe username/password in the elasticsearch.yml file.
> > 
> > Cheers
> > 
> > On Mar 28, 2:05 pm, "[da...@pilato.fr](mailto:da...@pilato.fr)" [da...@pilato.fr](mailto:da...@pilato.fr) wrote:
> > 
> > > You could try to modify your jvm settings ?
> > 
> > > JAVA\_OPTS=-Dhttp.proxyHost=10.90.23.19 -Dhttp.proxyPort=8085  
> > > -Dhttp.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > > -Dhttps.proxyHost=10.90.23.19 -Dhttps.proxyPort=8085  
> > > -Dhttps.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > > HTH
> > 
> > > Le 28 mars 2012 à 12:11, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) a écrit :
> > 
> > > > Hi!
> > 
> > > > I've setup a twitter river in my v0.19 of elasticsearch but I believe  
> > > > I'm experiencing problems with our corporate proxy. I need to be able  
> > > > to specify the proxy host/port settings. Where/how do I do that?
> > 
> > > > Cheers
> > 
> > > --  
> > > David Pilatohttp://dev.david.pilato.fr/  
> > > Twitter : @dadoonet

---

<div class="post-metadata">

**Author:** ![kodo65](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kodo65/32/1185_2.png) [@kodo65](https://discuss.elastic.co/u/kodo65)\
**Post date:** [October 1, 2014, 1:13pm UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/7 "2014-10-01T13:13:34Z")

</div>

I've built v2.3.0 of the twitter river and installed it in v1.3.3 of ES.  
I've tried to set the proper proxy settings in JAVA\_OPTS and ES\_JAVA\_OPTS  
but the twitter river still fails to start. As we're now writing "year  
2014" and this discussion took place more than two years ago I'm wondering  
if this proxy issue has been fixed?

Cheers

On Thursday, March 29, 2012 1:52:14 PM UTC+2, kimchy wrote:

> Its not exposed currently, but we can expose the http proxy settings to  
> configure the twitter river with. I see you opened an issue here:  
> [https://github.com/elasticsearch/elasticsearch-river-twitter/issues/11](https://github.com/elasticsearch/elasticsearch-river-twitter/issues/11).
> 
> On Wed, Mar 28, 2012 at 3:52 PM, kodo \<[peter.li...@gmail.com](mailto:peter.li...@gmail.com) \<javascript:\>
> 
> > wrote:
> 
> > UPDATE: I even tried to set ES\_JAVA\_OPTS to the same value but it  
> > didn't solve my problem either...☹
> > 
> > Cheers
> > 
> > On Mar 28, 3:44 pm, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) wrote:
> > 
> > > Hi David!
> > > 
> > > Many thanks for your suggestion but unfortunately it didn't solve my  
> > > problem:( I set the JAVA\_OPTS environment variable to the proxy host/  
> > > port and restarted my elastcsearch service but... no:(  
> > > It would have been great to just be able to specify, say,  
> > > river.twitter.proxy.host=xxxx and river.twitter.proxy.port=yyyy and  
> > > maybe username/password in the elasticsearch.yml file.
> > > 
> > > Cheers
> > > 
> > > On Mar 28, 2:05 pm, "[da...@pilato.fr](mailto:da...@pilato.fr)" [da...@pilato.fr](mailto:da...@pilato.fr) wrote:
> > > 
> > > > You could try to modify your jvm settings ?
> > > 
> > > > JAVA\_OPTS=-Dhttp.proxyHost=10.90.23.19 -Dhttp.proxyPort=8085  
> > > > -Dhttp.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > > > -Dhttps.proxyHost=10.90.23.19 -Dhttps.proxyPort=8085  
> > > > -Dhttps.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > > > HTH
> > > 
> > > > Le 28 mars 2012 à 12:11, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) a écrit :
> > > 
> > > > > Hi!
> > > 
> > > > > I've setup a twitter river in my v0.19 of elasticsearch but I  
> > > > > believe  
> > > > > I'm experiencing problems with our corporate proxy. I need to be  
> > > > > able  
> > > > > to specify the proxy host/port settings. Where/how do I do that?
> > > 
> > > > > Cheers
> > > 
> > > > --  
> > > > David Pilatohttp://dev.david.pilato.fr/  
> > > > Twitter : @dadoonet

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/d5cbf506-fecd-470f-b54b-31ea4e6a046e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d5cbf506-fecd-470f-b54b-31ea4e6a046e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Tanguy\_Leroux](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanguy_leroux/32/121066_2.png) [@Tanguy\_Leroux](https://discuss.elastic.co/u/Tanguy_Leroux)\
**Post date:** [October 1, 2014, 2:03pm UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/8 "2014-10-01T14:03:51Z")

</div>

Hi Peter,

Did you try to set the proxy settings directly in the river configuration,  
as stated  
in [https://github.com/elasticsearch/elasticsearch-river-twitter/issues/11#issuecomment-4811464](https://github.com/elasticsearch/elasticsearch-river-twitter/issues/11#issuecomment-4811464)  
?

-- Tanguy

Le mercredi 1 octobre 2014 15:13:35 UTC+2, Peter Litsegård a écrit :

> I've built v2.3.0 of the twitter river and installed it in v1.3.3 of ES.  
> I've tried to set the proper proxy settings in JAVA\_OPTS and ES\_JAVA\_OPTS  
> but the twitter river still fails to start. As we're now writing "year  
> 2014" and this discussion took place more than two years ago I'm wondering  
> if this proxy issue has been fixed?
> 
> Cheers
> 
> On Thursday, March 29, 2012 1:52:14 PM UTC+2, kimchy wrote:
> 
> > Its not exposed currently, but we can expose the http proxy settings to  
> > configure the twitter river with. I see you opened an issue here:  
> > [https://github.com/elasticsearch/elasticsearch-river-twitter/issues/11](https://github.com/elasticsearch/elasticsearch-river-twitter/issues/11).
> > 
> > On Wed, Mar 28, 2012 at 3:52 PM, kodo [peter.li...@gmail.com](mailto:peter.li...@gmail.com) wrote:
> > 
> > > UPDATE: I even tried to set ES\_JAVA\_OPTS to the same value but it  
> > > didn't solve my problem either...☹
> > > 
> > > Cheers
> > > 
> > > On Mar 28, 3:44 pm, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) wrote:
> > > 
> > > > Hi David!
> > > > 
> > > > Many thanks for your suggestion but unfortunately it didn't solve my  
> > > > problem:( I set the JAVA\_OPTS environment variable to the proxy host/  
> > > > port and restarted my elastcsearch service but... no:(  
> > > > It would have been great to just be able to specify, say,  
> > > > river.twitter.proxy.host=xxxx and river.twitter.proxy.port=yyyy and  
> > > > maybe username/password in the elasticsearch.yml file.
> > > > 
> > > > Cheers
> > > > 
> > > > On Mar 28, 2:05 pm, "[da...@pilato.fr](mailto:da...@pilato.fr)" [da...@pilato.fr](mailto:da...@pilato.fr) wrote:
> > > > 
> > > > > You could try to modify your jvm settings ?
> > > > 
> > > > > JAVA\_OPTS=-Dhttp.proxyHost=10.90.23.19 -Dhttp.proxyPort=8085  
> > > > > -Dhttp.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > > > > -Dhttps.proxyHost=10.90.23.19 -Dhttps.proxyPort=8085  
> > > > > -Dhttps.nonProxyHosts="_.mycorp.com|10._|localhost"  
> > > > > HTH
> > > > 
> > > > > Le 28 mars 2012 à 12:11, kodo [peter.litsega...@gmail.com](mailto:peter.litsega...@gmail.com) a écrit :
> > > > 
> > > > > > Hi!
> > > > 
> > > > > > I've setup a twitter river in my v0.19 of elasticsearch but I  
> > > > > > believe  
> > > > > > I'm experiencing problems with our corporate proxy. I need to be  
> > > > > > able  
> > > > > > to specify the proxy host/port settings. Where/how do I do that?
> > > > 
> > > > > > Cheers
> > > > 
> > > > > --  
> > > > > David Pilatohttp://dev.david.pilato.fr/  
> > > > > Twitter : @dadoonet

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/30b9a8f4-521a-4379-bc83-729c5f108542%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/30b9a8f4-521a-4379-bc83-729c5f108542%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:58am UTC](https://discuss.elastic.co/t/twitter-river-proxy-settings/7163/9 "2017-07-06T00:58:59Z")

</div>


