pe4kin
pe4kin copied to clipboard
longpool bad status 409 : Authenticity is not established by certificate path validation
Hey there, I was wondering if you could help me to understand the following error:
When I run:
application:ensure_all_started(pe4kin).
BotName = <<"MyActualBot">>.
BotToken = <<"my token">>.
pe4kin:launch_bot(BotName, BotToken, #{receiver => true}).
pe4kin_receiver:subscribe(BotName, self()).
pe4kin_receiver:start_http_poll(BotName, #{limit=>100, timeout=>60}).
I see repeated in the shell:
=WARNING REPORT==== 21-May-2022::12:14:06.859855 ===
Bot <<"MyBotName">>: longpool bad status 409 when state #{pid => <0.323.0>,
ref =>
#Ref<0.563238734.295698434.49022>,
state => start}
=WARNING REPORT==== 21-May-2022::12:14:06.860406 ===
Description: "Authenticity is not established by certificate path validation"
Reason: "Option {verify, verify_peer} and cacertfile/cacerts is missing"