substance / notes

Real-time collaborative notes editing.
Other
21 stars 5 forks source link

Getting 502 when establishing WebSocket connection #108

Closed jure closed 7 years ago

jure commented 8 years ago

WebSocket connection to 'ws://notes.substance.io/' failed: Error during WebSocket handshake: Unexpected response code: 502

documentId = ed73af54010c54ccc02ace82ce6c5011

Integral commented 8 years ago

Hey Jure, thanks, will look at later just to collect information, sever logs:

TypeError: Cannot read property '_isPropertyAnnotation' of undefined
     at select (/var/www/notes/node_modules/substance/model/AnnotationIndex.js:33:18)
     at /var/www/notes/node_modules/substance/model/data/Data.js:295:17
     at /var/www/notes/node_modules/lodash/_createBaseFor.js:17:11
     at baseForOwn (/var/www/notes/node_modules/lodash/_baseForOwn.js:13:20)
     at /var/www/notes/node_modules/lodash/_createBaseEach.js:17:14
     at forEach (/var/www/notes/node_modules/lodash/forEach.js:37:7)
     at _updateIndexes (/var/www/notes/node_modules/substance/model/data/Data.js:294:5)
     at set (/var/www/notes/node_modules/substance/model/data/Data.js:158:12)
     at apply (/var/www/notes/node_modules/substance/model/data/IncrementalData.js:123:20)
     at /var/www/notes/node_modules/substance/collab/SnapshotEngine.js:202:18
     at arrayEach (/var/www/notes/node_modules/lodash/_arrayEach.js:15:9)
     at forEach (/var/www/notes/node_modules/lodash/forEach.js:36:7)
     at /var/www/notes/node_modules/substance/collab/SnapshotEngine.js:201:7
     at arrayEach (/var/www/notes/node_modules/lodash/_arrayEach.js:15:9)
     at forEach (/var/www/notes/node_modules/lodash/forEach.js:36:7)
     at SnapshotEngine._applyChanges (/var/www/notes/node_modules/substance/collab/SnapshotEngine.js:200:5)
 WARNING: NODE_APP_INSTANCE value of '0' did not match any instance config file names.
 WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Integral commented 7 years ago

I will close it as collab gets updated and this app was also rewritten (although not deployed yet).