Browse by symptom · 8 sections

V2Ray Troubleshooting Guide

Narrow down the cause before changing settings. Retest with the same app and URL so you can tell which step made a difference.

Haven’t finished importing a profile or making your first connection? Start with the getting started steps in the user guide. If you’ve connected before but something is now going wrong, choose the symptom that best matches below. This guide focuses on v2rayN, the recommended desktop client, with dedicated checks for v2rayNG and v2flyNG on Android.

01 Connection path

V2Ray connected, but no internet

A client showing “connected” usually means only that a process or connection state is active. It doesn’t prove that your browser’s request reached the website. Break the connection path into four stages: the device connects to the network, the app hands its request to the client, the client selects an outbound route, and the destination responds. Stop at the first stage that fails and investigate there. Don’t make reinstalling the client your first step; it changes many variables unrelated to the problem.

Start with a direct-connection comparison

On a network where direct access is allowed, note the current system proxy and TUN settings. Turn off TUN first, then have the client undo the system proxy settings it applied. If your computer normally uses a proxy configured by your organization, restore that configuration rather than clearing it. Test a site you can usually access directly, and compare results on another device using the same network. If neither device can open it, check the cable or Wi-Fi connection, network sign-in, and router before trying another node; switching nodes won’t help diagnose the issue yet.

If only the computer fails, check the system proxy settings for a leftover local address and port. After the client exits, a browser may still use the old proxy address even though the program that handled requests is no longer running. Restore the normal network settings, then close and reopen the browser before testing again so existing connections don’t skew the result. If public Wi-Fi requires a web sign-in, complete it in accordance with the network’s rules before restoring your usual proxy setup.

Restore one traffic-handling method and check the local path

Once direct access works, test v2rayN on desktop using system proxy mode first; don’t enable TUN at the same time. Select a node that worked before and confirm it is the active node, not just highlighted in the list. Open the logs, then send a new request from a test app and note the time and destination hostname. If a matching entry appears, the request reached the client at least. If not, check whether the log level records access requests, then verify that the app uses the system proxy.

If the log says a port is already in use, resolve the local listener conflict first: identify which program is receiving requests on that port. Check whether two client instances are running or another network app is using the same port; close only programs you can safely exit. If you need to change the port, update it in the client and confirm the core starts before applying the system proxy again. Apps manually pointed at the old port must also be updated; otherwise, the system proxy may appear enabled while those apps keep connecting to the old address.

Retest based on the scope of the problem

If only one browser fails, test the same URL in another app that follows the system proxy, and check whether the affected browser has its own proxy setting or an extension that controls proxy use. If only one domain fails, compare it with a site serving a different purpose and check which outbound route the domain matched. Routing rules send different requests through different outbounds; switching nodes won’t change the result if a reject rule matches. If several apps and destinations all fail, investigate the first connection error instead of changing settings in each app.

If the outbound connection times out or is refused, see Node timeouts. If errors occur while looking up hostnames, see DNS issues. For intermittent failures, note whether they happen on the first attempt or only after the client has been running for a while. Startup and traffic-capture order are more likely factors in the former; network changes, resume from sleep, or upstream interruptions may matter in the latter. Before finishing, restore temporary test settings and open an uncached page in the original app. Don’t rely on the tray icon changing color as proof that everything works.

02 Node diagnostics

V2Ray node timeouts and latency tests

A timeout means the expected response didn’t arrive within the allotted time; it doesn’t prove that a node is offline. The node address may not have resolved, the transport connection may not have been established, authentication may not have completed, or the test site may not have responded in time. Different v2rayN test options check different stages. Note which test method and target you used before comparing results; don’t rank values from different test options in the same table.

Distinguish port connectivity from an actual request

For a TCP node, successfully connecting to the remote port only confirms that a connection to the remote listener can be established. It doesn’t prove that the protocol, server name, or transport path is configured correctly, or that the node can reach destinations for the client. A real request sent through the selected node checks more of the path, but still depends on the test destination’s load and response behavior. Basic network probes that rely on ICMP echo may also fail if the remote host doesn’t respond; they aren’t a substitute for testing a client request.

Test one node at a time instead of testing an entire group at once. Run several tests against the same responsive target, spaced a short time apart, then open that target in a browser through the same node. If the test occasionally times out but browsing is consistently fine, focus on the test address and path. If both fail, compare with another node in the same group that used to work. A whole group failing and a single node failing usually call for different checks.

Use the first new log entry to identify the failure stage

Note the test start time so you don’t mix old logs with the current issue. If a hostname lookup fails first, check resolution of the node server’s hostname rather than only the test URL. If the connection is refused immediately, verify the address, port, and remote service status. If it fails only after a long wait, test the same node on another network you’re allowed to use and see whether the problem follows the network. Failure on both networks still doesn’t prove the configuration is wrong; the remote service may be temporarily unavailable.

If a connection is established but the handshake fails, first confirm that automatic date, time, and time zone are enabled on the device. Then check fields such as the transport type, path, and server name without exposing credentials. A handshake is the exchange used to agree on how to communicate before application data is sent. For certificate errors, check the clock, hostname, and trust chain; don’t disable certificate verification. If the node came from a subscription, import the current subscription again for comparison. This is more useful than guessing at multiple fields in an old entry.

Rule out misleading test results

If the first test is slow and later tests are faster, the difference may come from the initial DNS lookup and connection setup, or simply network fluctuation. Don’t keep only the fastest result; note the typical range and whether failures happen often. If the test URL redirects, rejects certain requests, or limits traffic, compare it with a site you can reliably access in everyday use—but don’t change the node at the same time. If everyday apps work but the test doesn’t, record those as separate results. You don’t need to change all your routing rules just to make every item in the list show a passing result.

If one node consistently fails while other nodes in the group work, flag it separately and keep the original entry so the provider can check it. If it fails only on one network, record the test time and result for the same node and target on both networks. When reporting the issue, state whether you tested port connectivity or an actual request, and include the first relevant error. Don’t include the full subscription URL, authentication fields, or raw configuration. After latency returns to normal, retest in the original app. If latency is fine but downloads are slow, follow the slow speeds checks instead.

03 Subscription updates

V2Ray subscription errors and missing node updates

A subscription is a list of nodes that the client retrieves periodically. An update has three stages: requesting the subscription URL, parsing the response into nodes, and writing those nodes to the relevant group. If clicking Update does nothing, first work out which stage failed. In particular, distinguish a failed download from nodes that can’t connect after import: the former concerns the subscription server, while the latter concerns nodes in the list. They’re usually different addresses.

Check the selected group and subscription URL

Open the subscription group settings and confirm you’re updating the expected entry. If you recently changed subscriptions, make sure you haven’t ended up with duplicate groups that have the same name. Compare the URL with the original link from the provider, checking for trailing spaces, line breaks, or truncated parameters. Don’t remove query parameters yourself. Subscription URLs often contain access credentials: don’t paste them into public URL-checking tools, search boxes, or support tickets. Keep the old group if it still works; don’t delete it before testing.

If it’s unclear whether an update succeeded, note the existing entries and their group assignments first. Update only that group manually, then refresh the list after the operation finishes. Filters, sort order, and the selected group can all affect which entries are visible. If old and new nodes have the same names, compare details such as address, port, or transport settings instead of assuming the client retained old data based on the name. The provider may not have changed the published list this time, so an unchanged node count isn’t necessarily a problem.

Use the request result to rule out network and server issues

If the log says the subscription hostname can’t be resolved or the connection timed out, first confirm that ordinary network requests work on the device. Then check whether updates use a direct connection or the current proxy. If the current node is unavailable and the client offers a direct-update option, try it once only if direct access is allowed and the subscription URL is reachable that way. If the URL is only accessible through a proxy, retry using a node you’ve already confirmed works. Change only the update route each time; don’t also change the URL and DNS, or you won’t know what fixed it.

If the server asks for authentication or denies access, check your permissions and whether the subscription is still valid. If requests are being rate-limited, stop retrying and wait for the interval specified by the provider. For a server error, note the time and status, then check again later; there’s no need to clear local data. Even a successful response can contain a login page, maintenance page, or network sign-in page. Check the logs for parsing errors; a successful request doesn’t mean nodes were added.

Separate format problems from import results

Providers may offer different subscription formats for different clients. Check that you’re using the type specified for your client; don’t try to force a format by changing a file extension or deleting content. If some entries are skipped, check whether their protocols and transport options are supported by the current core. For the difference between desktop clients and cores, see the client comparison guide. For version compatibility issues, choose a package for your platform on the client downloads page. Back up groups and custom rules before upgrading.

After importing, return to the target group, set a new entry as the active node, and test it in the app you used before. If only some new entries connect, keep the conclusion that the update succeeded and troubleshoot those nodes separately. If entries went into the wrong group, restore the active node in the original group first, then sort out any duplicates. When reporting the issue, describe the sequence from clicking Update to the list changing. Include the request status and type of parsing error, but crop subscription URLs, QR codes, account identifiers, and node credentials from screenshots.

04 Performance comparisons

V2Ray slow speeds, sluggish browsing, and fluctuating downloads

First identify what’s slow: a long pause before anything responds is a delay; slow progress after a transfer begins is a throughput problem; speed that rises and stalls is a stability issue. Latency is the time taken by a test request, while throughput is the amount of data transferred per unit of time. A node that responds quickly won’t necessarily sustain fast downloads. Conversely, high latency doesn’t prevent some large file transfers from reaching high speeds. Don’t judge performance by the latency number alone.

Establish a repeatable baseline

Use the same device, app, download source, and roughly the same time of day. Pause cloud sync, system updates, and other high-bandwidth tasks, and note whether the device is on Wi-Fi or wired. Test the path that had the problem first, then compare with a direct connection to the same target if direct access is allowed. If you can’t connect directly to the same target, compare two nodes and note that you don’t have a direct baseline. Results from different download sites can’t prove a node is at fault; the source’s own speed limits can change the ranking.

For each run, wait until the speed stabilizes before recording it. Also note how quickly the first response arrives and whether transfers pause. Browsers usually show download speed in bytes per second, while network bandwidth is often shown in bits per second; for a rough comparison, one byte equals eight bits. If you’re testing page loads, use similar pages that aren’t cached, or use the browser’s network panel to distinguish waiting for a response from receiving content. Repeatedly refreshing the same cached page can make a cache hit look like a network improvement.

Choose the next comparison based on what you observe

If the first page load is slow but transfers are steady once they start, check whether every domain is slow on the first visit or only pages with lots of third-party resources. For the former, see the DNS section and compare lookup and connection times. For the latter, use the browser’s network panel to find the resource that took longest to respond, then check why it used a different outbound route. If several download sources all stay slow, keep the current mode, compare with a known-good node, and then test the same node on another network if appropriate.

Next comparisons for unusual speed test results
What you observeChange one thingWhat it points to
Only one download source is slowChange the download source; keep the nodeThe destination’s response or the route to that site
One node is slow across the boardChange the node; keep the download sourceThat node or the transfer path through it
Transfers stall intermittently on Wi-FiSwitch to wired; keep the nodeThe local Wi-Fi link or current access path

If speeds are slow only in the evening, keep the test target and node fixed and repeat the test during the day. If several paths slow down at the same time, check whether the local shared network is congested; that alone doesn’t prove the remote end is overloaded. If one path is slow at several times of day, keep using the path that works and record how to reproduce the issue on the other one. If you’re running a large batch of latency tests, stop them before testing downloads so the test requests don’t compete for the same connection resources.

Check local resources and connection mode

If performance drops only after switching to TUN, compare using the same app that can read the system proxy, and make sure both tests use the same node. During the test, check the core process’s CPU usage and whether the device is in a power-saving mode. High CPU usage that drops after a download stops means local overhead is worth investigating; it doesn’t prove the virtual network adapter is at fault. Don’t change transport settings, concurrency, and network mode all at once. Even if one change helps in a single run, restore the original setting and test again to distinguish a real improvement from a temporary fluctuation.

05 Domain name resolution

V2Ray DNS issues and domain name resolution failures

DNS translates website names into addresses a device can connect to. Although it may look like a single lookup, the operating system, browser, and client core can each perform their own queries. A browser’s “domain not found” error doesn’t mean the core can’t resolve it, and a successful system lookup doesn’t guarantee resolution will work through a proxy. First determine who needs to resolve which name: the node server’s hostname or the website you’re accessing through the node. Those names may be resolved in different places.

Check system lookups before changing DNS servers

On the current network and with the current settings, query a public test domain and the affected destination separately. Note the returned addresses, lookup failures, or timeouts. Use whichever command matches your environment: the first runs in Windows PowerShell; the second works in an environment with nslookup installed. These commands check lookups from the local device; they don’t simulate encrypted DNS in a browser or outbound DNS handling by the core. The example addresses may change, so don’t hardcode them in your configuration.

Resolve-DnsName example.com -Type A
nslookup -type=A example.com

If the test domain also times out, check whether the current network requires sign-in and whether the device can reach its configured DNS server. If the test domain works but the affected domain returns “not found,” check the spelling and network scope. Names on an organization’s internal network may resolve only on a specific network or through a specific DNS server. If an address is returned but the site still won’t open, continue by checking the connection and routing. Replacing a URL with its IP address may fail because of certificates or virtual hosting, so don’t treat that as proof of a DNS problem unless it helps diagnose one.

Check whether the browser or core is doing the lookup

Open the same public URL in another app that has no custom DNS settings. If only one browser reports an error, check whether it overrides system DNS settings and make a temporary comparison as required by the current network, then restore the original value. Different results between browsers may also come from different proxy settings, so confirm that both use the same mode. If the problem occurs only with TUN enabled, look in the logs for the first error related to local domains or DNS requests. Avoid changing DNS servers in both the system and client at the same time.

If the core reports a DNS failure for the node server’s hostname, first check the resolution path used to start the connection. Resolving the node hostname shouldn’t depend on a connection through that node before it has been established. If the error is for the destination, check whether the rule matches by domain name or needs to resolve the name to an address before matching. A successful lookup doesn’t prove the request used the intended outbound route. When checking the routing rule matching syntax, look at the rule that actually matched and its order before deciding whether to change DNS.

Account for caching and IPv4/IPv6 differences

After changing DNS settings, end the original test request and restart the affected app before testing the same destination again. The system, browser, and core may each cache successful or failed results; clearing the system cache doesn’t guarantee that the other layers are cleared. Different returned addresses aren’t necessarily a problem—sites may assign different endpoints based on the network. To confirm whether an old cache is involved, record the lookup times, results, and app behavior before and after the change rather than treating every address change as an error.

If some requests use IPv4 and others IPv6, check the domain’s A and AAAA records separately: A records correspond to IPv4 addresses, and AAAA records to IPv6 addresses. A record can exist even when the network path to that address family is unavailable; that isn’t a DNS server failing to respond. If the issue occurs on only one network, compare with another network you’re allowed to use instead of disabling IPv6 across the whole device as a first step. Finally, test in the app that’s actually affected and confirm that previously working sites are still accessible.

06 App traffic handling

v2rayN system proxy not working

A system proxy is a setting the operating system provides to apps as a connection option. Apps that honor it send requests to the specified proxy address. It doesn’t capture traffic at the network adapter level. An app may have its own proxy settings or use a separate network path entirely. If a browser works but one app doesn’t, first check whether that app follows the system settings. If all apps fail, check the listening port, active node, and whether the settings were applied by the system.

Compare the client toggle with the system’s actual settings

Turn off TUN, keep the active node you’ve already verified, and enable the system proxy in v2rayN. Then inspect the actual proxy configuration in the operating system settings. Confirm that the address and port match the client’s local listener. If the system uses an automatic configuration script, check how the script chooses direct or proxied connections; don’t mistake the script URL for a local proxy port. If settings are managed by an administrator, check the policy currently in effect instead of overriding it.

After applying the changes, send a new request from an app that follows the system proxy and compare it with the client logs from the same time. If the request appears but goes direct, the proxy entry is working and the next step is to check outbound selection. If there’s no log entry, check whether the log records access, where the app gets its proxy settings, and whether the local listener is running. Judging device-wide traffic handling from a single browser page can lead you to mistake cached content, bypass lists, or routing rules for a broken toggle.

Check platform differences and per-app settings

On Windows, distinguish the current user’s proxy settings from those used by some system services. A service running under another account may not read the settings for the signed-in desktop user. On macOS, check the network service currently in use; after switching between wired and wireless connections, verify the proxy settings for the new service. On Linux, the desktop environment, terminal, and apps may each read different settings, and existing terminal processes may not pick up environment variables set later. Identify which type of program is failing before choosing where to check its settings.

If an app allows you to configure a proxy separately, set it up there and run a comparison. The proxy type must match the type actually provided by the client; don’t use an HTTP endpoint as a SOCKS endpoint. If the client indicates that the same port supports both types, use the actual listener settings as the source of truth. Bypass lists, automatic detection, and proxy extensions in the app can also determine the route first. Check each setting separately and revert any ineffective change after each test so it doesn’t affect the next result.

Decide whether TUN is needed, then check settings are restored on exit

If a program has no proxy option and you need to capture its traffic, start by reading the v2rayN TUN mode guide. TUN creates a virtual network adapter that routes traffic through a virtual interface before rules determine where it goes. Before enabling it, note the original network settings, confirm that the device allows the required permissions, and check for existing virtual adapters, organizational network settings, or other traffic-capture software. Compare results in the same app; don’t combine enabling TUN and switching nodes into one test.

When finished, let the client undo the proxy settings it applied before exiting. If needed, confirm in system settings that the listener has stopped and the network configuration has been restored. If settings are left behind after every login or wake, check whether a startup app is rewriting them first and note the startup order. If you’re unsure of the original values, refer to existing device configuration records or ask the person responsible for the device. A successful repair means the original app uses the expected outbound route both when traffic handling is enabled and when it’s disabled—not merely that a toggle changes state.

07 Startup and shutdown

V2Ray client crashes, closes unexpectedly, or fails to start the core

First identify what exited. A window that disappears along with the client’s tray icon is different from a window that remains open while the log reports that the core couldn’t start. For the former, check installation, system compatibility, and user configuration first. For the latter, check listening ports, node settings, and core configuration. If the window is missing but the tray icon remains, the client may simply have started minimized. Try restoring it from the tray before launching a second instance.

Note what triggers the issue and keep the original data directory

Note whether the client exits on its first launch, started doing so after an update, or fails only when importing a subscription, switching nodes, or enabling TUN. Check the client, operating system architecture, and package type. On desktop, use the client downloads page to verify the v2rayN platform option; make sure you distinguish the Windows desktop edition from the classic WPF edition, as their runtime requirements differ. If the system reports a missing runtime component, follow the requirements for your chosen version and the original error message. Don’t copy runtime files from another device.

If the process is still running, exit normally first, then back up the client’s user data and any exportable settings. Choose a location you can read and write to; don’t put configuration containing node details in a shared folder. If the install directory isn’t writable, check where the client stores its data and what permissions it needs. Don’t use administrator privileges to hide a write failure for a standard user account. If the problem began after an upgrade, keep a copy of the old configuration and distinguish between the old and new data directories. Repeatedly overwriting one with the other can change settings that could otherwise be recovered.

Use system reports and core logs to narrow down the cause

If the window exits as soon as it opens, check the system report for an app error at the same time—for example, Event Viewer on Windows or a crash report on macOS. Note the affected process, error category, and time. If the log only reports an unexpected exit, don’t infer the exact cause from a module name alone. If security software blocks the app, review its alert and quarantine records. On a managed device or if you can’t verify the file’s source, stop and check its origin and your organization’s requirements. Don’t disable protection just to get the app to start.

If the interface stays open, find the first failure from the core’s current startup in the v2rayN log at the bottom. Treat a listener bind failure as a port conflict. If the configuration can’t be read, first undo the most recent setting, especially any custom rule you just added. If the core doesn’t recognize a field, check how the configuration generated by the client relates to the selected core. Don’t replace it wholesale with a configuration snippet for another setup. For the server list and log locations, see the v2rayN main window guide.

Reproduce with a minimal setup, then restore settings one at a time

After confirming you have a backup, use a separate test instance or data directory only if the client officially supports one, and test startup with an empty configuration without running a second instance that connects to the network. If there’s no supported isolation method, don’t move files whose purpose you don’t know. If the client starts with an empty configuration but not with the old one, first restore one known-good setting and test again, then restore subscriptions and custom rules in batches. Exit and relaunch after each batch until you find the smallest change that triggers the failure. Don’t restore the entire old directory just because the window opened once.

If startup still fails with an empty configuration, save the system report and a summary of the first error. Note the results of trying a different package, restarting the device, or checking permissions; there’s no need to repeat steps that didn’t help. After fixing the issue, verify normal startup, a real connection, normal shutdown, and restored network settings in that order. If the crash happens only when traffic capture is enabled, also check whether the system proxy points to a local port that’s no longer running after exit. Before sharing a report, remove usernames and paths, subscription URLs, authentication details, and unrelated access logs.

08 Android connections

Mobile troubleshooting for v2rayNG and v2flyNG

On Android, v2rayNG and v2flyNG usually capture traffic through the system VPN interface. A connection icon in the status bar means only that the interface is established; it doesn’t guarantee that the node or destination is reachable. Mobile devices add two common variables: switching between Wi-Fi and mobile data changes the underlying path, and the system may restrict background activity when the screen is locked. Note which action triggers the problem before deciding whether to check permissions or the node first.

Check authorization and which apps are covered

After tapping Connect, check which app is requesting access if Android displays a VPN permission prompt. If there’s no prompt and the connection fails, check the system VPN status for another VPN, work profile, or management policy using the current scope. Typically, only one VPN can be active at a time for the same user profile. Keep the existing configuration before switching, and follow device management rules. If Always-on VPN or blocking connections outside the VPN is enabled, first find out which app manages the policy. Don’t mistake policy restrictions for a broken mobile network.

If the client supports per-app traffic handling, check whether the list includes only selected apps or excludes selected apps; the same selection behaves differently in each mode. Keep the node unchanged, send a new request from an app expected to use the VPN, then compare it with one expected to bypass it. For apps in a work profile, follow the management policy that actually applies to that profile. If only one app has a problem, first check whether it’s included in the VPN’s scope. There’s no need to change the subscription yet.

Test screen locking and network switching separately

Stay on one network and retest in the same app with the screen on. Then lock the screen for roughly as long as it normally takes for the problem to occur. After unlocking, send a new request and check whether the client is still running. If the process was stopped, check battery optimization, background activity, and the manufacturer’s restrictions on auto-start. Change only what’s necessary for a client that needs to stay connected. Settings locations vary by device, so start from the app’s details page. If the process is still running but requests fail, check whether the VPN interface was re-established and review the active node’s logs.

When testing network changes, don’t test screen locking at the same time. First confirm the app works on Wi-Fi, then switch to mobile data, wait for the device to finish switching, and open a new page in the same app. Existing long-lived connections may need to reconnect; if an old page stalls but a new request works, that doesn’t mean the client has fully disconnected. If only mobile data fails, check that the client is allowed to use it and isn’t restricted by data saver settings. If only public Wi-Fi fails, complete the network sign-in in accordance with its rules.

Distinguish installation, core, and node compatibility issues

During installation, check the device architecture against the Android download options. If you know the device is arm64, choose the corresponding package; if not, check the supported architectures and universal package details. If an update won’t install over the existing app, check the system message: an architecture mismatch, signature mismatch, and insufficient installation permission each require a different fix. Don’t uninstall the old app just to try another package. First back up what you can export and confirm you can still access the original subscription and restore its settings before deciding whether to replace the installation.

v2rayNG uses the Xray core, while v2flyNG uses the v2fly core; they don’t support exactly the same configuration options. If only some entries fail after switching clients, check the subscription format and the protocols, transport, and security options used by those nodes. Don’t copy all the old settings over unchanged. Finally, repeat the original troubleshooting steps for screen-on use, screen lock, or network switching, and note the first action that fails. If the cause is still unclear, see the FAQ. Record the device OS, client, network type, and tests you’ve done. Don’t share screenshots containing credentials.