# Proxy Recommendation

**URL:** <https://discuss.elastic.co/t/proxy-recommendation/23563>\
**Category:** Elasticsearch\
**Created:** [May 5, 2015, 8:31pm UTC](https://discuss.elastic.co/t/proxy-recommendation/23563 "2015-05-05T20:31:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crimondi](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@crimondi](https://discuss.elastic.co/u/crimondi)\
**Post date:** [May 5, 2015, 8:31pm UTC](https://discuss.elastic.co/t/proxy-recommendation/23563/1 "2015-05-05T20:31:12Z")

</div>

I need some advice running S3 snapshots and restores through a proxy. Our  
production setup typically uses load balanced Squid proxies to gate access  
to the Internet. We have noticed that snapshots and restores tend to be  
flaky when passing through the Squids. We see a lot of failures. We don't  
see the same behavior if the Elasticsearch nodes have direct access to the  
Internet such as with an EIP attached.

Typically, we configure the proxy settings locally in the Java system  
properties. Are there any known issues with the Java SDK that could be  
problematic here? Anyone have any setups that work well for snapshots and  
restores passing through proxies?

Thanks,

Chris

## -- Please update your bookmarks! We moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 6, 2015, 12:22am UTC](https://discuss.elastic.co/t/proxy-recommendation/23563/2 "2015-05-06T00:22:36Z")

</div>

Not sure we have a recommendation as such, but this is an interesting  
problem.

Can you provide some more details around what you are seeing?

On 6 May 2015 at 06:31, Chris Rimondi [chris.rimondi@gmail.com](mailto:chris.rimondi@gmail.com) wrote:

> I need some advice running S3 snapshots and restores through a proxy. Our  
> production setup typically uses load balanced Squid proxies to gate access  
> to the Internet. We have noticed that snapshots and restores tend to be  
> flaky when passing through the Squids. We see a lot of failures. We don't  
> see the same behavior if the Elasticsearch nodes have direct access to the  
> Internet such as with an EIP attached.
> 
> Typically, we configure the proxy settings locally in the Java system  
> properties. Are there any known issues with the Java SDK that could be  
> problematic here? Anyone have any setups that work well for snapshots and  
> restores passing through proxies?
> 
> Thanks,
> 
> Chris
> 
> ## -- Please update your bookmarks! We moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)
> 
> 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/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

## -- Please update your bookmarks! We moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/CAEYi1X8g\_j2Mdut0SkVDQ-udGW6fFajdrgYoDi5WGH0AYAgy9A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8g_j2Mdut0SkVDQ-udGW6fFajdrgYoDi5WGH0AYAgy9A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Bogdan\_Andu](https://avatars.discourse-cdn.com/v4/letter/b/7c8e57/32.png) [@Bogdan\_Andu](https://discuss.elastic.co/u/Bogdan_Andu)\
**Post date:** [May 6, 2015, 7:04am UTC](https://discuss.elastic.co/t/proxy-recommendation/23563/3 "2015-05-06T07:04:25Z")

</div>

Hi,

Have you considered Surrogate?

> **[GitHub - skruger/Surrogate: Proxy server written in erlang. Supports reverse...](https://github.com/skruger/Surrogate)**
>
> Proxy server written in erlang. Supports reverse proxy load balancing and forward proxy with http (including CONNECT), socks4, socks5, and transparent proxy modes.

On Tue, May 5, 2015 at 11:31 PM, Chris Rimondi [chris.rimondi@gmail.com](mailto:chris.rimondi@gmail.com)  
wrote:

> I need some advice running S3 snapshots and restores through a proxy. Our  
> production setup typically uses load balanced Squid proxies to gate access  
> to the Internet. We have noticed that snapshots and restores tend to be  
> flaky when passing through the Squids. We see a lot of failures. We don't  
> see the same behavior if the Elasticsearch nodes have direct access to the  
> Internet such as with an EIP attached.
> 
> Typically, we configure the proxy settings locally in the Java system  
> properties. Are there any known issues with the Java SDK that could be  
> problematic here? Anyone have any setups that work well for snapshots and  
> restores passing through proxies?
> 
> Thanks,
> 
> Chris
> 
> ## -- Please update your bookmarks! We moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)
> 
> 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/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/e30908ce-4ceb-455e-b956-b36bdc1e8468%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

## -- Please update your bookmarks! We moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/CAP7yTnwBBy3CrRTcvL109kAseR3EtKGwU%2B8p-vBK37BwtXy\_pg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAP7yTnwBBy3CrRTcvL109kAseR3EtKGwU%2B8p-vBK37BwtXy_pg%40mail.gmail.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:15am UTC](https://discuss.elastic.co/t/proxy-recommendation/23563/4 "2017-07-06T00:15:32Z")

</div>


