For users who have received subscription or connection details from their service provider and need to check an entry in Shadowrocket. First identify the protocol, transport, and TLS settings, then verify the UUID and port. If an imported configuration connects unsuccessfully, narrow down the issue by connection stage instead of guessing at individual fields.
VMess vs. VLESS: Protocol Encryption and TLS Are Different
VMess and VLESS are proxy protocols that define how the client and server communicate. WebSocket is one way to carry protocol data, while TLS can secure the connection carrying that data. These are different layers, so two configurations using WebSocket + TLS can use different protocols—VMess or VLESS. The transport alone does not identify the protocol.
VMess: Understand AEAD Request Headers and Data Encryption
RecommendedVMess AEAD protects the request header. Data encryption is a separate setting, with values such as aes-128-gcm or chacha20-poly1305. If the configuration also uses TLS, TLS secures the connection between the client and the TLS endpoint; it is not another name for VMess data encryption.
Best for: Keep an existing VMess configuration that connects successfully. There’s no need to switch to VLESS just for testing.
VLESS: Read encryption and TLS Separately
A common VLESS setting is encryption=none. This means the VLESS protocol layer does not encrypt the data; it does not mean that TLS is disabled. If the parameters also specify TLS, leave it enabled and check the server name against the original values.
Best for: Import a VLESS configuration when your service provider has explicitly supplied one.
“Recommended” here means keeping a VMess configuration that has already been verified to work; it is not a protocol ranking. If the original entry uses VLESS, keep using VLESS. The two protocols use different request formats, and changing the type does not make the server support the other protocol.
How to Check UUIDs, Ports, and Transport Settings
Check the Original Entry Before Changing Settings
Go to Home and open the edit screen for the relevant entry. Check the type, address, port, and UUID first, then review transport and TLS. For an entry imported from a subscription, first fetch the correct configuration again rather than guessing at values in the existing entry.
- UUID: Copy it exactly as provided. It identifies or authenticates the client; it is not the server address or a TLS certificate. Even if two configurations use the same UUID, their protocol, transport, and server settings may differ. When pasting, check for spaces or line breaks at either end. Hide the full UUID before sharing a troubleshooting screenshot.
- Address and port: These determine where the client attempts to connect. Don’t change the port to
443just because TLS is enabled, or change the TLS server name to the same IP as the address. The original configuration may specify a separate domain name. - Transport: A value of
wsmeans WebSocket. If the original configuration specifies a different transport, don’t reuse WebSocket settings. A successful import only means the client read the configuration; it does not confirm that the server accepted those transport parameters.
WebSocket Host, Path, and TLS SNI
With WebSocket + TLS, the connection typically starts with a TLS handshake, followed by an HTTP request that upgrades the connection to WebSocket. Proxy protocol data is then exchanged over WebSocket. Host and SNI may contain the same domain name, but they are used at different stages. Check what each field does, not just whether the values match.
Check WebSocket + TLS by Connection Stage
TLS stage
SNItells the server which domain name the client expects during the TLS handshake. The server can use it to select a certificate or the appropriate service endpoint.- If the original parameters specify
SNI, enter that value exactly. For a certificate name error, check the expected server name and your device’s date and time.
WebSocket stage
Hostis the hostname in the HTTP request used for the WebSocket handshake. It can be used to select a virtual host.Pathis the path in the handshake request. For example, if the original value is/example, don’t change it to/or add a trailing slash.
The address, SNI, and Host may be the same or have different values. Check each against the original configuration; don’t enter one domain name in every field.
Imported Configuration Won’t Connect: Troubleshoot by Connection Stage
- Can’t connect to the address or port: In Home, make sure you’re testing the entry you just imported. Check the spelling of the address and the port. If the same entry times out on Wi-Fi but works on Cellular, note the network difference. Don’t test port reachability with a different UUID.
- TLS handshake or certificate error: Check whether the original configuration requires TLS, then verify
SNIand your device’s time. If the certificate name doesn’t match, don’t disable certificate verification to bypass the error. The correct server name and certificate must match. - WebSocket handshake failed: An HTTP
404in the log means an HTTP response was received, but it may not be the expected WebSocket endpoint. CheckHost,Path, and the port. A common successful HTTP/1.1 WebSocket handshake response is101 Switching Protocols; this still doesn’t mean proxy protocol authentication succeeded. - Transport is established, but proxy requests still fail: Check that VMess / VLESS is selected correctly, the UUID belongs to this entry, and protocol-specific fields match the original parameters. For VMess, also make sure automatic date and time are enabled on the device, since request authentication involves time.
If Home shows a latency value but only some websites fail to load, check routing and DNS separately. Review the current selection under Home → Global Routing. If you’re using Config, also check which configuration is active and which rule actually matches. A latency value only reflects that test; it doesn’t confirm that the target domain resolved or that the website request followed the same route.
Common Questions About VMess and VLESS Fields
Two entries have the same UUID. Can I change VMess directly to VLESS?
No. Don’t just change the protocol type. Keep the original entry and import the matching configuration provided by your service provider. Then select each entry separately in Home and test it. The same UUID does not mean the server accepts connections using both protocols.
If a VLESS configuration says encryption=none, should I turn off TLS too?
No. encryption=none describes only the VLESS protocol-layer setting. Go back to the entry’s edit screen and check TLS and SNI separately against the original configuration. If TLS is enabled there, leave it enabled.
The port is 443. Why is the handshake still failing?
The port number doesn’t prove that the endpoint is providing the correct TLS or WebSocket service. First check the address and port together. Then use the error to determine whether to check the certificate and SNI, or the WebSocket Host and Path.
The fields changed after I updated my subscription. Should I change them back manually?
First, make sure Home has the updated entry selected, not an older copy you saved manually. Test with the current parameters. If the new entry fails, note the protocol, transport, and exact error, then ask your service provider to confirm the current settings. Don’t copy the old entry’s UUID or Path into the new one.
Download Shadowrocket and View Setup Instructions
The iPhone / iPad app is a one-time $2.99 purchase on the App Store; check the App Store listing for system requirements. Mac (Apple silicon and Intel), Windows, Android, and Linux versions are free to download from this site.