Skip to content

Fails to run the server with an example configuration #162

@telnet2

Description

@telnet2

Describe the bug

The example config.toml fails to execute the server.

To Reproduce

Pull the latest branch and run the following command.

(base) ~/r/monolake [main] ❯❯❯ git pull
Already up to date.
(base) ~/r/monolake [main] ❯❯❯ git reset --hard @{u}
HEAD is now at 8401744 docs(README): Add the Chinese version of README (#161)
(base) ~/r/monolake [main] ❯❯❯ cargo run --config examples/config.toml
error: failed to load config from `/Users/joohwi.lee/repos/monolake/examples/config.toml`

Caused by:
  failed to load TOML configuration from `/Users/joohwi.lee/repos/monolake/examples/config.toml`

Caused by:
  failed to parse key `servers`

Caused by:
  failed to parse key `demo_http`

Caused by:
  failed to parse key `routes`

Caused by:
  expected string but found table in list

Expected behavior

Shouldn't it execute a proxy server instance? It reports an error.

Screenshots

Image

If applicable, add screenshots to help explain your problem.

MonoLake version:

Please provide the version of MonoLake you are using.

Environment:

The output of uname -a and env.

Additional context

Add any other context about the problem here.

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