Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: no prekey for contact, device 1 #1

Open
GoCyberEd opened this issue Feb 3, 2021 · 4 comments
Open

Error: no prekey for contact, device 1 #1

GoCyberEd opened this issue Feb 3, 2021 · 4 comments

Comments

@GoCyberEd
Copy link

GoCyberEd commented Feb 3, 2021

I had this running perfectly in docker for some time. Recently (not sure exactly when, a few months) I've been getting the following error when trying to send a message:

Error: no prekey for contact +15555555555, device 1

The phone number is a valid phone number (not all 5s). I have removed it for privacy reasons. I do get a warning during launch that contacts.yml is not present. Is this related?

If it matters, I'm using this for a method of 2FA in NextCloud.

Edit:
I have tried the rekey command. It returned successful, but I get the same error about a missing prekey when attempting to send a message.

@morph027
Copy link
Owner

morph027 commented Feb 4, 2021

Hi. Yes, this seems to happen due to some changes in signal protocol, see here: signal-golang/textsecure#31

There's still being worked on.

@morph027
Copy link
Owner

morph027 commented Feb 4, 2021

Also, the project has been moved: https://gitlab.com/morph027/signal-web-gateway

@teutat3s
Copy link

teutat3s commented Mar 1, 2021

Same happened here today - suddenly a long running instance of this nice signal-gateway showed a very similar error:

Error: no prekey for contact +15555555555, device 3

It there a known workaround to make it work for now?

EDIT: If the projects new home is GitLab, maybe we should move this issue over and close it here?

@teutat3s
Copy link

teutat3s commented Mar 23, 2021

For me with the latest build v1.2.14 of https://github.com/signal-golang/textsecure the no prekey for contact error is gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants