You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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
Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16.2 linux/amd64)
A unified platform for anti-censorship.
2022/10/25 11:43:33 [Info] infra/conf/serial: Reading config: bin/config.json
Failed to start: main: failed to load config files: [bin/config.json] > encoding/hex: invalid byte: U+0073 's'
ihave no idea whats going on please help
I did not change the codes after the configuration! I was just creating an account! But the panel stopped working and I saw the xray status error on the panel.
What is your problem?
Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16.2 linux/amd64)
A unified platform for anti-censorship.
2022/10/25 11:43:33 [Info] infra/conf/serial: Reading config: bin/config.json
Failed to start: main: failed to load config files: [bin/config.json] > encoding/hex: invalid byte: U+0073 's'
ihave no idea whats going on please help
delete latest user and check from dashboard.
if you create user dont change it , remove and recreate it for edit.
Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16.2 linux/amd64)
A unified platform for anti-censorship.
2022/10/25 11:43:33 [Info] infra/conf/serial: Reading config: bin/config.json
Failed to start: main: failed to load config files: [bin/config.json] > encoding/hex: invalid byte: U+0073 's'
ihave no idea whats going on please help
Hi delete latest user and check from dashboard. if you create user dont change it , remove and recreate it for edit.
thanks it helped
Xray 1.4.2 (Xray, Penetrates Everything.) Custom (go1.16.2 linux/amd64)
A unified platform for anti-censorship.
2022/10/25 11:43:33 [Info] infra/conf/serial: Reading config: bin/config.json
Failed to start: main: failed to load config files: [bin/config.json] > encoding/hex: invalid byte: U+0073 's'
ihave no idea whats going on please help
Hi delete latest user and check from dashboard. if you create user dont change it , remove and recreate it for edit.
Thanks It Was great helpful
I get this error: Failed to start: main: failed to load config files: [bin/config.json] > encoding/hex: invalid byte: U+004B 'K'
after adding a user via the API with the following settings:
email: user_id.toString(),
enable: true,
flow: "xtls-rprx-vision",
id: randomString(8)+"-"+randomString(4,'1234567890')+"-"+randomString(4)+"-"+randomString(4)+"-"+randomString(12)
If I do the same through the control panel. there is no such error.
UPDATED!
the problem was incorrect id generation on my part. Apparently the server is waiting for a special generation according to the rules.
I just took a piece of code from WEB to generate the ID and now everything is fine.
const template = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';
return template.replace(/[xy]/g, function (c) {
const randomValues = new Uint8Array(1);
crypto.getRandomValues(randomValues);
let randomValue = randomValues[0] % 16;
let calculatedValue = (c === 'x') ? randomValue : (randomValue & 0x3 | 0x8);
return calculatedValue.toString(16);
I hope it helped someone)