Open iopq opened 1 year ago
The issue seems to be that I'm installing a folder called v2ray but I'm setting the XRAY_LOCATION_ASSET variable
https://github.com/XTLS/Xray-core/issues/26
in XRAY this is already fixed by testing the v2ray folder name as well
Should I just package it with V2RAY_LOCATION_ASSET in nixos instead and just avoid this issue?
I have decided to just fix my local set-up and use the V2RAY_LOCATION_ASSET instead:
The issue seems to be that I'm installing a folder called v2ray but I'm setting the XRAY_LOCATION_ASSET variable
in XRAY this is already fixed by testing the v2ray folder name as well
Should I just package it with V2RAY_LOCATION_ASSET in nixos instead and just avoid this issue?
Maybe you have met some translation problems, but the issue you quoted shows that the maintainer REFUSED to change the code of xray, because xray has been designed to have a separated ecology.
I think you're right, this software should use XRAY_LOCATION_ASSET instead when running xray
Version, approach of installation, operating system
the master
from github
NixOS unstable
Description
This seems to be an issue from v2ray, but the author doesn't support xray so I can't file it there. When you use the XRAY_LOCATION_ASSET it works with directly running xray, but with xrayA I needed to set the V2RAY_LOCATION_ASSET for some reason
Steps to reproduce
run xrayA but only set the assets to XRAY_LOCATION_ASSET, it will fail to find the assets
Logs:
I saved the log from v2raya having this issue, but xray actually didn't change anything
2023/03/04 16:15:32.776 [I] [io.go:429] Failed to start: main: failed to load config files: [/etc/v2raya/config.json] > infra/conf: invalid field rule > infra/conf: failed to load GeoIP: private > infra/conf: failed to load file: geoip.dat > infra/conf: failed to open file: geoip.dat > open /etc/v2raya:/nix/store/j9wqkrpww59sdpkbrcd51q8zk3bq2kp0-v2ray-assets/share/v2ray/geoip.dat: no such file or directory