Skip to content

Legacy xray syntax permanently saved in DB #3752

@kilyabin

Description

@kilyabin

Describe the bug

Updated the panel to latest version, xray updated too. Now i receive this logs:

Feb 05 21:03:12 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - Web server running HTTPS on [::]:54321
Feb 05 21:03:12 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Feb 05 21:03:12 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - Tg notify enabled,run at @daily
Feb 05 21:03:12 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - Telegram bot receiver started
Feb 05 21:03:12 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - Sub server running HTTPS on [::]:8443
Feb 05 21:03:12 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: Failed to build TLS config. > common/errors: The feature "verifyPeerCertInNames" has been removed and migrated to "verifyPeerCertByName". Please update your config(s) according to release note and documentation.
Feb 05 21:03:12 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - Failure in running xray-core: exit status 23
Feb 05 21:03:14 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Feb 05 21:03:14 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: Failed to build TLS config. > common/errors: The feature "verifyPeerCertInNames" has been removed and migrated to "verifyPeerCertByName". Please update your config(s) according to release note and documentation.
Feb 05 21:03:14 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - Failure in running xray-core: exit status 23
Feb 05 21:03:16 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Feb 05 21:03:16 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: Failed to build TLS config. > common/errors: The feature "verifyPeerCertInNames" has been removed and migrated to "verifyPeerCertByName". Please update your config(s) according to release note and documentation.
Feb 05 21:03:16 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - Failure in running xray-core: exit status 23
Feb 05 21:03:18 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Feb 05 21:03:18 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: Failed to build TLS config. > common/errors: The feature "verifyPeerCertInNames" has been removed and migrated to "verifyPeerCertByName". Please update your config(s) according to release note and documentation.
Feb 05 21:03:18 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - Failure in running xray-core: exit status 23
Feb 05 21:03:20 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Feb 05 21:03:20 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: Failed to build TLS config. > common/errors: The feature "verifyPeerCertInNames" has been removed and migrated to "verifyPeerCertByName". Please update your config(s) according to release note and documentation.
Feb 05 21:03:20 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - Failure in running xray-core: exit status 23
Feb 05 21:03:22 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: WARNING - Failed to parse JSON configuration: unexpected end of JSON input
Feb 05 21:03:22 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Feb 05 21:03:22 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: Failed to build TLS config. > common/errors: The feature "verifyPeerCertInNames" has been removed and migrated to "verifyPeerCertByName". Please update your config(s) according to release note and documentation.
Feb 05 21:03:22 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - Failure in running xray-core: exit status 23
Feb 05 21:03:24 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: INFO - XRAY: infra/conf/serial: Reading config: &{Name:bin/config.json Format:json}
Feb 05 21:03:24 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - XRAY: Failed to start: main: failed to load config files: [bin/config.json] > infra/conf: failed to build inbound config with tag inbound-443 > infra/conf: Failed to build TLS config. > common/errors: The feature "verifyPeerCertInNames" has been removed and migrated to "verifyPeerCertByName". Please update your config(s) according to release note and documentation.
Feb 05 21:03:24 maxed-afternoon /usr/local/x-ui/x-ui[3280907]: ERROR - Failure in running xray-core: exit status 23

I can't change the config myself, x-ui rewrites it automatically from DB i think. I can't change this setting from web.

My DB, that worked perfectly from 2023 - f**ed up...

How to repeat the problem?

  1. Update to latest version when you already have DB

Expected action

Working xray

Received action

F**ed up the DB

3x-ui Version

2.8.9

Xray-core Version

26.1.31

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions