Chinaunix

标题: TestClient 爆java.io.IOException: recv cmd: 32 is not correct, expect cmd: 100 [打印本页]

作者: loekevin    时间: 2015-11-16 11:48
标题: TestClient 爆java.io.IOException: recv cmd: 32 is not correct, expect cmd: 100
本帖最后由 loekevin 于 2015-11-16 15:01 编辑

哈喽。大神,请问个问题,FastDFS client java   调用 报错java.io.IOException: recv cmd: 32 is not correct, expect cmd: 100 请问是什么原因呢?
10:56:33.832 ERROR com.jn.yth.common.util.FileManager.upload()/69  - IO Exception when uploadind the file: 520 java.io.IOException: recv cmd: 32 is not correct, expect cmd: 100
        at org.csource.fastdfs.ProtoCommon.recvHeader(ProtoCommon.java:219) ~[fastdfs_client_java._v1.25.jar]
        at org.csource.fastdfs.ProtoCommon.recvPackage(ProtoCommon.java:250) ~[fastdfs_client_java._v1.25.jar]
        at org.csource.fastdfs.TrackerClient.getStoreStorage(TrackerClient.java:143) ~[fastdfs_client_java._v1.25.jar]
        at org.csource.fastdfs.StorageClient.newWritableStorageConnection(StorageClient.java:193 ~[fastdfs_client_java._v1.25.jar]
        at org.csource.fastdfs.StorageClient.do_upload_file(StorageClient.java:703) ~[fastdfs_client_java._v1.25.jar]
        at org.csource.fastdfs.StorageClient.upload_file(StorageClient.java:20 ~[fastdfs_client_java._v1.25.jar]
        at org.csource.fastdfs.StorageClient.upload_file(StorageClient.java:226) ~[fastdfs_client_java._v1.25.jar]




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2