Skip to content

hy2 error #61

@happytrudy

Description

@happytrudy

Use the file in the example to start the error

root@ubuntu:~# ./shoes ./hysteria2.yaml
Failed to load server configs: Could not parse config file ./hysteria2.yaml as config YAML: data did not match any variant of untagged enum Config

Usage: ./shoes [--threads/-t N] [server uri or config filename] [..]
root@ubuntu:~# ./shoes hysteria2.yaml
Failed to load server configs: Could not parse config file hysteria2.yaml as config YAML: data did not match any variant of untagged enum Config

Usage: ./shoes [--threads/-t N] [server uri or config filename] [..]
root@ubuntu:~# ./shoes hysteria2.yaml
Failed to load server configs: Could not parse config file hysteria2.yaml as config YAML: data did not match any variant of untagged enum Config

Usage: ./shoes [--threads/-t N] [server uri or config filename] [..]
root@ubuntu:~# ./shoes hysteria2.yaml
Failed to load server configs: Could not parse config file hysteria2.yaml as config YAML: data did not match any variant of untagged enum Config

Usage: ./shoes [--threads/-t N] [server uri or config filename] [..]
root@ubuntu:~# ./shoes hysteria2.yaml
Failed to load server configs: Could not parse config file hysteria2.yaml as config YAML: data did not match any variant of untagged enum Config

Usage: ./shoes [--threads/-t N] [server uri or config filename] [..]
root@ubuntu:~#

my configuration like this

  • address: 0.0.0.0:8888
    transport: quic
    quic_settings:
    cert: "/etc/sing-box/cert.pem"
    key: "/etc/sing-box/private.key"
    alpn_protocols:
    • h3
      protocol:
      type: hysteria2
      password: abc128459
      rules:
    • allow-all-direct
      what i can do?
      Is port 8888 listening to ipv6 address at the same time? If only listening to ipv6, how to configure it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions