io.vertx.core.net.impl.ConnectionBase IllegalArgumentException

1,260 views
Skip to first unread message

Alan

unread,
Aug 20, 2015, 5:18:39 PM8/20/15
to vert.x
I have a service leveraging vertx 3 with vertx-web. When I run services on local machine, everything working just fine. However, when I deploy on a server (Ubuntu 14.04.2 LTS), I got tons of the following errors:

Aug 20, 2015 2:14:12 PM io.vertx.core.net.impl.ConnectionBase
SEVERE
: java.lang.IllegalArgumentException: text is empty

There is no more details or stack trace for the error. Anyone knows what could be cause of the error?

Thanks.

Tim Fox

unread,
Aug 20, 2015, 5:28:46 PM8/20/15
to ve...@googlegroups.com
It's not an exception thrown by Vert.x, but a quick search in the Netty source shows that it will throw this exception if it encounters an malformed HTTP request which contains no version information.

So, something is sending invalid HTTP requests to your server.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/ad8790ac-b827-4e0e-adac-798f0f3c38e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

1476...@qq.com

unread,
Feb 24, 2017, 1:45:43 AM2/24/17
to vert.x
I have same question .question is :
Feb 24, 2017 2:44:35 PM io.vertx.core.net.impl.ConnectionBase
SEVERE: java.lang.IllegalArgumentException: text is empty

Thomas SEGISMONT

unread,
Mar 6, 2017, 4:21:34 AM3/6/17
to ve...@googlegroups.com
The previous reply suggests an invalid request. Without more context or a reproducer it's difficult to help.

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/23edfe35-df4d-4c3a-a468-772c6902aa27%40googlegroups.com.

Julien Viet

unread,
Mar 6, 2017, 4:22:50 AM3/6/17
to ve...@googlegroups.com
that happens with malformed HTTP requests.

check the connection actually performs HTTP requests

To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages