The protocol type is determined by the server configuration, not a speed setting in the app: choose VMess if your service provider specifies VMess, and VLESS if they specify VLESS. The examples below use Home and Add Server on iPhone and iPad to show how to distinguish protocol, transport, and TLS when entering settings manually or checking an imported profile, and how to narrow down possible causes based on the error. Get nodes and subscriptions from your service provider.
VMess vs. VLESS: Protocol Encryption and TLS Are Different
VMess and VLESS each use their own request format. In common deployments, both use a UUID to identify the user, but matching UUIDs do not make their requests interchangeable. Even if the address, port, and UUID stay the same, changing only the protocol type does not change the connection method. The connection will still fail if the server has no corresponding entry configured for that protocol.
Enter the protocol type specified by the server
RecommendedCheck protocol, transport, and security as three separate settings. After importing a profile, keep the combination provided by your service provider rather than replacing it with client defaults.
Best for: Initial setup, moving to another device, or restoring a previously working configuration
VMess Protocol-Level Encryption
VMess supports payload encryption at the protocol layer; this setting is separate from whether TLS is enabled on the outer connection. If your service provider specifies a VMess encryption option or Alter ID, enter it as provided rather than inferring it from the port.
Best for: Entries identified as VMess by your service provider
The encryption setting in common VLESS configurations
Common configurations use encryption=none, meaning that protocol-level payload encryption for this field is disabled. It does not mean that outer TLS is disabled. Check your service provider’s security-layer settings separately to determine whether to use TLS.
Best for: Entries identified as VLESS by your service provider, when checking encryption and TLS
Outer TLS protects the connection between the client and the TLS peer; it does not replace HTTPS used by an application. Conversely, being able to open an HTTPS website in a browser does not prove that TLS from Shadowrocket to the proxy entry is configured correctly. Assess these two connections separately.
Transport, Port 443, and Name Fields
Both VMess and VLESS can use WebSocket. WebSocket determines how a request reaches the entry; TLS determines whether that connection is established using TLS. Neither is determined automatically by the protocol name. Switching from TCP to WebSocket changes the request sent by the client, even if the port remains 443. The server must have a matching entry to accept it.
- Address and Port: Specify where to connect first. Enter the port provided by your service provider. Port 443 does not mean TLS is enabled, nor does it indicate whether the protocol is VMess or VLESS.
- SNI: Specifies the server name during the TLS handshake. If Address is an IP address, you may still need to enter the domain specified by your service provider. If the certificate name does not match, first check the domain against the actual entry. Do not continue by disabling certificate verification.
- Host and Path: When using WebSocket, Host is the hostname in the HTTP request, and Path is the request path. If your service provider specifies
/connect, do not change it to/or add a trailing slash. Host and SNI may be the same or may need to be entered separately, depending on the server configuration.
If you get a certificate error, check the TLS peer name first
If the error specifically indicates a certificate name mismatch, compare Address and SNI with the details provided by your service provider instead of changing the UUID or WebSocket Path. Certificate verification happens during the TLS handshake; protocol authentication and the WebSocket path cannot fix it.
Check or enter protocol settings in Home
- Identify the entry before checking its type. If you have an imported subscription, find the relevant entry in Home and open its editor to check Type. Do not infer the protocol from a region, route name, or custom label in the notes. If you only have individual settings from your service provider, open Add Server from Home and select the corresponding VMess or VLESS type.
- Enter the connection address, port, and UUID. Get these values from your service provider. When copying them, make sure you have not included line breaks, spaces, or explanatory text. Even if two entries share the same Address and Port, do not reuse a UUID unless your service provider confirms it applies to both.
- Check protocol-specific fields. If the VMess settings include Alter ID, keep the value as provided; it is not a VLESS option. If the VLESS settings include Flow, enter the value specified by your service provider along with the corresponding transport and security settings. Do not treat it as a speed boost. If a required field is not specified, confirm whether to leave it blank or use a particular value.
- Match the transport and security settings, then test. Choose the transport based on the settings provided, check whether TLS is enabled, and enter SNI, Host, and Path where applicable. After saving, return to Home, select the entry, connect, and test with a destination that previously worked. When troubleshooting manually, keep the original entry so that test settings do not overwrite a working configuration.
When reporting an issue to your service provider, note the Type, transport, TLS status, exact error message, and time it occurred. Before sharing screenshots publicly, obscure the UUID, subscription URL, and any access tokens they contain. See the protocol reference for field descriptions; use the values provided by your service provider.
Connection fails or feels slow: troubleshoot by symptom
An enabled connection switch only indicates that Shadowrocket’s connection environment has been established on your device. It does not confirm that the selected proxy entry completed its handshake or show which policy is being used for a particular website. For a meaningful comparison, keep the device, network, destination, and Global Routing unchanged. Change only one setting at a time so you can tell what affected the result.
Why can’t I connect to the same address after changing VMess to VLESS?
Open the entry in Home, restore the original Type, and check the transport and TLS settings that were changed with it. If your service provider gave you a separate VLESS configuration, import it as a separate entry and test it with its own address, port, and UUID.
Why does WebSocket fail even though the port is reachable?
A reachable port only means the connection reached a listening entry; it does not mean the WebSocket handshake succeeded. If the log shows an HTTP 404 during the WebSocket handshake, first check that Path exactly matches the original value, then verify Host and the entry address. If the settings match, ask your service provider to check the entry routing and include the status code and time it occurred.
Why do some websites still fail when the connection is on?
First check Global Routing in Home. If Config is selected, open Config and check that the active configuration has a policy matching the destination. If Direct is selected, traffic to that destination will not go through the selected proxy. To test whether this proxy can reach the same destination, you can briefly switch to Proxy for comparison, then restore the original setting when you are done.
Why does authentication fail on another device with the same VMess entry?
First check that the UUID and protocol fields are complete on the new device, and verify that its system date and time are correct. VMess authentication uses time information. On iPhone or iPad, go to Settings → General → Date & Time and check Set Automatically, then try again. If only one device has the issue, do not change the server settings first.
Does a lower VLESS latency mean faster downloads?
Not necessarily. A single latency result does not measure sustained throughput. On the same device and network, and at roughly the same time, use two confirmed working configurations to access the same file. Record the time to completion and whether the transfer was interrupted. If the server entries or routes also differ, the results compare only how those two configurations performed at that time; they cannot be attributed to the protocol name.