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

exception on ClientToProxyConnection NoSuchMethodError: com.google.common.net.HostAndPort #412

Open
britboyjohnson opened this issue Jun 8, 2018 · 1 comment

Comments

@britboyjohnson
Copy link

I just updated from littleproxy-1.1.0-beta-bmp-17.jar to littleproxy-1.1.2-littleproxy-shade.jar
and now get the following error. I have seen other reports of this error but none seem to fix my issue like guava vesion - I'm running guava-23.0.jar..

Any ideas please?

AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0 Safari/537.36]
2018-06-08 09:30:57 Launcher ERROR [ClientToProxyConnection] (AWAITING_INITIAL) [id: 0x8c2b0e3c, L:/127.0.0.1:56854 - R:/127.0.0.1:56869]: Caught an exception on ClientToProxyConnection
java.lang.NoSuchMethodError: com.google.common.net.HostAndPort.getHostText()Ljava/lang/String;
at org.littleshoot.proxy.impl.ProxyToServerConnection.addressFor(ProxyToServerConnection.java:961)
at org.littleshoot.proxy.impl.ProxyToServerConnection.setupConnectionParameters(ProxyToServerConnection.java:832)
at org.littleshoot.proxy.impl.ProxyToServerConnection.(ProxyToServerConnection.java:199)
at org.littleshoot.proxy.impl.ProxyToServerConnection.create(ProxyToServerConnection.java:173)
at org.littleshoot.proxy.impl.ClientToProxyConnection.doReadHTTPInitial(ClientToProxyConnection.java:300)
at org.littleshoot.proxy.impl.ClientToProxyConnection.readHTTPInitial(ClientToProxyConnection.java:206)
at org.littleshoot.proxy.impl.ClientToProxyConnection.readHTTPInitial(ClientToProxyConnection.java:80)
at org.littleshoot.proxy.impl.ProxyConnection.readHTTP(ProxyConnection.java:135)
at org.littleshoot.proxy.impl.ProxyConnection.read(ProxyConnection.java:120)
at org.littleshoot.proxy.impl.ProxyConnection.channelRead0(ProxyConnection.java:587)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)

@britboyjohnson britboyjohnson changed the title Caught an exception on ClientToProxyConnection exception on ClientToProxyConnection NoSuchMethodError: com.google.common.net.HostAndPort Jun 8, 2018
@britboyjohnson
Copy link
Author

britboyjohnson commented Jun 8, 2018

It sounds like this is fixed by : #389 on Aug 18, 2017
But the latest littleProxy released was 1.1.2 on Mar 5 2017 - is there any plan to release a new version with this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant