Tesla adapter errors
Cannot for the life of my figure out what is causing this issue on one server
19:35:44.487 [error] #PID<0.950.0> running Pleroma.Web.Endpoint (connection #PID<0.949.0>, stream id 1) terminated
Server: dev.pleroma.com:80 (http)
Request: GET /api/pleroma/captcha
** (exit) exited in: GenServer.call(Pleroma.Captcha, :new, 5000)
** (EXIT) an exception was raised:
** (ArgumentError) argument error
:erlang.apply("Tesla.Adapter.Hackney", :call, [%Tesla.Env{__client__: %Tesla.Client{adapter: nil, fun: nil, post: [], pre: []}, __module__: Tesla, body: nil, headers: [], method: :get, opts: [], query: [], status: nil, url: "https://captcha.kotobank.ch/new"}, []])
(tesla) lib/tesla.ex:353: Tesla.run/2
(pleroma) lib/pleroma/captcha/kocaptcha.ex:14: Pleroma.Captcha.Kocaptcha.new/0
(pleroma) lib/pleroma/captcha/captcha.ex:45: 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
$ elixir --version
Erlang/OTP 21 [erts-10.3] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [hipe]
Elixir 1.9.1 (compiled with Erlang/OTP 20)
Ubuntu 18.04
I've tried packaged and custom built Erlang/Elixir with no difference.
Edited by feld