v2rayA not working on GL inet XE300

Hi guys,

I managed to install v2raya on my router GL inet-XE300 with stock firmware by following the steps mentioned in

But I was not able to get v2raya run after setting up the servers and routing policies.
I clicked the button 'Start' on the top-left and it remained red and I got the message 'failed to start v2ray-core: timeout: check the log for more information'

I also tried to flashed XE300 with the latest openwrt firmware from
https://firmware-selector.openwrt.org/?version=23.05.3&target=ath79%2Fnand&id=glinet_gl-xe300
The device was up and running after the flash.
But after I had the v2raya installed , I faced with the same situation.
Please advise . Thanks in advance.

logs file of v2rayA after error

2024/07/18 08:12:04.910 [A] [main.go:29] V2Ray binary is /usr/bin/xray
2024/07/18 08:12:04.965 [A] [main.go:29] V2Ray asset directory is /run/user/0/v2raya
2024/07/18 08:12:04.966 [A] [main.go:29] v2rayA working directory is /
2024/07/18 08:12:04.967 [A] [main.go:29] v2rayA configuration directory is /etc/v2raya
2024/07/18 08:12:04.967 [A] [main.go:29] Golang: go1.21.12
2024/07/18 08:12:04.968 [A] [main.go:29] OS: linux
2024/07/18 08:12:04.968 [A] [main.go:29] Arch: mips
2024/07/18 08:12:04.969 [A] [main.go:29] Lite: false
2024/07/18 08:12:04.990 [A] [main.go:29] Version: 2.2.5.7
2024/07/18 08:12:04.990 [A] [main.go:29] Starting...
2024/07/18 08:12:04.991 [I] [main.go:30] the core was not running the last time v2rayA exited
2024/07/18 08:12:09.593 [A] [index.go:116] v2rayA is listening at http://127.0.0.1:2017
2024/07/18 08:12:09.602 [A] [index.go:116] v2rayA is listening at http://192.168.1.1:2017
2024/07/18 08:12:09.602 [A] [index.go:116] v2rayA is listening at http://[::1]:2017
2024/07/18 08:12:09.603 [A] [index.go:116] v2rayA is listening at http://[fe80::9683:c4ff:fe19:67b4]:2017
2024/07/18 08:12:09.604 [A] [index.go:116] v2rayA is listening at http://[fdae:6255:88ac::1]:2017
2024/07/18 08:12:09.604 [A] [index.go:116] v2rayA is listening at http://[fe80::9683:c4ff:fe19:67b4]:2017
2024/07/18 08:12:09.605 [A] [index.go:116] v2rayA is listening at http://[fe80::9683:c4ff:fe19:67b5]:2017
2024/07/18 08:17:31.880 [I] [process.go:101] low memory: 36MiB, set V2RAY_CONF_GEOLOADER=memconservative
2024/07/18 08:17:34.628 [I] [io.go:432] Xray 1.8.18 (Xray, Penetrates Everything.) OpenWrt (go1.21.12 linux/mips)
2024/07/18 08:17:34.663 [I] [io.go:432] A unified platform for anti-censorship.
2024/07/18 08:17:34.805 [I] [io.go:432] [Info] infra/conf/serial: Reading config: /etc/v2raya/config.json
2024/07/18 08:17:35.280 [W] [processManager.go:75] only listen at 127.2.0.17: dns port 53 is occupied by dnsmasq(3315)
2024/07/18 08:17:50.380 [E] [connection.go:88] failed to start v2ray-core: timeout: check the log for more information

.... and ?

this is the error message and when I look into the logs , it says exactly the same.

same shit. is there any chance that you solved this?

is it possible that this error is due to the fact that i am using the SIM card as the Internet?

no luck to make it work.
it's nothing to do with the SIM.
I connect XE300 to my home router as DHCP but V2RAYA is not working anyway.

I have the same issue. I have the same V2RayA setup running on a GL-MT3000 and it runs pretty smoothly.

The only thing I could imagine is that the Qualcomm processor, network controler, or the respective OpenWRT ( 23.5.4) or v2ray-core implementation struggles on that setup.

Ping's work fine through the V2RayA interface but as soon as I go into http testing, the latency is super high. So, I would assume that some implementation in OpenWRT paired with some network functionality, that v2ray-core is using, is having a hard time.

The method with enabling/disabling IPv6 didn’t help me. BUT, I solved the problem differently:

  1. Disable V2rayA using any convenient method.
  2. Log in to the router management console via SSH.
  3. Delete the contents of the file geosite.dat. To do this, enter the command nano /usr/share/xray/geosite.dat in the console. Press the key combination Alt + T (deletes everything), then press Ctrl + X (exit nano), and confirm the changes by pressing Y (yes).
  4. Enable V2rayA and go to its settings screen at 192.xx.xx.xx:2017, select your VPN connection, and press the CONNECT button.

In my case, the connection started immediately.

rm /usr/share/xray/geosite.dat
touch /usr/share/xray/geosite.dat

?

2 Likes

echo -n "" > /usr/share/xray/geosite.dat
This will create or replace the file with a new one containing empty string-- file exists but has a length of zero bytes.

Unfortunately, it does not work for me still.
I used the command
echo -n "" > /usr/share/xray/geosite.dat
to create a zero size file, and got below logs .

2025/02/07 08:58:16.422 [I] [process.go:101] low memory: 35MiB, set V2RAY_CONF_GEOLOADER=memconservative
2025/02/07 08:58:17.909 [I] [io.go:431] Xray 25.1.30 (Xray, Penetrates Everything.) OpenWrt (go1.23.4 linux/mips)
2025/02/07 08:58:17.921 [I] [io.go:431] A unified platform for anti-censorship.
2025/02/07 08:58:18.139 [I] [io.go:431] [Info] infra/conf/serial: Reading config: &{Name:/etc/v2raya/config.json Format:json}
2025/02/07 08:58:33.411 [E] [connection.go:88] failed to start v2ray-core: timeout: check the log for more information
2025/02/07 08:58:36.948 [I] [io.go:431] Failed to start: main: failed to load config files: [/etc/v2raya/config.json] > infra/conf: invalid field rule > infra/conf: failed to parse domain rule: geosite:geolocation-!cn > infra/conf: failed to load geosite: GEOLOCATION-!CN > infra/conf: failed to load file: geosite.dat > infra/conf: empty file: geosite.dat
2025/02/07 08:58:36.973 [W] [asm_mipsx.s:664] v2ray-core: exit status 23

Then I changed the Traffic Splitting Mode of Rule Port to RountingA, got similar error logs

2025/02/07 08:59:35.558 [I] [process.go:101] low memory: 37MiB, set V2RAY_CONF_GEOLOADER=memconservative
2025/02/07 08:59:36.992 [I] [io.go:431] Xray 25.1.30 (Xray, Penetrates Everything.) OpenWrt (go1.23.4 linux/mips)
2025/02/07 08:59:37.001 [I] [io.go:431] A unified platform for anti-censorship.
2025/02/07 08:59:37.070 [I] [io.go:431] [Info] infra/conf/serial: Reading config: &{Name:/etc/v2raya/config.json Format:json}
2025/02/07 08:59:52.114 [E] [connection.go:88] failed to start v2ray-core: timeout: check the log for more information
2025/02/07 08:59:53.418 [W] [asm_mipsx.s:664] v2ray-core: exit status 23
2025/02/07 08:59:53.428 [I] [io.go:431] Failed to start: main: failed to load config files: [/etc/v2raya/config.json] > infra/conf: invalid field rule > infra/conf: failed to parse domain rule: geosite:google-scholar > infra/conf: failed to load geosite: GOOGLE-SCHOLAR > infra/conf: failed to load file: geosite.dat > infra/conf: empty file: geosite.dat