The :accepts plug in the agent_api pipeline was only allowing JSON, which caused 406 errors when the agent sent protobuf requests. Changes: - Register application/x-protobuf MIME type in config - Add protobuf to agent_api pipeline accepts list - Agent can now successfully communicate using protobuf format |
||
|---|---|---|
| .. | ||
| components | ||
| controllers | ||
| live | ||
| plugs | ||
| endpoint.ex | ||
| gettext.ex | ||
| router.ex | ||
| telemetry.ex | ||
| user_auth.ex | ||