Exception: Uncaught TypeError: encodedPayload.split is not a function
Simple polling
No exceptions
Uncaught TypeError: encodedPayload.split is not a function
at Object.decodePayload (index.js?2a85:24)
at XHR.onData (polling.js?0949:105)
at Request.eval (polling-xhr.js?d33e:101)
at Request.Emitter.emit (index.js?7297:145)
at Request.onData (polling-xhr.js?d33e:262)
at Request.onLoad (polling-xhr.js?d33e:329)
at XMLHttpRequest.xhr.onreadystatechange (polling-xhr.js?d33e:217)
also happens to me
Me either.
That's weird, the decodePayload()
method should always be called with a String...
It might be fixed by https://github.com/socketio/engine.io-client/commit/ec3f677e9240a8947b6a12e15e3fd77e9bbb51d5 though.
@darrachequesne , new exception in 3.0.1 release
Uncaught DOMException: Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'arraybuffer').
Any workaround for this issue? Currently we are developing a new site, so i could downgrade. For now it should be fine to downgrade, but maybe someone has a better idea?
This should be fixed by https://github.com/socketio/engine.io-client/commit/ec3f677e9240a8947b6a12e15e3fd77e9bbb51d5 and https://github.com/socketio/engine.io-client/commit/89cb771cf0d26426bda603ee01d3b5a225e9f3c0, which are included in [email protected]
and [email protected]
.
Most helpful comment
@darrachequesne , new exception in 3.0.1 release
Uncaught DOMException: Failed to read the 'responseText' property from 'XMLHttpRequest': The value is only accessible if the object's 'responseType' is '' or 'text' (was 'arraybuffer').