<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hari</title>
    <description>The latest articles on DEV Community by Hari (@hari_ai).</description>
    <link>https://dev.to/hari_ai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4113879%2Fa86efbc0-a016-4a86-b460-c67e2abcfca6.jpg</url>
      <title>DEV Community: Hari</title>
      <link>https://dev.to/hari_ai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hari_ai"/>
    <language>en</language>
    <item>
      <title>iOS app intermittently fails with “An SSL error has occurred” for some users — AWS backend with only an A record</title>
      <dc:creator>Hari</dc:creator>
      <pubDate>Mon, 07 Sep 2026 12:02:15 +0000</pubDate>
      <link>https://dev.to/hari_ai/ios-app-intermittently-fails-with-an-ssl-error-has-occurred-for-some-users-aws-backend-with-4a4e</link>
      <guid>https://dev.to/hari_ai/ios-app-intermittently-fails-with-an-ssl-error-has-occurred-for-some-users-aws-backend-with-4a4e</guid>
      <description>&lt;p&gt;I have an iOS app where most users can access the app normally, but a small number of users are unable to enter the app or load its content.&lt;/p&gt;

&lt;p&gt;For affected users, the iOS logs show errors such as:&lt;/p&gt;

&lt;p&gt;An SSL error has occurred, and a secure connection to the server cannot be established.&lt;br&gt;
or:&lt;/p&gt;

&lt;p&gt;A TLS error caused the secure connection to fail.&lt;br&gt;
The failure happens during the initial API requests, particularly the guest-login request. Because guest login fails, the app cannot proceed to fetch the home-screen data.&lt;/p&gt;

&lt;p&gt;Backend setup&lt;br&gt;
Backend is hosted on AWS&lt;/p&gt;

&lt;p&gt;API is served over HTTPS&lt;/p&gt;

&lt;p&gt;Domain uses an A record&lt;/p&gt;

&lt;p&gt;There is currently no AAAA record&lt;/p&gt;

&lt;p&gt;TLS certificate is valid&lt;/p&gt;

&lt;p&gt;Most users can successfully connect to the API&lt;/p&gt;

&lt;p&gt;The issue appears to be intermittent and affects only some users/devices&lt;/p&gt;

&lt;p&gt;Could this be caused by something other than my AWS server itself, such as:&lt;/p&gt;

&lt;p&gt;ISP/carrier routing issues&lt;/p&gt;

&lt;p&gt;TLS handshake problems&lt;/p&gt;

&lt;p&gt;IPv4 routing&lt;/p&gt;

&lt;p&gt;DNS resolution&lt;/p&gt;

&lt;p&gt;AWS networking&lt;/p&gt;

&lt;p&gt;TLS/certificate-chain configuration&lt;/p&gt;

&lt;p&gt;iOS URLSession behavior&lt;/p&gt;

&lt;p&gt;Network path differences between regions&lt;/p&gt;

&lt;p&gt;Some IP reputation/blocking issue&lt;/p&gt;

&lt;p&gt;Since I only have an A record and no AAAA record, could IPv6/NAT64 still be relevant to this problem?&lt;/p&gt;

&lt;p&gt;What would be the best way to diagnose this systematically?&lt;/p&gt;

&lt;p&gt;I am particularly interested in knowing how to determine whether the TLS connection is failing before the request reaches AWS, versus the request reaching AWS and failing somewhere in Nginx/backend.&lt;/p&gt;

&lt;p&gt;Any suggestions for tools, tests, or logs that would help isolate this would be appreciated.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>debugging</category>
      <category>ios</category>
      <category>networking</category>
    </item>
  </channel>
</rss>
