Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GAE+jdk7 regression introduced by ProxyDetector #3676

zpencer opened this issue Nov 7, 2017 · 0 comments


Copy link

commented Nov 7, 2017

RPCs will just hang because ProxyDetectorImpl tries to use ProxySelector, resulting in this error:

  Caused by: java.lang.NoClassDefFoundError: is a restricted class. Please see the Google App Engine developer's guide for more details.
  	at io.grpc.internal.ProxyDetectorImpl$2.get(
  	at io.grpc.internal.ProxyDetectorImpl$2.get(
  	at io.grpc.internal.ProxyDetectorImpl.detectProxy(
  	at io.grpc.internal.ProxyDetectorImpl.proxyFor(
  	at io.grpc.internal.InternalSubchannel.startNewTransport(
  	at io.grpc.internal.InternalSubchannel.obtainActiveTransport(
  	at io.grpc.internal.ManagedChannelImpl$SubchannelImpl.requestConnection(
  	at io.grpc.PickFirstBalancerFactory$PickFirstBalancer.handleResolvedAddressGroups(
  	at io.grpc.internal.ManagedChannelImpl$NameResolverListenerImpl$
  	at io.grpc.internal.ChannelExecutor.drain(
  	at io.grpc.internal.ManagedChannelImpl$LbHelperImpl.runSerialized(
  	at io.grpc.internal.ManagedChannelImpl$NameResolverListenerImpl.onAddresses(
  	at io.grpc.internal.DnsNameResolver$
  	at java.util.concurrent.ThreadPoolExecutor.runWorker(
  	at java.util.concurrent.ThreadPoolExecutor$
  	at Method)
  	at$ also has security restrictions and will likely have this problem. The solution is probably to check with the before performing the action, and falling back to no proxy if we fail. Since app engine is a highly restricted environment, do we even need to come up with an alternate way to configure a proxy here? @ejona86

@zpencer zpencer self-assigned this Nov 7, 2017

@zpencer zpencer closed this in #3677 Nov 7, 2017

@ejona86 ejona86 added this to the 1.8 milestone Nov 7, 2017

@lock lock bot locked as resolved and limited conversation to collaborators Sep 29, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
2 participants
You can’t perform that action at this time.