question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support forward proxies with CONNECT

See original GitHub issue

Is there a way to specify a proxy connection when specifying the host and port with the NettyChannelBuilder?

originChannel = NettyChannelBuilder.forAddress(host, port)
                          .sslContext(GrpcSslContexts.forClient().build())
                          .build();

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ejona86commented, Feb 9, 2018

This is blocked by #4029. You can use GRPC_PROXY_EXP=host:port environment variable today. But the final solution is to use Java’s ProxySelector. Today, it works for custom ProxySelectors that return resolved addresses. That issue will resolve selectors returning non-resolved addresses when using Netty.

0reactions
ejona86commented, Aug 9, 2018

This was resolved in #4137. grpc observes the default Java proxy settings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Proxy servers and tunneling - HTTP - MDN Web Docs
Forwarding client information through proxies ... Proxies can make requests appear as if they originated from the proxy's IP address. This can be ......
Read more >
Configuring agents to communicate through a forward proxy
When a forward proxy is used, the agent first opens a TCP connection with the proxy. The agent sends an HTTP CONNECT request...
Read more >
What is a Reverse Proxy Server - Imperva
A reverse proxy server is an intermediate connection point positioned at a ... In contrast, a forward proxy server is also positioned at...
Read more >
Forward Proxy Advanced plugin - Kong Docs
The Forward Proxy plugin allows Kong to connect to intermediary transparent HTTP proxies, instead of directly to the upstream_url, when forwarding requests ...
Read more >
Manual Chapter: Remote Access Forward Proxy Configurations
Before you start to create a configuration in which Access Policy Manager ® (APM ® ) acts as an explicit forward proxy to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found