XTLS/Xray-core · error

unknown "xudpProxyUDP443

Error message

unknown "xudpProxyUDP443": {m.XudpProxyUDP443}

What it means

MuxConfig.Build rejects the "xudpProxyUDP443" value because it is neither empty (defaulted to reject) nor one of reject/allow/skip; the offending value is printed so the user can correct the XUDP behavior setting.

Solutions

  1. Set xudpProxyUDP443 to "reject", "allow", or "skip", or omit it
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at infra/conf/xray.go:116 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of XTLS/Xray-core@7d214f8b09 (2026-08-15). Data as JSON: /api/errors/83680bc71b2186bc. Report an issue: GitHub.

Appendix: source

Thrown at infra/conf/xray.go:116

		RouteOnly:           c.RouteOnly,
	}, nil
}

type MuxConfig struct {
	Enabled         bool   `json:"enabled"`
	Concurrency     int16  `json:"concurrency"`
	XudpConcurrency int16  `json:"xudpConcurrency"`
	XudpProxyUDP443 string `json:"xudpProxyUDP443"`
}

// Build creates MultiplexingConfig, Concurrency < 0 completely disables mux.
func (m *MuxConfig) Build() (*proxyman.MultiplexingConfig, error) {
	switch m.XudpProxyUDP443 {
	case "":
		m.XudpProxyUDP443 = "reject"
	case "reject", "allow", "skip":
	default:
		return nil, errors.New(`unknown "xudpProxyUDP443": `, m.XudpProxyUDP443)
	}
	return &proxyman.MultiplexingConfig{
		Enabled:         m.Enabled,
		Concurrency:     int32(m.Concurrency),
		XudpConcurrency: int32(m.XudpConcurrency),
		XudpProxyUDP443: m.XudpProxyUDP443,
	}, nil
}

type InboundDetourConfig struct {
	Protocol       string           `json:"protocol"`
	PortList       *PortList        `json:"port"`
	ListenOn       *Address         `json:"listen"`
	Settings       *json.RawMessage `json:"settings"`
	Tag            string           `json:"tag"`
	StreamSetting  *StreamConfig    `json:"streamSettings"`
	SniffingConfig *SniffingConfig  `json:"sniffing"`
}

View on GitHub (pinned to 7d214f8b09)