账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    java.net.ProtocolException: expected 452 bytes but received 8192
    29
    0

    部分手机(内存小)拍照上传图片时,返回 java.net.ProtocolException: expected XXX bytes but received XXX

    OKhttp 传的

    2
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • 饮尽孤单 普通会员 1楼

      This error message indicates that you are trying to send data to a server that is expecting a certain number of bytes, but you are sending more data than the expected value. The most common cause of this error is when you are sending data that is too large for the server to handle. To fix this error, you should make sure that the data you are sending is not too large for the server to handle. You can check the server's documentation to determine what the maximum allowed data size is, and make sure that you are not sending more data than that. If you are still having trouble, you may need to check the server's logs to see if there are any error messages that could be causing the problem. You can also try sending the data again to see if the error persists.

    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部