java.lang.IllegalArgumentException: Only ' ' and '\t' are allowed after '\n': _vender_=XIS4VVGW4FROFQ65XGJM4LR3RSRO4XRPUXZD7O7OHWXJDNRA7JTNLKGYJKURVD3C4OITNULXAKEYBKJ2UMNZX66FR22 QMYERKDVREKJXXJBWKPKT4SLFZEHOLHETWBDTO2EU5D4U2RCWBIKND7PWTVEXBTL6JE6WIZYH5A6SJWBMYS3SX2F2VWNQQ63R2TK SY4AZ4MENLFM4Y6ALKKKMQUAM5BNCXO3O5PLR5BVDKRHUXR2JUDYZ3J2CYB6TTITDGVYDRQZO22USJDLXGVTYZKENYV4HP2CNOTB YZ2ZK2EPY6CYZQOVODDYM34HCDGZV4YTIMQQ2JDOXHIU33AEODJYSAH7NRQZTWQXF3QN6UJKHHFCUHK4HX24R2EUSNHUCBX3XF6YONJANORE3KEAW6BEX2F3CFU5FH533PBA ; Domain=.shop.jd.net; Path=/


Solutions on the web2

Solution icon of github
Only ' ' and '\t' are allowed after '\n': _vender_=XIS4VVGW4FROFQ65XGJM4LR3RSRO4XRPUXZD7O7OHWXJDNRA7JTNLKGYJKURVD3C4OITNULXAKEYBKJ2UMNZX66FR22 QMYERKDVREKJXXJBWKPKT4SLFZEHOLHETWBDTO2EU5D4U2RCWBIKND7PWTVEXBTL6JE6WIZYH5A6SJWBMYS3SX2F2VWNQQ63R2TK

Solution icon of github
Only ' ' and '\t' are allowed after '\n': http://localhost:8080/

Stack trace

java.lang.IllegalArgumentException: Only ' ' and '\t' are allowed after '\n': _vender_=XIS4VVGW4FROFQ65XGJM4LR3RSRO4XRPUXZD7O7OHWXJDNRA7JTNLKGYJKURVD3C4OITNULXAKEYBKJ2UMNZX66FR22
QMYERKDVREKJXXJBWKPKT4SLFZEHOLHETWBDTO2EU5D4U2RCWBIKND7PWTVEXBTL6JE6WIZYH5A6SJWBMYS3SX2F2VWNQQ63R2TK
SY4AZ4MENLFM4Y6ALKKKMQUAM5BNCXO3O5PLR5BVDKRHUXR2JUDYZ3J2CYB6TTITDGVYDRQZO22USJDLXGVTYZKENYV4HP2CNOTB
YZ2ZK2EPY6CYZQOVODDYM34HCDGZV4YTIMQQ2JDOXHIU33AEODJYSAH7NRQZTWQXF3QN6UJKHHFCUHK4HX24R2EUSNHUCBX3XF6YONJANORE3KEAW6BEX2F3CFU5FH533PBA
; Domain=.shop.jd.net; Path=/
	at io.netty.handler.codec.http.HttpHeaders.validateHeaderValue(HttpHeaders.java:1247)
	at io.netty.handler.codec.http.DefaultHttpHeaders.add(DefaultHttpHeaders.java:106)
	at io.netty.handler.codec.http.DefaultHttpHeaders.add(DefaultHttpHeaders.java:97)
	at PersonTest$2.filterRequest(PersonTest.java:365)
	at net.lightbody.bmp.filters.RequestFilterAdapter.clientToProxyRequest(RequestFilterAdapter.java:44)
	at net.lightbody.bmp.filters.BrowserMobHttpFilterChain.clientToProxyRequest(BrowserMobHttpFilterChain.java:65)
	at org.littleshoot.proxy.impl.ClientToProxyConnection.doReadHTTPInitial(ClientToProxyConnection.java:227)
	at org.littleshoot.proxy.impl.ClientToProxyConnection.readHTTPInitial(ClientToProxyConnection.java:191)
	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)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
	at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
	at org.littleshoot.proxy.impl.ProxyConnection$RequestReadMonitor.channelRead(ProxyConnection.java:715)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:277)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:264)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
	at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
	at org.littleshoot.proxy.impl.ProxyConnection$BytesReadMonitor.channelRead(ProxyConnection.java:692)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:292)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:278)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:962)
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
	at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.