Title: Catalog register/deregister WriteRequest JSON field not supported in modern consul versions · Issue #286 · python-consul/python-consul · GitHub
Open Graph Title: Catalog register/deregister WriteRequest JSON field not supported in modern consul versions · Issue #286 · python-consul/python-consul
X Title: Catalog register/deregister WriteRequest JSON field not supported in modern consul versions · Issue #286 · python-consul/python-consul
Description: 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 a...
Open Graph Description: 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. M...
X Description: 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. M...
Opengraph URL: https://github.com/python-consul/python-consul/issues/286
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Catalog register/deregister WriteRequest JSON field not supported in modern consul versions","articleBody":"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.\r\n\r\nThis results in:\r\n\r\n```\r\nconsul.base.BadRequest: 400 Request decode failed: json: unknown field \"WriteRequest\"\r\n```\r\n\r\nReference for removal of WriteRequest: https://github.com/hashicorp/consul/issues/1034#issuecomment-278215999\r\n\r\n(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).","author":{"url":"https://github.com/optiz0r","@type":"Person","name":"optiz0r"},"datePublished":"2021-07-27T11:35:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/286/python-consul/issues/286"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f31e1deb-32b6-194a-617b-53c3dfea2659 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DDF8:1672C1:29C7475:36D3A12:696B6C52 |
| html-safe-nonce | 050c1f1d745129d1ae92a8c3c1c1e044391e48c3662a349355c75a3a316372c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEREY4OjE2NzJDMToyOUM3NDc1OjM2RDNBMTI6Njk2QjZDNTIiLCJ2aXNpdG9yX2lkIjoiMjA1MDk2OTIxOTE2MjEzOTczMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 92c72b48363d43996d76c276ed78a1192864a08ef7f2f53df114b18780bae769 |
| hovercard-subject-tag | issue:953789392 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-consul/python-consul/286/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7899623cc1e91f9df98ef7531dd41267ab854593efaf8c0207fe1368a9bcd194/python-consul/python-consul/issues/286 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7899623cc1e91f9df98ef7531dd41267ab854593efaf8c0207fe1368a9bcd194/python-consul/python-consul/issues/286 |
| og:image:alt | 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. M... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | optiz0r |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python-consul/python-consul git https://github.com/python-consul/python-consul.git |
| octolytics-dimension-user_id | 143416393 |
| octolytics-dimension-user_login | python-consul |
| octolytics-dimension-repository_id | 24473148 |
| octolytics-dimension-repository_nwo | python-consul/python-consul |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24473148 |
| octolytics-dimension-repository_network_root_nwo | python-consul/python-consul |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width