Resolving iOS Inaccessibility Issues with VergeCloud CDN

Resolving iOS Inaccessibility Issues with VergeCloud CDN

Ignore "upgrade" Header

If your website becomes inaccessible to iOS users (e.g., on iPhones or iPads) after integrating VergeCloud CDN, you can resolve the issue by adjusting the Page Rules in your VergeCloud User Panel. Follow the steps below:

  1. Access Page Rules: Go to the VergeCloud User Panel and navigate to the Page Rules section.
  2. Edit Rule: Click on "Edit Rule" for the relevant page rule(s).
  3. Ignore Sent Headers: Select the option to "Ignore sent Headers" from the main server.
  4. Enter "Upgrade": In the field provided, add the word Upgrade to ensure these headers are ignored.
  5. Apply Changes to All Relevant Rules: Repeat this step for all rules in the Page Rules section where you wish to ignore the Upgrade header.

Why Ignoring the "Upgrade" Header Resolves iOS Accessibility Issues

When your website is served through VergeCloud’s CDN, the Upgrade header typically allows or signals a switch to another protocol (e.g., WebSockets). However, some iOS devices (iPhones or iPads) can send this header (or encounter it in a response) in scenarios where no protocol switch is actually needed. If VergeCloud or your origin server does not handle the Upgrade header the way iOS expects, it can lead to connection failures or blank pages on iOS devices.

By ignoring the Upgrade header in VergeCloud’s Page Rules, you effectively disable the protocol-switch attempt for standard HTTP/HTTPS requests that do not truly require a protocol upgrade. This prevents iOS from attempting a switch that is unneeded or unsupported in the current context, thereby eliminating the conflict that renders the page inaccessible.

Key Reasons to Ignore the Upgrade Header for iOS

  • Unnecessary Protocol Switches: iOS Safari or apps might initiate or expect a protocol switch (e.g., HTTP to WebSocket) when it’s not actually needed. Ignoring the Upgrade header ensures the connection remains on the standard protocol without interruption.
  • Browser-Specific Handling: Different browsers handle headers differently. iOS Safari may be stricter or behave unexpectedly if the server responds in a way that conflicts with the Upgrade header, causing the page to fail to load.
  • Edge Cache Conflicts: If your CDN edge server receives Upgrade but isn’t configured to support it on the specific path, it might disrupt caching or cause requests to fail. Ignoring the header for normal web traffic avoids these cache misalignments.
  • Simplified HTTP Requests: Removing or ignoring an unneeded Upgrade header keeps HTTP transactions straightforward and consistent across all devices, reducing the risk of device-specific quirks or compatibility issues.

Practical Effect

Once you configure VergeCloud to ignore the Upgrade header for the affected URL paths, iOS devices no longer attempt an unsupported protocol transition on those paths. As a result, your website remains accessible and renders correctly for iPhone or iPad users.


    • Related Articles

    • Troubleshooting ISP Accessibility Issues with VergeCloud CDN.

      Resolving ISP Access Issues with VergeCloud If your website is inaccessible to users from specific Internet Service Providers (ISPs) while using VergeCloud's CDN, this guide provides solutions to common causes, such as firewall and rate-limiting ...
    • Resolving the Too Many Redirects Error in VergeCloud

      What is Too Many Redirects Error The "Too Many Redirects" error occurs when a browser repeatedly attempts to load your website but is caught in a redirection loop, unable to determine the correct destination. After 16 attempts, the browser displays ...
    • Troubleshooting SSL Errors on VergeCloud CDN.

      Troubleshooting SSL Errors on VergeCloud If users encounter SSL errors while visiting your website and you are utilizing VergeCloud’s content delivery network (CDN), the issue may stem from several potential causes. This guide outlines common factors ...
    • Troubleshooting Traffic Routing Through VergeCloud CDN

      After updating your NS records to utilize VergeCloud CDN, you might notice that the traffic isn’t yet routed through VergeCloud. This issue can arise due to two main reasons: Reason 1: Delay in Propagation of Changes Although you have updated your NS ...
    • Troubleshooting With Active CDN and Enabled Cloud Icon.

      Testing Main Server Connection With Active CDN When VergeCloud's CDN is enabled, the cloud icon in your user panel indicates that your website's main server address is masked behind VergeCloud's servers. Tools like ping and traceroute will return ...