Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown field "portBindings" when apply config file #169

Open
humbass opened this issue Nov 23, 2024 · 1 comment
Open

unknown field "portBindings" when apply config file #169

humbass opened this issue Nov 23, 2024 · 1 comment
Labels
question General or technical questions

Comments

@humbass
Copy link

humbass commented Nov 23, 2024

mieru apply config config.json
common.UnmarshalJSON() failed: proto: (line 2:3): unknown field "portBindings"

mieru version: 3.8.0
system version: debian 10 on x86_64

==== config.json =====

{
  "portBindings": [
    {
      "portRange": "7001-7999",
      "protocol": "TCP"
    }
  ],
  "users": [
    {
      "name": "user01",
      "password": "88889999"
    }
  ],
  "loggingLevel": "INFO",
  "mtu": 1400
}
@enfein enfein added the question General or technical questions label Nov 23, 2024
@enfein
Copy link
Owner

enfein commented Nov 23, 2024

@humbass The config.json you provided is server configuration, not client configuration. Please use mita apply config config.json command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General or technical questions
Projects
None yet
Development

No branches or pull requests

2 participants