Code Monkey home page Code Monkey logo

Comments (8)

zishang520 avatar zishang520 commented on June 17, 2024 1

@zishang520 this should finally be fixed by ff1c861, included in version 6.5.3.

Could you please confirm?

I have completed the test, and the issue has been fixed. Thank you.

from engine.io.

zishang520 avatar zishang520 commented on June 17, 2024

I used Firefox to test some message sending and receiving, and there will be sticky packets. This feature also needs improvement.

from engine.io.

darrachequesne avatar darrachequesne commented on June 17, 2024

That's weird, it seems two messages are concatenated: 0{"sid":"tEe1aTFiB5e8y_T8AAAA"}2probe

Which version of Firefox are you using? Which OS?

from engine.io.

zishang520 avatar zishang520 commented on June 17, 2024

That's weird, it seems two messages are concatenated: 0{"sid":"tEe1aTFiB5e8y_T8AAAA"}2probe

Which version of Firefox are you using? Which OS?

The OS is the latest version of Windows 11, and the Firefox browser is also the latest version.

from engine.io.

darrachequesne avatar darrachequesne commented on June 17, 2024

@zishang520 this should be fixed by a306db0, included in version 6.5.2.

Could you please check?

from engine.io.

zishang520 avatar zishang520 commented on June 17, 2024

ok i will get back to you after testing.

from engine.io.

zishang520 avatar zishang520 commented on June 17, 2024

@zishang520 this should be fixed by a306db0, included in version 6.5.2.

Could you please check?

I have tested sending and receiving messages, and there are no issues; it functions properly. However, there is another problem that needs to be addressed. Here are the reproduction steps:

On a Windows system, using the Firefox browser (version 115.0.2 (64-bit)), after starting the engine.io server, connecting to the server using the browser client, sending a message to the server in the 'open' event. Then, pressing F5 to refresh the page and reconnect to the server leads to a server crash.

  send accept ranges +0ms
  send cache-control public, max-age=0 +0ms
  send modified Fri, 04 Aug 2023 06:56:42 GMT +0ms
  send etag W/"5f3-189bf558e3d" +0ms
  send content-type application/javascript +0ms
  send not modified +0ms
  engine intercepting request for path "/engine.io/" +10m
  engine handling "GET" http request "/engine.io/?EIO=4&transport=polling&t=Oc_Oe50" +0ms
  engine applying middleware nĀ°1 +0ms
  engine handshaking client "MKuE7QAV04RAXQT5AAAB" +1ms
  engine:transport readyState updated from undefined to open (polling) +10m
  engine:socket readyState updated from undefined to opening +3s
  engine:socket readyState updated from opening to open +1ms
  engine:socket sending packet "open" ({"sid":"MKuE7QAV04RAXQT5AAAB","upgrades":["webtransport"],"pingInterval":25000,"pingTimeout":20000,"maxPayload":1000000}) +0ms
  engine:polling setting request +10m
  engine:socket flushing buffer to transport +0ms
  engine:polling writing "0{"sid":"MKuE7QAV04RAXQT5AAAB","upgrades":["webtransport"],"pingInterval":25000,"pingTimeout":20000,"maxPayload":1000000}" +0ms
  engine:socket executing batch send callback +1ms
  engine:transport readyState updated from open to closed (webtransport) +16ms
  engine:socket readyState updated from open to closed +15ms
  engine:webtransport error while reading: undefined +3s
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "0".] {
  code: 'ERR_UNHANDLED_REJECTION'
}

Node.js v18.17.0

from engine.io.

darrachequesne avatar darrachequesne commented on June 17, 2024

@zishang520 this should finally be fixed by ff1c861, included in version 6.5.3.

Could you please confirm?

from engine.io.

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.