java.lang.IllegalArgumentException: cannot find a NameResolver for 127.0.0.1:9999 (Illegal character in scheme name at index 0: 127.0.0.1:9999)

GitHub | LeeYeeze | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    cannot find a NameResolver exception for revision fc5197fbf4ca51bd76484b28e155beb52c0c0a90

    GitHub | 9 months ago | LeeYeeze
    java.lang.IllegalArgumentException: cannot find a NameResolver for 127.0.0.1:9999 (Illegal character in scheme name at index 0: 127.0.0.1:9999)
  2. 0

    java.lang.IllegalArgumentException when try to use ipv6

    GitHub | 10 months ago | normanmaurer
    java.lang.IllegalArgumentException: cannot find a NameResolver for directaddress:////0:0:0:0:0:0:0:0%0:10005 (Malformed escape pair at index 33: directaddress:////0:0:0:0:0:0:0:0%0:10005)

  1. Hronom 2 times, last 2 months ago

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    cannot find a NameResolver for 127.0.0.1:9999 (Illegal character in scheme name at index 0: 127.0.0.1:9999)

    at io.grpc.internal.ManagedChannelImpl.getNameResolver()
  2. io.grpc.internal
    AbstractManagedChannelImplBuilder.build
    1. io.grpc.internal.ManagedChannelImpl.getNameResolver(ManagedChannelImpl.java:257)
    2. io.grpc.internal.ManagedChannelImpl.<init>(ManagedChannelImpl.java:167)
    3. io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:210)
    3 frames
  3. com.testbase
    Demo.main
    1. com.testbase.Demo.main(Demo.java:11)
    1 frame