abj3ct10n commented on issue #225: URL: https://github.com/apache/casbin-gateway/issues/225#issuecomment-5640482997
> Thanks for the report, this was a real bug. The binary built for Linux has its `conf/app.conf` baked in, but a `conf/app.conf` on disk replaces that built-in copy entirely. So when the file you created for `httpaddr = 0.0.0.0` didn't also have `copyrequestbody = true`, Gateway stopped reading request bodies. Every JSON POST, including the password change, then arrived empty and failed with `unexpected end of JSON input`. It's fixed in [4756b25](https://github.com/apache/casbin-gateway/commit/4756b25329d9db993d94ebc68f3f0b969deb9e13): Gateway now always reads request bodies, whatever your config file says. Until the next nightly, adding `copyrequestbody = true` to your `conf/app.conf` works around it. but. Update Password Login is Username empty. Thinks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
