Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode content #3

Open
mart-e opened this issue Apr 5, 2013 · 0 comments
Open

Unicode content #3

mart-e opened this issue Apr 5, 2013 · 0 comments

Comments

@mart-e
Copy link

mart-e commented Apr 5, 2013

I tried posting a message with unicode in pump. I got the following error in my logs (using ofriehose.com)

[2013-04-05T08:03:08.552Z] ERROR: pump.io/firehose/21280 on mart: (firehose=ofirehose.com)
    SyntaxError: Unexpected end of input
        at Object.parse (native)
        at IncomingMessage.exports.parse.application/json (/home/ubuntu/ofirehose/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:135:16)
        at IncomingMessage.EventEmitter.emit (events.js:93:17)
        at IncomingMessage._emitEnd (http.js:366:10)
        at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
        at CleartextStream.socket.ondata (http.js:1786:22)
        at CleartextStream.CryptoStream._push (tls.js:544:27)
        at SecurePair.cycle (tls.js:898:20)
        at EncryptedStream.CryptoStream.write (tls.js:285:13)
        at Socket.ondata (stream.js:38:26)
    --
    HTTPError: SyntaxError: Unexpected end of input
        at Object.parse (native)
        at IncomingMessage.exports.parse.application/json (/home/ubuntu/ofirehose/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:135:16)
        at IncomingMessage.EventEmitter.emit (events.js:93:17)
        at IncomingMessage._emitEnd (http.js:366:10)
        at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
        at CleartextStream.socket.ondata (http.js:1786:22)
        at CleartextStream.CryptoStream._push (tls.js:544:27)
        at SecurePair.cycle (tls.js:898:20)
        at EncryptedStream.CryptoStream.write (tls.js:285:13)
        at Socket.ondata (stream.js:38:26)
        at Function.pinger (/var/www/pump.mart-e.be/pump.io/lib/firehose.js:91:23)
        at next (/var/www/pump.mart-e.be/pump.io/node_modules/step/lib/step.js:51:23)
        at IncomingMessage.web.mod (/var/www/pump.mart-e.be/pump.io/lib/web.js:58:17)
        at IncomingMessage.EventEmitter.emit (events.js:126:20)
        at IncomingMessage._emitEnd (http.js:366:10)
        at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
        at CleartextStream.socketOnData [as ondata] (http.js:1367:20)
        at CleartextStream.CryptoStream._push (tls.js:526:27)
        at SecurePair.cycle (tls.js:880:20)
        at EncryptedStream.CryptoStream.write (tls.js:267:13)
[2013-04-05T08:03:08.554Z] ERROR: pump.io/distributor/21280 on mart: undefined
    HTTPError: SyntaxError: Unexpected end of input
        at Object.parse (native)
        at IncomingMessage.exports.parse.application/json (/home/ubuntu/ofirehose/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:135:16)
        at IncomingMessage.EventEmitter.emit (events.js:93:17)
        at IncomingMessage._emitEnd (http.js:366:10)
        at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
        at CleartextStream.socket.ondata (http.js:1786:22)
        at CleartextStream.CryptoStream._push (tls.js:544:27)
        at SecurePair.cycle (tls.js:898:20)
        at EncryptedStream.CryptoStream.write (tls.js:285:13)
        at Socket.ondata (stream.js:38:26)
        at Function.pinger (/var/www/pump.mart-e.be/pump.io/lib/firehose.js:91:23)
        at next (/var/www/pump.mart-e.be/pump.io/node_modules/step/lib/step.js:51:23)
        at IncomingMessage.web.mod (/var/www/pump.mart-e.be/pump.io/lib/web.js:58:17)
        at IncomingMessage.EventEmitter.emit (events.js:126:20)
        at IncomingMessage._emitEnd (http.js:366:10)
        at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
        at CleartextStream.socketOnData [as ondata] (http.js:1367:20)
        at CleartextStream.CryptoStream._push (tls.js:526:27)
        at SecurePair.cycle (tls.js:880:20)
        at EncryptedStream.CryptoStream.write (tls.js:267:13)

I got it only with messages containing unicode

example 1, example 2

Update: old instance is down, new example and output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant