[GH-ISSUE #1297] Sharing Xray in native format to v2rayng returns failure #505

Open
opened 2026-10-13 20:22:59 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @ypurpl on GitHub (Dec 10, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1297

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.

Originally created by @ypurpl on GitHub (Dec 10, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1297 **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.
Author
Owner

@ypurpl commented on GitHub (Dec 10, 2024):

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

<!-- gh-comment-id:2531684595 --> @ypurpl commented on GitHub (Dec 10, 2024): 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
Author
Owner

@rinxster commented on GitHub (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

<!-- gh-comment-id:2537190653 --> @rinxster commented on GitHub (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](https://github.com/user-attachments/assets/dfe4533f-0a77-46c3-92e8-d64c27b99a57)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#505
No description provided.