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.

Broken pad due to badChangeset error

See original GitHub issue

Hello,

We have several broken pads since our 1.8 update and I don’t understand why. The error on server side is:

[2020-04-06 11:19:04.055] [WARN] console - Error: Can't apply USER_CHANGES, because Trying to submit changes as another author in changeset Z:rop>0|d=1ei=2m*0=2$
    at handleUserChanges (/var/www/hebdo.framapad/src/node/handler/PadMessageHandler.js:641:13)
    at process._tickCallback (internal/process/next_tick.js:68:7)

The reason is that when we load the pad (without any user interaction), a message is sent on the server:

42
[
  "message",
  {
    "type": "COLLABROOM",
    "component": "pad",
    "data": {
      "type": "USER_CHANGES",
      "baseRev": 7723,
      "changeset": "Z:rop>0|d=1ei=2m*0=2$",
      "apool": {
        "numToAttrib": {
          "0": [
            "author",
            "a.dWQUozuAVXf005iq"
          ]
        },
        "nextNum": 1
      }
    }
  }
]

I don’t understand what this changeset means, and I don’t understand why it is sent to the server. However, I know I’m not the a.dWQUozuAVXf005iq author.

I don’t think it’s the same bug than https://github.com/ether/etherpad-lite/issues/2802

Then, we are disconnected and we can’t do anything.

~~Broken pad example: https://hebdo.framapad.org/p/framaconfinement-leplan~~

Thank you

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
JohnMcLearcommented, Apr 7, 2020

I published a new version of ep_spellcheck which fixes this issue

1reaction
JohnMcLearcommented, Apr 7, 2020

Thanks @Chocobozzz for this, I will handle, you can leave it with me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught Error: Failed assertion: Invalid changeset ...
Hey guys. We are using stable and have the problem that some pads randomly stop working and throw an uncaught error in the...
Read more >
Mobile Bytes #3: Lets Talk Bad Changeset Error
A changeset is termed as Bad when instructions from the client do not match the server (UPLOAD) that leads to Server-side error or...
Read more >
How to handle sync error: "Bad changeset received ...
It means that you have two schemas where one field is nullable and another is not (Error could be better, granted). This is...
Read more >
Plastic SCM version control · Introduction guide
This guide introduces you to Plastic SCM version control.
Read more >
hg
This command helps to find changesets which introduce problems. To use, mark the earliest changeset you know exhibits the problem as bad, then...
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