internal server error when registering with /api/v1/accounts
When trying to register using /api/v1/accounts I am getting a {"errors":{"detail":"Internal server error"}} response
I am sending the following data in my post request: {username: testing, email: test@test.com, password: testtest, agreement: true, locale: en, captcha_token: L3WOHQL275P3lw, captcha_solution: afuas}
Along with the following header with app token: {authorization: Bearer KiynU5XYNYJsfD6vBhVQvHUMc4xaE7QN7DoAqRyIPa0, Accept: application/json, Content-Type: application/json}
I was able to get the log info:
GenServer Pleroma.Captcha terminating
** (FunctionClauseError) no function clause matching in Plug.Crypto.MessageEncryptor.decrypt/3
(plug_crypto) lib/plug/crypto/message_encryptor.ex:43: Plug.Crypto.MessageEncryptor.decrypt(nil, <<200, 229, 234, 145, 246, 12, 83, 230, 255, 56, 15, 171, 251, 27, 99, 98, 151, 131, 55, 52, 80, 249, 220, 83, 58, 57, 85, 177, 47, 142, 195, 223>>, <<124, 208, 114, 200, 188, 208, 87, 149, 188, 83, 225, 156, 13, 120, 20, 102, 187, 18, 37, 129, 140, 230, 56, 106, 165, 47, 7, 174, 69, 138, 126, 207>>)
(pleroma) lib/pleroma/captcha/captcha.ex:85: Pleroma.Captcha.handle_call/3
(stdlib) gen_server.erl:661: :gen_server.try_handle_call/4
(stdlib) gen_server.erl:690: :gen_server.handle_msg/6
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message (from #PID<0.20205.23>): {:validate, "Ra4ECtGxe_Fj5w", "dlkaj", nil}
State: nil
Client #PID<0.20205.23> is alive
(stdlib) gen.erl:167: :gen.do_call/4
(elixir) lib/gen_server.ex:1006: GenServer.call/3
(pleroma) lib/pleroma/web/twitter_api/twitter_api.ex:35: Pleroma.Web.TwitterAPI.TwitterAPI.register_user/2
(pleroma) lib/pleroma/web/mastodon_api/controllers/account_controller.ex:96: Pleroma.Web.MastodonAPI.AccountController.create/2
(pleroma) lib/pleroma/web/mastodon_api/controllers/account_controller.ex:5: Pleroma.Web.MastodonAPI.AccountController.action/2
(pleroma) lib/pleroma/web/mastodon_api/controllers/account_controller.ex:5: Pleroma.Web.MastodonAPI.AccountController.phoenix_controller_pipeline/2
(pleroma) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.instrument/4
(phoenix) lib/phoenix/router.ex:288: Phoenix.Router.__call__/2
EDIT(lanodan): Formatting
Edited by Haelwenn