Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

private_message plugin causes a mass error on api nodes: "terminate called after throwing an instance of 'fc::assert_exception'" #529

Closed
Vik-BC opened this issue Apr 9, 2018 · 4 comments
Assignees
Projects
Milestone

Comments

@Vik-BC
Copy link

Vik-BC commented Apr 9, 2018

Many users reported problems with own API nodes
loop restarts with an error
terminate called after throwing an instance of 'fc::assert_exception'

capture

@Vik-BC
Copy link
Author

Vik-BC commented Apr 9, 2018

As reported by users, problem in private_message plugin

@Vik-BC Vik-BC changed the title Mass error on api nodes: "terminate called after throwing an instance of 'fc::assert_exception'" Private Message plugin causes a mass error on api nodes: "terminate called after throwing an instance of 'fc::assert_exception'" Apr 9, 2018
@Vik-BC Vik-BC changed the title Private Message plugin causes a mass error on api nodes: "terminate called after throwing an instance of 'fc::assert_exception'" private_message plugin causes a mass error on api nodes: "terminate called after throwing an instance of 'fc::assert_exception'" Apr 9, 2018
@Vik-BC
Copy link
Author

Vik-BC commented Apr 9, 2018

Deleting plugin from config.ini restores work
capture

@asuleymanov
Copy link

Скорее всего к проблеме привела обычная отправка private_message.
Строка которую я отправлял ниже.

jsonString := "[\"private_message\"," + "{\"from\":\"" + from + "\",\"to\":\"gbot\"" + ",\"from_memo_key\":\"GLS5kc9FKrjBsPchpTeX84KdDVHa9pJ21PgLZCux8uDfFyqWBGZWx\"" + ",\"to_memo_key\":\"GLS5SVBL6qTTiaD1qbxNFqksfxzdenAok2ToNc4uCTXKXLVrNQRnx\"" + ",\"sent_time\":0" + ",\"checksum\":0" + ",\"encrypted_message\":\"" + hex.EncodeToString([]byte("test")) + "\"}]"

@afalaleev afalaleev added this to BackLog in 0.17.2 Apr 9, 2018
@afalaleev afalaleev added this to the 0.17.2 milestone Apr 9, 2018
@zxcat zxcat self-assigned this Apr 10, 2018
@afalaleev afalaleev moved this from BackLog to In progress in 0.17.2 Apr 10, 2018
zxcat added a commit to zxcat/golos that referenced this issue Apr 10, 2018
@zxcat zxcat moved this from In progress to ReView/QA in 0.17.2 Apr 11, 2018
@zxcat
Copy link

zxcat commented Apr 11, 2018

#537

afalaleev added a commit that referenced this issue Apr 11, 2018
Fix private_message plugin interface #529
@zxcat zxcat closed this as completed Apr 11, 2018
0.17.2 automation moved this from ReView/QA to Done Apr 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
0.17.2
  
Done
Development

No branches or pull requests

4 participants