Comments (8)
@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.
I used Firefox to test some message sending and receiving, and there will be sticky packets. This feature also needs improvement.
from engine.io.
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.
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.
@zishang520 this should be fixed by a306db0, included in version 6.5.2
.
Could you please check?
from engine.io.
ok i will get back to you after testing.
from engine.io.
@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.
@zishang520 this should finally be fixed by ff1c861, included in version 6.5.3
.
Could you please confirm?
from engine.io.
Related Issues (20)
- TypeError: Cannot destructure property 'Server' of '_engineIo.default' HOT 5
- Customize response headers with Express middleware HOT 6
- Possible error in websocket code HOT 2
- clientsCount property of server... why need to keep this private, HOT 1
- In package.json, move @types/* from dependencies to devDependencies HOT 9
- Log with pino-http middleware raises TypeError: res.on is not a function HOT 1
- Latest uWs not working HOT 5
- ReferenceError: TextDecoder is not defined HOT 5
- Getting unexpected messages from some clients HOT 2
- Node.js versions below 10.2 are not compatible with the latest version 6.5.1. HOT 1
- WebTransport If the length of the data block exceeds maxDatagramSize, the server will be unable to receive the complete message (the client will not send the complete message). HOT 2
- The cache busting t query parameter does not work if multiple connections to the server are made HOT 3
- Add support for Node.js built-in WebSocket? HOT 7
- Upgrade 6.5.2 but the error of uWebsocket aborted write failed still appear HOT 1
- Add new transport: gRPC-Web HOT 2
- HTTP/2 Web Socket in Chrome not working HOT 2
- Send callback may not be called if message is sent during upgrade window HOT 2
- Cannot set `socket.request` to `null` because the property is read-only HOT 2
- `websocket`: `send` callbacks are not all called if multiple messages are sent rapidly HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from engine.io.