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.Dismiss alert
Hello! First of all, thanks for this project! Cool and light application which very good working.
I've been tested subscription feature with links from my 3x-ui panel and found 2 issues:
Not originally from your code, but affects yours. It's related to usual (not json) subscription with REALITY security.
After fetching, a link is converting to json by ConvertShareLinksToXrayJson function from libXray. And in case with REALITY it compiles "realitySettings" object in json with all possible keys (like "dest", "serverNames", etc.), but most of them don't used on client side and final json check in application fails. "realitySettings": { "masterKeyLog": "", "show": false, "target": null, "dest": null, "type": "", "xver": 0, "serverNames": null, "privateKey": "", "minClientVer": "", "maxClientVer": "", "maxTimeDiff": 0, "shortIds": null, "fingerprint": "chrome", "serverName": "www.example.com", "publicKey": "public_key", "shortId": "short_id", "spiderX": "spider_x" }
For client side need only 5 last parameters.
It seems import from clipboard fails by the same issue.
It is like feature request or something like that. Json subscription expects only 1 JsonObject, but subscription can produce multiple configs. So when fetching json subscription application should expect json array with json objects (configs) or just 1 json object.
The text was updated successfully, but these errors were encountered:
1- This is how XTLS/libXray works, Check this: XTLS/libXray#62 (comment)
2- TBH I didn't see a Json subscription till now, Is it a standard feature ? If the answer is yes send an example here
Ohhh, I see. Anyway, I'd think about some workaround until it's not fixed... Because for now, configs with extra fields aren't importing from subscription.
As per discussion here, yes. There is an example.
3x-ui panel and v2rayN and v2rayNG works with this format.
Hello! First of all, thanks for this project! Cool and light application which very good working.
I've been tested subscription feature with links from my 3x-ui panel and found 2 issues:
Not originally from your code, but affects yours. It's related to usual (not json) subscription with REALITY security.
After fetching, a link is converting to json by ConvertShareLinksToXrayJson function from libXray. And in case with REALITY it compiles "realitySettings" object in json with all possible keys (like "dest", "serverNames", etc.), but most of them don't used on client side and final json check in application fails.
"realitySettings": { "masterKeyLog": "", "show": false, "target": null, "dest": null, "type": "", "xver": 0, "serverNames": null, "privateKey": "", "minClientVer": "", "maxClientVer": "", "maxTimeDiff": 0, "shortIds": null, "fingerprint": "chrome", "serverName": "www.example.com", "publicKey": "public_key", "shortId": "short_id", "spiderX": "spider_x" }
For client side need only 5 last parameters.
It seems import from clipboard fails by the same issue.
It is like feature request or something like that. Json subscription expects only 1 JsonObject, but subscription can produce multiple configs. So when fetching json subscription application should expect json array with json objects (configs) or just 1 json object.
The text was updated successfully, but these errors were encountered: