You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
Latest version of python-consul fails to register or deregister any services when ACLs are enabled, because the way it submits the auth token was deprecated and support dropped around consul 0.7. More recent versions of consul now also apply strict schemas and reject unknown fields, including the WriteRequest { token: "" } block currently used to send the ACL token.
This results in:
consul.base.BadRequest: 400 Request decode failed: json: unknown field "WriteRequest"
Latest version of python-consul fails to register or deregister any services when ACLs are enabled, because the way it submits the auth token was deprecated and support dropped around consul 0.7. More recent versions of consul now also apply strict schemas and reject unknown fields, including the
WriteRequest { token: "" }
block currently used to send the ACL token.This results in:
Reference for removal of WriteRequest: hashicorp/consul#1034 (comment)
(This is fixed in python-consul2, leaving this issue open to make it discoverable for anyone else who runs into it: https://github.com/poppyred/python-consul2/blob/master/consul/base.py#L1794).
The text was updated successfully, but these errors were encountered: