为什么会出现 Missing Posting Authority by oflyhigh

View this thread on steempeak.com
· @oflyhigh ·
$38.19
为什么会出现 Missing Posting Authority
今天看到刘美女@deanliu一个帖子,[徵求“發不出去”的解釋.... ](https://steemit.com/steem/@deanliu/2eov2r) 说到发帖时出现`Missing Posting Authority`的提示,然后帖子发不出去。

![](https://cdn.steemitimages.com/DQmbZXN2xLM7JBQStrkV9un7xDdQDNJXdvZ5iaNhmgqzxAF/image.png)
(图源 :[pixabay](https://pixabay.com/))

我在刘美女帖子底下回复说这是人品问题,充值一些人品就好了。尽管这个答案无限接近于事实,但是太过于抽象,所以我简单解释一下到底为啥会出现`Missing Posting Authority`。

以往我们使用一些论坛之类的网站,都需要先登陆,然后发帖,这个登陆就是在服务器和你本地机器之前开通一会会话,服务器那端知道你是一个合法用户且已登陆,这时候就可以给服务器发送信息了。(大致是这样)

但是STEEMIT.COM登陆的过程呢,其实是把私钥放到浏览器本地存储的过程,其实并未与服务器建立任何类似会话之类的关联,也就是说对于服务器端,你登陆与否其实是没区别的。

那么登陆与否没区别,点赞、发帖、评论啥的又如何实现的呢,答案是你进行这一系列操作的时候本地生成了一组响应的操作数据,然后用私钥对上述数据进行签名,然后把签名后的数据发送给服务器(API Node)。服务器判断这组数据和签名没问题,就把数据丢到链上了,所以发帖等操作就成功了。(大致是这样)

可是按照这个逻辑我们既然登陆成功(将私钥保存到浏览器本地存储),并且点赞什么的都成功,或者有时候发短一些的文章也成功,那么为什么还会出现`Missing Posting Authority`错误呢?

答案在于签名和校验签名的过程,我说过,操作数据签名后要发送到API Node,这个过程说起来简单,其实是很复杂的,先要把操作数据按固定的格式组织,然后把它按一定规则换成二进制串(序列化),然后在取这个串的摘要,然后再对其签名,具体是不是这样我也不知道啦,总之很复杂就是啦。

然后呢,这串签名后的数据发给API Node之前会先调用一下校验,校验通过后再广播出去。校验通不过呢,就会出错喽。而我实际遇到过好多次,签名没啥问题,但是校验出错的情况,错误提示就是`Missing Posting Authority`。

其实这是校验程序的一个BUG,但是很难被触发。我猜测可能是由于某个/某些个特殊的字符或者什么特定的条件触发。所以为什么一篇整篇文章发不出去,但是拆开发,并更新上去就可以成功,就是因为绕开了触发条件。

简单总结:

* 这个问题是steem节点校验程序的一个BUG
* 我不知道触发这个BUG的具体条件
* 通过编辑内容啥的有可能绕开这个问题
* 这个和带宽限制之类的无关

![](https://cdn.steemitimages.com/DQmSU1CLRMK3tBJF5j2yuwKDWdr4kDD3AQjBNMZ5qDDHHxu/image.png)
(图源 :[pixabay](https://pixabay.com/))

至于我为何确定是校验程序而不是序列话或者签名等哪个环节的BUG,额,还是保密吧,哈哈哈。
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 78 others
properties (23)
post_id56,936,273
authoroflyhigh
permlinkmissing-posting-authority
categorysteem
json_metadata{"app":"steemit\/0.1","tags":["steem","steemit","posting","cn","bug"],"users":["deanliu"],"links":["https:\/\/steemit.com\/steem\/@deanliu\/2eov2r","https:\/\/pixabay.com\/"],"format":"markdown","image":["https:\/\/cdn.steemitimages.com\/DQmbZXN2xLM7JBQStrkV9un7xDdQDNJXdvZ5iaNhmgqzxAF\/image.png"]}
created2018-07-18 12:52:18
last_update2018-07-18 12:52:18
depth0
children13
net_rshares18,061,088,291,914
last_payout2018-07-25 12:52:18
cashout_time1969-12-31 23:59:59
total_payout_value33.259 SBD
curator_payout_value4.930 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,415
author_reputation1,148,153,621,496,884
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (142)
@chaofanjun ·
$0.07
原来还有这么专业的解释!
👍  
properties (23)
post_id56,937,229
authorchaofanjun
permlinkre-oflyhigh-missing-posting-authority-20180718t130204751z
categorysteem
json_metadata{"app":"steemit\/0.1","tags":["steem"]}
created2018-07-18 13:02:06
last_update2018-07-18 13:02:06
depth1
children0
net_rshares31,932,197,947
last_payout2018-07-25 13:02:06
cashout_time1969-12-31 23:59:59
total_payout_value0.066 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length12
author_reputation3,260,868,859,118
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@aaronli ·
$0.09
我知道為何會出現Missing owner Authority
👍  ,
properties (23)
post_id56,937,954
authoraaronli
permlinkre-oflyhigh-missing-posting-authority-20180718t130855192z
categorysteem
json_metadata{"app":"steemit\/0.1","tags":["steem"]}
created2018-07-18 13:08:54
last_update2018-07-18 13:08:54
depth1
children3
net_rshares42,513,496,982
last_payout2018-07-25 13:08:54
cashout_time1969-12-31 23:59:59
total_payout_value0.083 SBD
curator_payout_value0.005 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length31
author_reputation226,174,919,515,327
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@oflyhigh ·
哈哈哈
properties (22)
post_id56,938,658
authoroflyhigh
permlinkre-aaronli-re-oflyhigh-missing-posting-authority-20180718t131619916z
categorysteem
json_metadata{"app":"steemit\/0.1","tags":["steem"]}
created2018-07-18 13:16:21
last_update2018-07-18 13:16:21
depth2
children0
net_rshares0
last_payout2018-07-25 13:16:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length3
author_reputation1,148,153,621,496,884
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@nuagnorab ·
老司機!
properties (22)
post_id56,939,593
authornuagnorab
permlinkre-aaronli-re-oflyhigh-missing-posting-authority-20180718t132613028z
categorysteem
json_metadata{"app":"steemit\/0.1","tags":["steem"]}
created2018-07-18 13:26:12
last_update2018-07-18 13:26:12
depth2
children0
net_rshares0
last_payout2018-07-25 13:26:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4
author_reputation242,350,792,621,236
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@deanliu ·
當你想念主人的權威的時候
properties (22)
post_id56,942,457
authordeanliu
permlinkre-aaronli-re-oflyhigh-missing-posting-authority-20180718t135607193z
categorysteem
json_metadata{"format":"markdown","tags":["steem"],"community":"busy","links":[],"users":[],"app":"busy\/2.5.3","image":[]}
created2018-07-18 13:56:09
last_update2018-07-18 13:56:09
depth2
children0
net_rshares0
last_payout2018-07-25 13:56:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length12
author_reputation726,291,750,173,620
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@julian2013 ·
$0.07
码农一出手,就知有没有
👍  
properties (23)
post_id56,938,251
authorjulian2013
permlinkre-oflyhigh-missing-posting-authority-20180718t131208103z
categorysteem
json_metadata{"app":"busy\/2.5.3","tags":["steem"],"users":[],"community":"busy","format":"markdown","image":[],"links":[]}
created2018-07-18 13:12:09
last_update2018-07-18 13:12:09
depth1
children0
net_rshares31,944,395,379
last_payout2018-07-25 13:12:09
cashout_time1969-12-31 23:59:59
total_payout_value0.050 SBD
curator_payout_value0.015 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length11
author_reputation243,594,044,729,202
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@sdream ·
$0.07
侠者无私。
👍  
properties (23)
post_id56,939,462
authorsdream
permlinkre-oflyhigh-missing-posting-authority-20180718t132452014z
categorysteem
json_metadata{"app":"steemit\/0.1","tags":["steem"]}
created2018-07-18 13:24:54
last_update2018-07-18 13:24:54
depth1
children0
net_rshares31,944,395,379
last_payout2018-07-25 13:24:54
cashout_time1969-12-31 23:59:59
total_payout_value0.051 SBD
curator_payout_value0.015 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length5
author_reputation590,352,098,179
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars0
author_curate_reward""
vote details (1)
@tariqul95 ·
我跟着你,发布好东西,总是给我们很好的建议,和我们在一起。谢谢。

Posted using [Partiko Android](https://play.google.com/store/apps/details?id=io.partiko.android)
properties (22)
post_id56,940,430
authortariqul95
permlinktariqul95-re-oflyhigh-missing-posting-authority-20180718t133500982z
categorysteem
json_metadata{"app":"partiko"}
created2018-07-18 13:35:00
last_update2018-07-18 13:35:00
depth1
children0
net_rshares0
last_payout2018-07-25 13:35:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length130
author_reputation611,880,575,751
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@zero12345 ·
$0.07
一看就是搞技朮的,同為中国人贊一个,也希望你能関注并為我投票!@zero12345
👍  ,
properties (23)
post_id56,941,754
authorzero12345
permlinkre-oflyhigh-missing-posting-authority-20180718t134935671z
categorysteem
json_metadata{"tags":["steem"],"app":"steemit\/0.1","users":["zero12345"]}
created2018-07-18 13:49:39
last_update2018-07-18 13:49:39
depth1
children0
net_rshares32,030,539,832
last_payout2018-07-25 13:49:39
cashout_time1969-12-31 23:59:59
total_payout_value0.052 SBD
curator_payout_value0.014 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length41
author_reputation-35,572,231,591
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@deanliu ·
$0.07
呦,看起來挺專業。有這麼回事兒我都不知道啊~~ 我正上網徵求老太婆呢!

但還是覺得怪,按照我經驗,就是短文可以上,更新時,多補太長也不行,就是得一小段一小段地上.... 這BUG真是太神奇啦.... 

話說“校驗”的英文是啥?驗些什麼啊?
👍  
properties (23)
post_id56,942,307
authordeanliu
permlinkre-oflyhigh-missing-posting-authority-20180718t135449834z
categorysteem
json_metadata{"format":"markdown","tags":["steem"],"community":"busy","links":[],"users":[],"app":"busy\/2.5.3","image":[]}
created2018-07-18 13:54:51
last_update2018-07-18 13:54:51
depth1
children0
net_rshares31,944,395,379
last_payout2018-07-25 13:54:51
cashout_time1969-12-31 23:59:59
total_payout_value0.050 SBD
curator_payout_value0.015 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length121
author_reputation726,291,750,173,620
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@jlsycxy · (edited)
$0.07
看了博主的文章或多或少的学到一点,学了就比不没学要好!我对网络知识接受的太慢了!
👍  ,
properties (23)
post_id56,993,791
authorjlsycxy
permlinkre-oflyhigh-missing-posting-authority-20180719t005445000z
categorysteem
json_metadata{"app":"steemit\/0.1","tags":["steem"]}
created2018-07-19 00:47:57
last_update2018-07-19 00:48:12
depth1
children0
net_rshares32,310,600,832
last_payout2018-07-26 00:47:57
cashout_time1969-12-31 23:59:59
total_payout_value0.052 SBD
curator_payout_value0.014 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length40
author_reputation10,908,820,050
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@shine.wong ·
$0.06
其他的也别保密了,也开帖说说呗~,说的那么形象生动,比去看代码有意思多了~
👍  
properties (23)
post_id57,003,424
authorshine.wong
permlinkre-oflyhigh-missing-posting-authority-20180719t031017816z
categorysteem
json_metadata{"tags":["steem"],"app":"steemit\/0.1"}
created2018-07-19 03:10:18
last_update2018-07-19 03:10:18
depth1
children0
net_rshares31,944,395,379
last_payout2018-07-26 03:10:18
cashout_time1969-12-31 23:59:59
total_payout_value0.049 SBD
curator_payout_value0.015 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length37
author_reputation1,373,339,077,399
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@shiziwen ·
我刚刚也出现了这个问题,目前已经解决了。
是因为之前更换了密码,所以退出之后,再重新登录,就没有这个问题了。
希望我的经验能对大家有所帮助。
properties (22)
post_id85,395,590
authorshiziwen
permlinkq7ptcq
categorysteem
json_metadata{"app":"steemit\/0.2"}
created2020-03-24 20:38:51
last_update2020-03-24 20:38:51
depth1
children0
net_rshares0
last_payout2020-03-31 20:38:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length70
author_reputation16,723,737,161
root_title"为什么会出现 Missing Posting Authority"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000