Symptom
After the upgrade to 0.22.2, every peer call fails immediately when that profile's Bot Chat was created through the API.
Evidence what you'll see
- The line is
Peer 'ix' rejected the request (HTTP 502): Bot Chat admission refused: bot_chat_not_local (this profile's 'Bot Chat' is not a local chat; it is an API conversation; rename or delete it there). POST /v1/runsreturns the same refusal.statusisfailedandoutputisnull.- The session id in the report starts with
api_, for exampleapi_1790437612_6055b731, titleBot Chat.
Why it happens
0.22.2 refuses a peer turn when the canonical Bot Chat is not a local chat. An API-created session fails validate_legacy_row, so the reason becomes bot_chat_not_local. The same calls worked on v0.21.5 against this host.
Affected versions
Linux, systemd, gateway active (running). The broken build is v0.22.2+1524.ge6f5742 (e6f57427c19). The working build minutes earlier was v0.21.5+4911.g6ec0520.
Fix steps
0 of 3 done
Your check marks stay in this browser only.
How to check it worked
hermes peer dmorhermes peer runno longer returns HTTP 502 orbot_chat_not_local.
If it still fails
- The linked issue does not give a flag or a subcommand that rebinds an
api_Bot Chat into a local chat.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it