question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hoodie crashes on attempt to sync

See original GitHub issue

Had been testing a new version of @hoodie/store-server with @gr2m and run into an issue when replication/syncing kicks in on the client side. Error is as follows, with more info below:

_http_outgoing.js:392
    this._removedHeader[key] = true;
                             ^

TypeError: Cannot set property 'content-length' of undefined
    at ServerResponse.OutgoingMessage.removeHeader (_http_outgoing.js:392:30)
    at ServerResponse.onResponseHeaders (/Users/James/Documents/Projects/agtract/core/node_modules/compression/index.js:201:11)
    at ServerResponse.writeHead (/Users/James/Documents/Projects/agtract/core/node_modules/on-headers/index.js:46:16)
    at ServerResponse._implicitHeader (_http_server.js:157:8)
    at ServerResponse.write (/Users/James/Documents/Projects/agtract/core/node_modules/compression/index.js:83:14)
    at null._repeat (/Users/James/Documents/Projects/agtract/core/node_modules/express-pouchdb/lib/routes/changes.js:32:13)
    at wrapper [as _onTimeout] (timers.js:275:11)
    at Timer.listOnTimeout (timers.js:92:15)

I hadn’t seen this error prior to using testing these newer versions of @hoodie/server and @hoodie/store-server, so it is likely it can be resolved by going to back to stable versions. But apparently this has come up before. Can anyone shed any light here? I’m taking a look now.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gr2mcommented, Aug 24, 2016

I think we can close this now? I can’t reproduce it with the latest hoodie & @hoodie/server

0reactions
jameswestnzcommented, Aug 24, 2016

Agreed 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Premiere pro 2019 keeps crashing every time I try
I open a project or make a new project, and every time I go to SYNC SETTINGS NOW - it brings up the...
Read more >
res._removedHeader does not exists · Issue #91 · expressjs ... - GitHub
Hoodie crashes on attempt to sync hoodiehq/hoodie#549 ... @dougwilson I have a feeling this was related to a version of hoodie at the...
Read more >
InSync crashes trying to sync some large files (RESOLVED on ...
Constant crashing when trying to sync some large files (downloading), can be reproduced almost every time from some cloud directories.
Read more >
What Is 911 Assist
SYNC says the following, or a similar message: SYNC will attempt to call 911, to cancel the call, press Cancel on your screen...
Read more >
Settings Sync crashes the Settings Application
Select the Processes tab. Scroll down and select Windows Explorer, Right click then select Restart. **Please try to run SFC and DISM to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found