You are not logged in.

#1 2025-09-07 10:56:35

jenetism
Member
Registered: 2024-02-28
Posts: 13

[Solved] V2ray suddenly doesn't work on this machine ONLY!

I have 3 devices connecting to the same V2ray VPS server, all of them work except for this one.
So the V2ray server side can not be the problem.

I just shut this laptop down 1 day and woke up with v2ray stop working, I had 0 recollection of ever touching my v2ray.
No log of error or anything, it just refused to work!

Sometimes it works if I `sudo killall v2ray` and manually do `v2ray run --config=/etc/v2ray/config.json`
it might work, but atm I'm speaking, it stopped working after I reboot it
v2ray config.json is completely identical to the other 2 devices, and I haven't touched it at all.

journalctl -u v2ray -f

shows:

e.com:443
Sep 07 18:42:39 ArchLinux v2ray[6062]: 2025/09/07 18:42:39 tcp:127.0.0.1:44714 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:43:31 ArchLinux v2ray[6062]: 2025/09/07 18:43:31 [Warning] [1073490853] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:43:31 ArchLinux v2ray[6062]: 2025/09/07 18:43:31 tcp:127.0.0.1:48988 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:44:07 ArchLinux v2ray[6062]: 2025/09/07 18:44:07 [Warning] [207999167] app/dispatcher: default route for tcp:bbs.archlinux.org:443
Sep 07 18:44:07 ArchLinux v2ray[6062]: 2025/09/07 18:44:07 tcp:127.0.0.1:57698 accepted tcp:bbs.archlinux.org:443 [direct]
Sep 07 18:44:24 ArchLinux v2ray[6062]: 2025/09/07 18:44:24 [Warning] [2024697278] app/dispatcher: default route for tcp:push.services.mozilla.com:443
Sep 07 18:44:24 ArchLinux v2ray[6062]: 2025/09/07 18:44:24 tcp:127.0.0.1:48502 accepted tcp:push.services.mozilla.com:443 [direct]
Sep 07 18:44:25 ArchLinux v2ray[6062]: 2025/09/07 18:44:25 [Warning] [2866861115] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:44:25 ArchLinux v2ray[6062]: 2025/09/07 18:44:25 tcp:127.0.0.1:36426 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:44:25 ArchLinux v2ray[6062]: 2025/09/07 18:44:25 [Warning] [4195217985] app/dispatcher: default route for tcp:push.services.mozilla.com:443
Sep 07 18:44:25 ArchLinux v2ray[6062]: 2025/09/07 18:44:25 tcp:127.0.0.1:36432 accepted tcp:push.services.mozilla.com:443 [direct]
Sep 07 18:45:17 ArchLinux v2ray[6062]: 2025/09/07 18:45:17 [Warning] [7474513] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:45:17 ArchLinux v2ray[6062]: 2025/09/07 18:45:17 tcp:127.0.0.1:55664 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:46:10 ArchLinux v2ray[6062]: 2025/09/07 18:46:10 [Warning] [2380737307] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:46:10 ArchLinux v2ray[6062]: 2025/09/07 18:46:10 tcp:127.0.0.1:42654 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:47:02 ArchLinux v2ray[6062]: 2025/09/07 18:47:02 [Warning] [3196264751] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:47:02 ArchLinux v2ray[6062]: 2025/09/07 18:47:02 tcp:127.0.0.1:38894 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:47:54 ArchLinux v2ray[6062]: 2025/09/07 18:47:54 tcp:127.0.0.1:48952 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:47:54 ArchLinux v2ray[6062]: 2025/09/07 18:47:54 [Warning] [3525732034] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:48:47 ArchLinux v2ray[6062]: 2025/09/07 18:48:47 tcp:127.0.0.1:57326 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:48:47 ArchLinux v2ray[6062]: 2025/09/07 18:48:47 [Warning] [1363516375] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:49:39 ArchLinux v2ray[6062]: 2025/09/07 18:49:39 [Warning] [3189221094] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:49:39 ArchLinux v2ray[6062]: 2025/09/07 18:49:39 tcp:127.0.0.1:50886 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:50:32 ArchLinux v2ray[6062]: 2025/09/07 18:50:32 [Warning] [985046425] app/dispatcher: default route for tcp:www.youtube.com:443
Sep 07 18:50:32 ArchLinux v2ray[6062]: 2025/09/07 18:50:32 tcp:127.0.0.1:44386 accepted tcp:www.youtube.com:443 [direct]
k^C⏎

nothing looks wrong

systemctl status v2ray
Sep 07 18:50:32 ArchLinux v2ray[6062]: 2025/09/07 18:50:32 [Warning] [985046425] app/dispatcher: default route for tcp:www.youtub>
Sep 07 18:50:32 ArchLinux v2ray[6062]: 2025/09/07 18:50:32 tcp:127.0.0.1:44386 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:51:25 ArchLinux v2ray[6062]: 2025/09/07 18:51:25 [Warning] [3340946413] app/dispatcher: default route for tcp:www.youtu>
Sep 07 18:51:25 ArchLinux v2ray[6062]: 2025/09/07 18:51:25 tcp:127.0.0.1:43320 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:51:55 ArchLinux v2ray[6062]: 2025/09/07 18:51:55 [Warning] [4038221023] app/dispatcher: default route for tcp:merino.se>
Sep 07 18:51:55 ArchLinux v2ray[6062]: 2025/09/07 18:51:55 tcp:127.0.0.1:34278 accepted tcp:merino.services.mozilla.com:443 [dire>
Sep 07 18:52:18 ArchLinux v2ray[6062]: 2025/09/07 18:52:18 [Warning] [2099905684] app/dispatcher: default route for tcp:www.youtu>
Sep 07 18:52:18 ArchLinux v2ray[6062]: 2025/09/07 18:52:18 tcp:127.0.0.1:50702 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:53:11 ArchLinux v2ray[6062]: 2025/09/07 18:53:11 tcp:127.0.0.1:35674 accepted tcp:www.youtube.com:443 [direct]
Sep 07 18:53:11 ArchLinux v2ray[6062]: 2025/09/07 18:53:11 [Warning] [3035029711] app/dispatcher: default route for tcp:www.youtu>

What the fuck is happening??

EDIT: new information:
journalctl shows this:

Sep 07 19:03:20 ArchLinux systemd[1]: v2ray.service: Deactivated successfully.
Sep 07 19:03:20 ArchLinux systemd[1]: v2ray.service: Consumed 1.995s CPU time, 238.3M memory peak.

EDIT 2: I tried the memory leak solution by doing as documented in V2ray Beginner's Guide

It did nothing, outside of removing the memory leak error

Last edited by jenetism (2025-09-07 11:37:00)

Offline

#2 2025-09-07 11:36:00

jenetism
Member
Registered: 2024-02-28
Posts: 13

Re: [Solved] V2ray suddenly doesn't work on this machine ONLY!

Stupid mistake, it works now, I just downgrade/upgrade my v2ray and it wiped my config.json, it works after i recover it

Offline

Board footer

Powered by FluxBB