Code Monkey home page Code Monkey logo

Comments (3)

lihsai0 avatar lihsai0 commented on July 22, 2024

这个一般还是和客户端网络环境相关。在长连接的前提下,服务端长时间未收到客户端的数据,于是先于客户端关闭了 TCP。而客户端此时还未同步到关闭状态,认为长连接还在就复用了连接发送数据。结果就是被服务端直接拒绝。

SDK 针对这个错误,后续如果能做的也是重试,重新建立连接继续上传。

from nodejs-sdk.

wsdo avatar wsdo commented on July 22, 2024

目前,怎么解决呢?必现的, 第一个ok ,后面上传都不可以了

from nodejs-sdk.

lihsai0 avatar lihsai0 commented on July 22, 2024

一般重试即可。

能否具体提供下具体环境信息?

操作系统、NodeJS 版本、SDK 版本等。看下能否稳定复现。

另外您这边到 http://up-z1.qiniup.com/ 的网络状态如何?

from nodejs-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.