chadtmiller.com/group-host
atmosphere group host
default: minor
XRPC refusals answered as atproto's reference server answers them, and lexicons resolved over DNS
The host answers its XRPC refusals through the shared atproto-server crate. A call to an org.atgrp.* method is checked against its lexicon as the reference server checks one: asked with the wrong HTTP method, it is refused InvalidRequest (it was a 405); a JSON input over 2 MiB is PayloadTooLargeError (it was PayloadTooLarge); and a value the lexicon refuses is said the reference's way (Input/roles/2/role must not be longer than 64 bytes). A method that takes no input, cancelAccountMove, refuses a body (A request body was provided when none was expected), as the reference does; the console sends it none. A failure of the host's own is InternalServerError saying only Internal Server Error, its cause in the host's log alone, and a method the host has no answer for is MethodNotImplemented saying Method Not Implemented.
Another app's permission set is resolved as atproto publishes lexicons: its _lexicon TXT record is asked of the DNS servers DNS_SERVERS names (1.1.1.1:53,8.8.8.8:53 unless set), and its record read from its publisher's repo as com.atproto.sync.getRecord proves it. DNS_OVER_HTTPS is gone: a host that set it sets DNS_SERVERS instead.