Skip to content

Error when running main_proxy: could not start Cowboy2 adapter, missing option :key/:keyfile #33

@hawkyre

Description

@hawkyre

I'm getting the following error when running this proxy.

22:24:25.238 [notice] Application main_proxy_app exited: MainProxyApp.Application.start(:normal, []) returned an error: shutdown: failed to start child: MainProxyApp.Proxy
** (EXIT) an exception was raised:
** (ArgumentError) could not start Cowboy2 adapter, missing option :key/:keyfile

I just set up a new umbrella project for my server and can't run it due to this. This is the proxy file

defmodule MainProxyApp.Proxy do
  use MainProxy.Proxy

  @impl MainProxy.Proxy
  def backends do
    [
      %{
        domain: Application.get_env(:main_proxy_app, :language_league_api_server_url),
        plug: LLServer.Web.Router
      }
    ]
  end
end

any idea on how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions