c9 / connect-architect

build a connect server using architect plugins
MIT License
14 stars 26 forks source link

Error 'SyntaxError: Unexpected end of input' reading session #12

Open dlongley opened 11 years ago

dlongley commented 11 years ago

See: https://github.com/ajaxorg/cloud9/issues/1614

This bug existed before the session plugin was moved over to this repo but the fix for it was not ported during that move (the fix is linked to in the above issue). I've hit the same bug again now.

TravisDart commented 10 years ago

This worked for me:

In ./configs/default.js line 175, replace: packagePath: "./connect.session.file", with: packagePath: "../node_modules/connect-architect/connect.session.memory",

(Based on: https://github.com/ajaxorg/cloud9/commit/73ab96d273124b2ddab71b8f08038a2d696b06b8)

troyane commented 10 years ago

Will this bug be solved?

Every time I use Cloud9 I got several errors:

Error 'SyntaxError: Unexpected end of input' reading session: 1PgGbTmiNQhcbp39sNdl3ERM.nVwLH8YijQfdSUShJWWu9HJdKG8wZBc36e+g5A+CjHE <Buffer >
...

After this error appears in my console, I can't save modified files in Cloud9 (getting Not saved). Need to refresh page, and then, all of described repeats.

Can someone help? What kind of information do I need to provide to help to solve this issue?