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

XRay not working on Linux #1439

Open
indx0 opened this issue Feb 27, 2025 · 2 comments
Open

XRay not working on Linux #1439

indx0 opened this issue Feb 27, 2025 · 2 comments

Comments

@indx0
Copy link

indx0 commented Feb 27, 2025

Describe the bug
Xray VPN protocol is not working on linux. Connetion is successfull, but you cannot access any sites.

To Reproduce
Steps to reproduce the behavior:

  1. Install XRay on your server
  2. Connect to the VPN
  3. Try to access any website with a web browser
  4. See error

Expected behavior
VPN works as expected and sites are accessible.

Log files

AmneziaVPN.log
AmneziaVPN-service.log

Screenshots

Image
Image

Desktop:

  • OS: Fedora Linux KDE
  • Version 41

Server:

  • OS: Ubuntu 24.04

Additional context
Also, the problem persists after disconnecting from VPN. Only thing that helps - connecting to another protocol (for example, AmneziaWG) and then disconnecting from it. After that sites are accessible again.

The problem is clearly with the client, because the same bug happens, when using Xray configs not from amnezia, but from other services.

@outspace
Copy link
Collaborator

outspace commented Mar 1, 2025

Something with DNS setup.

Please append logs from journalctl -xeu systemd-resolved.service

@indx0
Copy link
Author

indx0 commented Mar 1, 2025

мар 01 22:21:56 thinkpad systemd[1]: Started systemd-resolved.service - Network Name Resolution.
░░ Subject: A start job for unit systemd-resolved.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-resolved.service has finished successfully.
░░ 
░░ The job identifier is 17706.
indx@thinkpad:~$ journalctl -xeu systemd-resolved.service
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit systemd-resolved.service has begun execution.
░░ 
░░ The job identifier is 19079.
мар 01 22:22:41 thinkpad systemd[1]: systemd-resolved.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit systemd-resolved.service has successfully entered the 'dead' state.
мар 01 22:22:41 thinkpad systemd[1]: Stopped systemd-resolved.service - Network Name Resolution.
░░ Subject: A stop job for unit systemd-resolved.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit systemd-resolved.service has finished.
░░ 
░░ The job identifier is 19079 and the job result is done.
мар 01 22:22:41 thinkpad systemd[1]: systemd-resolved.service: Start request repeated too quickly.
мар 01 22:22:41 thinkpad systemd[1]: systemd-resolved.service: Failed with result 'start-limit-hit'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit systemd-resolved.service has entered the 'failed' state with result 'start-limit-hit'.
мар 01 22:22:41 thinkpad systemd[1]: Failed to start systemd-resolved.service - Network Name Resolution.
░░ Subject: A start job for unit systemd-resolved.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-resolved.service has finished with a failure.
░░ 
░░ The job identifier is 19079 and the job result is failed.
мар 01 22:22:41 thinkpad systemd[1]: systemd-resolved.service: Start request repeated too quickly.
мар 01 22:22:41 thinkpad systemd[1]: systemd-resolved.service: Failed with result 'start-limit-hit'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit systemd-resolved.service has entered the 'failed' state with result 'start-limit-hit'.
мар 01 22:22:41 thinkpad systemd[1]: Failed to start systemd-resolved.service - Network Name Resolution.
░░ Subject: A start job for unit systemd-resolved.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-resolved.service has finished with a failure.
░░ 
░░ The job identifier is 19098 and the job result is failed.

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