status-im / status-console-client

Status messaging console user interface
Mozilla Public License 2.0
10 stars 2 forks source link

Error "can't send a message pfs not enabled" when using API #113

Closed dshulyak closed 5 years ago

dshulyak commented 5 years ago

Sending message using API returns following error:

curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"ssm_sendToContact","params":[{"name": "222"}, "plain text"],"id":1}' http://localhost:8777
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"can't send a message: pfs not enabled"}}

Is it known issue? Should API be adjusted?

dshulyak commented 5 years ago

@adambabik do you know?

dshulyak commented 5 years ago

Or should i run a client with pfs turned on? Can we make it on by default?

adambabik commented 5 years ago

I think we should get this working without PFS enabled. We can make it enabled by default as well. I will fix this, it's a bug in the recent merge.