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

when sending message, getting Error: Invalid public key #1008

Closed
1 task done
alanhamlett opened this issue Dec 22, 2016 · 5 comments
Closed
1 task done

when sending message, getting Error: Invalid public key #1008

alanhamlett opened this issue Dec 22, 2016 · 5 comments

Comments

@alanhamlett
Copy link

  • I have searched open and closed issues for duplicates

Bug description

Unable to send any message to one contact, but can receive messages from the same contact. Getting Error: Invalid public key. This happens both on Signal Desktop and Signal for Android. Sending messages to other contacts works, just not this one. Tried resetting the chat session, but issue persists.

Steps to reproduce

  • send a message to a specific contact

Actual result: message isn't sent and getting error Invalid public key
Expected result: message should be sent

Platform info

Signal version: Desktop & Android both latest versions

Link to debug log

https://gist.github.com/3126b8ab0160385ac4d2464ecaac2eff

@zmanian
Copy link
Contributor

zmanian commented Jan 10, 2017

I'm experiencing the same issue with folks who correspond with me.

It only affects Signal Desktop, not Android/iOS users.

It doesn't appear to affect all Signal Desktop users?

This problem first manifested on Jan 3rd.

Log from correspondent below.

2017-01-10T19:15:56.016Z fetchMessages
2017-01-10T19:15:57.984Z PUT https://textsecure-service-ca.whispersystems.org:80/v1/messages/+[REDACTED]992
2017-01-10T19:15:58.083Z PUT https://textsecure-service-ca.whispersystems.org:80/v1/messages/+[REDACTED]992 409 Error
2017-01-10T19:15:58.087Z GET https://textsecure-service-ca.whispersystems.org:80/v2/keys/+[REDACTED]992/2
2017-01-10T19:15:58.143Z GET https://textsecure-service-ca.whispersystems.org:80/v2/keys/+[REDACTED]992/2 200 Success
2017-01-10T19:15:58.480Z Error: Invalid public key
2017-01-10T19:15:58.482Z Failed to reload device keys Error: Invalid public key
    at validatePubKeyFormat (chrome-extension://bikioccmkafdpakkkcpdbppfkghcmihk/js/libtextsecure.js:35235:19)
    at Object.ECDHE (chrome-extension://bikioccmkafdpakkkcpdbppfkghcmihk/js/libtextsecure.js:35268:26)
    at Object.ECDHE (chrome-extension://bikioccmkafdpakkkcpdbppfkghcmihk/js/libtextsecure.js:35406:41)
    at chrome-extension://bikioccmkafdpakkkcpdbppfkghcmihk/js/libtextsecure.js:36101:40
2017-01-10T19:16:12.161Z clear attention

@zmanian
Copy link
Contributor

zmanian commented Jan 21, 2017

This is fixed for me.

@alanhamlett
Copy link
Author

Still not working for me, same error message when sending a message to one specific contact from both Signal Desktop and Android.

@scottnonnenberg
Copy link
Contributor

I expect that this issue is now fixed. Please reactivate if you're still seeing it.

@alanhamlett
Copy link
Author

Haven't experienced this bug for a while now, so also assuming it's fixed.

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

No branches or pull requests

3 participants