java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Enabling Basic Authentication in solr 4.3
    via Stack Overflow by Monti Chandra
    ,
  • Getting the following error, when trying to connect to solr via jdbc driver. {panel:title=client error|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} (ClientCnxn.java:1102) - Session 0x0 for server fe80:0:0:0:0:0:0:1%1/fe80:0:0:0:0:0:0:1%1:8983, unexpected error, closing socket connection and attempting reconnect java.io.IOException: Packet len1213486160 is out of range! at org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:112) ~[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:79) ~[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366) ~[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) [zookeeper-3.4.6.jar:3.4.6-1569965] {panel} This is imho. caused by the following server error: {panel:title=server error|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1|bgColor=#FFFFCE} Illegal character 0x0 in state=START for buffer HeapByteBuffer@5cc6fe87[p=1,&#8203;l=49,&#8203;c=8192,&#8203;r=48]={\x00<<<\x00\x00-\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>>>charset=UTF-8\r\nCo...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00} {panel} Using http interface for sql via curl works however: {code} bin/solr start -cloud bin/solr create -c test curl -X POST -H 'Content-Type: application/json' 'http://localhost:8983/solr/test/update/json/docs' --data-binary ' { "id": "1", "title": "Doc 1" }' curl 'http://localhost:8983/solr/test/update?commit=true' curl --data-urlencode 'stmt=SELECT count(*) FROM test' http://localhost:8983/solr/test/sql?aggregationMode=facet {code} This is the code, that fails: {code} Connection con = DriverManager.getConnection("jdbc:solr://localhost:8983?collection=test&aggregationMode=map_reduce&numWorkers=2"); {code} taken from: https://cwiki.apache.org/confluence/display/solr/Parallel+SQL+Interface Same error also occurs in 6.1.0-68 developer snapshot. Background: I'm trying to write a solr sql connector for Jedox BI Suite, which should allow for better integration of solr into BI processes. Any advice / help appreciated.
    via by Christian Schwarzinger,
  • Packet len is out of range
    via by Tk,
  • GitHub comment 2101#139201622
    via GitHub by meichstedt
    ,
    • java.io.IOException: Packet len1213486160 is out of range! at org.apache.zookeeper.ClientCnxnSocket.readLength(ClientCnxnSocket.java:112)[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:79)[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)[zookeeper-3.4.6.jar:3.4.6-1569965] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)[zookeeper-3.4.6.jar:3.4.6-1569965]

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,