Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

Sharing Xray in native format to v2rayng returns failure #1297

Open
vvirtues opened this issue Dec 10, 2024 · 2 comments
Open

Sharing Xray in native format to v2rayng returns failure #1297

vvirtues opened this issue Dec 10, 2024 · 2 comments

Comments

@vvirtues
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Share
  2. Click on (your server) > Xray
  3. Scroll down to native format
  4. copy to clipboard
  5. open v2ray
  6. add from clipboard
  7. returns failure

Expected behavior
Adds server to v2rayng and allows me to connect

Log files
Attach log files to help explain your problem.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Moto G Stylus 5G
  • OS: Android 13
  • Version 4.8.2.3

Server (please complete the following information):

  • OS: Ubuntu

Additional context
Add any other context about the problem here.

@vvirtues
Copy link
Author

I realized that manually filling in each line works though , and exporting through v2rayng gives a long vless:// link, so I think that's the issue

@rinxster
Copy link

rinxster commented Dec 11, 2024

I have the same issue whe generating simple xray configuration from Windows client Version 4.8.2.3.
When you rollback to one of previous versions of client - it helps(helped to rollback to AmneziaVPN_4.5.3.0_x64).
I have compared json files in Notepad++ having hidden symbols visibility option enabled.
It is interestingn to see the NBSP symbol everywhere in broken json.
PSA screen. On the left side: generated by Windows client Version 4.8.2.3(doesnt work as the result). Right side - generated by Windows client Version 4.5.3.0(works well).
So need fix - looks like NBSP symbol is surplus.
Amnezia-Снимок экрана 2024-12-12 000446

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants