I have searched for open and closed duplicates.
Recently for whatever reason my Signal Desktop install prompted me with the setup screen again. This seems to have been due to a bug, but unfortunately I have no idea what caused it as i hadn't opened Signal for a number of days.
Because of this I ended up restoring my Chrome profile from backup (in order to retain my message history). However, now I'm getting a bunch of messages from myself that say "Error handling incoming message" because of a bad MAC. Obviously the mobile client and desktop client are out of sync, and reinitializing the link between them would fix it. However, AFAICT, there's no option to do so in Signal Desktop's settings, and I'm afraid that unlinking will destroy my message history, which is the problem I was trying to solve in the first place.
Message history is not automatically deleted when you unlink or link (see #878), so you should have been fine if you re-linked at the prompt.
If your Chrome client has a bunch of bad keys, you can try resetting the secure session. If that doesn't work, then starting over from scratch may be your only option (unless you made a second backup?)
You may want to write something in the community forum, many people will be able to help you there.
@nrizzio I actually did try re-linking before I restored from backup, which didn't keep my message history. I'm really not sure what happened.
It seems that the only thing that's wrong with the profile is the mobile-desktop keys. I can e.g. send a message to a friend on desktop, but it doesn't show up on the other device. Instead I get "bad encryption" errors from myself. I tried "reset secure session" with myself, but as I expected it didn't help.
Quitting Signal Desktop, unlinking from Android, relaunching Signal Desktop and relinking seems to have done the trick. However I still think there should be an option in settings to relink as it's not obvious that the above operation doesn't destroy data.
I think the original issue with the random unlinking might be a case of #797 and/or #718.
Yep, #797 sounds like exactly what happened to me, right down to the low disk space problems.
In case it still helps anyone: Re-linking should be possible by going to chrome://extensions/ opening background.html and typing extension.install(); into the console (please note that I'm not a Signal developer, but it worked fine for me).
@primeos : Thx for the idea :-)
Relinking worked for me (I had another use case though).
_DISCLAIMER: This method might be insecure, someone should investigate and clarify that._
I copied my Signal-Deskop Export from my notebook OS X to Linux. Then installed Signal Desktop on Linux and restored the message OS X backup. In the Linux and OS X Signal Desktop clients I performed these steps:
View -> Toggle Developer ViewConsoleWhispher.Registration.remove(); (in lower text field/prompt).Re-link appears above the Signal contact list. Developer consoleOn my mobile I also removed the older, now unused OS X link. Initially I tried to only re-link Linux, but OS X did not receive updates properly any more (potentially due to key or Id re-usage?).
For now I seem to be able to send/receive message on iOS, OS X and Linux.
All: My recommendation would be to remove the link to your desktop install in your mobile app, which will cause the desktop to ask to re-link. There's no need to open the dev console to re-link desktop. Note also that this will maintain all of your historical messages, since a re-link is a very low-impact action.
Generally, our rule of thumb is that the mobile device is the 'source of truth.' So it's where important decisions like 'which devices are associated with this phone number?' are made.
I also have a problem with this.
I tried resetting signal on my Mac but deleting application support files and the app did not reset its state.
I tried what @debugger-zz suggested but Whispher.Registration.remove(); in the dev console does only report that Whisper is not loaded.
Why can I not simply trigger a new linking process and reset the Mac app?
@funkenstrahlen Can you talk a little bit more about what happens to your Signal Desktop install when you send a message? Do the messages go through? Can you receive messages? When you send, does that sent message appear in the same conversation on your mobile device?
We'd also like a little more information about the history of your Desktop install. Seems like you installed it recently, but it has old contacts and messages. How did that happen, exactly?
window.Whisper.Registration.remove() in the dev console and then a restart really should do the trick. What version of Signal Desktop are you running?
@funkenstrahlen did you typo Whisper as Whispher?
Can you talk a little bit more about what happens to your Signal Desktop install when you send a message?
I can send messages.
Do the messages go through?
Yes.
Can you receive messages?
Yes.
When you send, does that sent message appear in the same conversation on your mobile device?
The conversations on my mobile devices do not contain the conversation I used to test sending a message on Mac (as I can not force a resync). Therefore I can not tell if the messages I send are also on my mobile device conversation. However I can say that the new conversation I started on Mac does not appear on my mobile device.
We'd also like a little more information about the history of your Desktop install. Seems like you installed it recently, but it has old contacts and messages. How did that happen, exactly?
1.3.0window.Whisper.Registration.remove() in the dev console and then a restart really should do the trick.
Worked perfectly! Could resync and now everything works like expected. When I tried this the first time it actually was a typo error because I just did a copy & paste.
Thanks for your help!
@funkenstrahlen Glad it worked. To be clear, in that sequence, your Desktop device was still linked to the Signal account associated with your old phone. It seems that you never deleted it - doing so would have caused your desktop instance to request re-link as well. I wonder - do you have contacts attempting to message you with that account?
More information on deleting your account is here: https://support.signal.org/hc/en-us/articles/214160088-How-do-I-unregister-or-delete-my-account-
Most helpful comment
@primeos : Thx for the idea :-)
Relinking worked for me (I had another use case though).
_DISCLAIMER: This method might be insecure, someone should investigate and clarify that._
I copied my Signal-Deskop Export from my notebook OS X to Linux. Then installed Signal Desktop on Linux and restored the message OS X backup. In the Linux and OS X Signal Desktop clients I performed these steps:
View -> Toggle Developer ViewConsoleWhispher.Registration.remove();(in lower text field/prompt).Re-linkappears above the Signal contact list.Developer consoleOn my mobile I also removed the older, now unused OS X link. Initially I tried to only re-link Linux, but OS X did not receive updates properly any more (potentially due to key or Id re-usage?).
For now I seem to be able to send/receive message on iOS, OS X and Linux.