Some users get Connection error during validation on on successful form submission

Permalink Browser Info Environment
Hello,

I have received messages from several users who say that they get the same error message during incomplete validation and after a successful submission. It is the Connection Error:

"You seem to have gone offline. Please verify your [sic]connexion." *

When the messages are sent, they seem to go through. I have only been able to duplicate the issue on my iPhone. I have a feeling it may be a connection timeout, but I don't know enough PHP to test for this.

The site is currently on an economy hosting plan with GoDaddy. This issue was not happening on the staging site, which was hosted on a VPS with a different company.

* Also Please Note: The word "connection" in that error message is spelled incorrectly.

Type: Ticket
Status: In Progress
vergedesign
View Replies:
mnakalay replied on at Permalink Reply
mnakalay
Hello,

That message appears when there's an error with status 0. That means the browser refuses to honor the request but the error is undefined. That could happen for several reasons:
- requesting a URL that is unreachable (typo, DNS issues, firewall, server having a configuration issue)
- the server was down or not responding
- the request is otherwise intercepted for instance by an ad blocker
- if the request is interrupted (browser navigates away from the page)

In any case it is always a network or server issue. A connection timeout could be a reason but the script is set to time out after a whole minute so it seems unlikely. Possible but unlikely.

I can't say that's the reason for sure, but in my experience, GoDaddy is not a reliable host.

As for the typo, thank you. My first language is French and that's the French spelling :) I'll correct it.
vergedesign replied on at Permalink Reply
vergedesign
mnakalay,

Thank you for your quick response and explanation. I assume it is an issue with the server reliability, and will suggest the client reconsider his hosting choice. I despise GoDaddy, but the client has the domain registered there, and wanted to keep it all under one roof.

One follow up question: Why would the error come up during validation? Isn't that done on the client side?

Thanks again,
Craig
mnakalay replied on at Permalink Reply
mnakalay
Just to be sure, if you see anything in the site's log that looks strange to you and could be related, please let me know what it is.
mnakalay replied on at Permalink Reply
mnakalay
I used to have my domain names registered at GoDaddy until I discovered pretty much everybody else was half-price and had a better interface :)

There is no validation on the client side, it's all server-side in PHP. In an express form, each input is an attribute. So validation takes place in the attribute's controller, server side. There is nothing on the front end, no input attribute of any kind, to allow client-side validation.
vergedesign replied on at Permalink Reply
vergedesign
Gotcha. Thanks for the reply.

Believe me, if it was my decision I would have this hosted on the server that was the furthest away from GoDaddy's facility.

concrete5 Environment Information

# Concrete Version
Core Version - 9.2.4
Version Installed - 9.2.4
Database Version - 20231207100748

# Hostname
p3plzcpnl503998.prod.phx3.secureserver.net

# Environment
production

# Database Information
Version: 10.6.14-MariaDB-cll-lve
SQL Mode: NO_ENGINE_SUBSTITUTION

# Concrete Packages
Ajax Forms - Express Edition Light (2.2.5)

# Concrete Overrides
mail/block_express_form_submission.php, themes/config.codekit3, themes/ck-icon.png, themes/factory/thumbnail.png, themes/factory/fonts/Sora/Sora-Bold.woff2, themes/factory/fonts/Sora/Sora-ExtraBold.woff2, themes/factory/fonts/Sora/Sora-ExtraLight.woff2, themes/factory/fonts/Sora/Sora-Thin.woff2, themes/factory/fonts/Sora/Sora-SemiBold.woff2, themes/factory/fonts/Sora/Sora-Light.woff2, themes/factory/fonts/Sora/Sora-Regular.woff2, themes/factory/fonts/Sora/Sora-Medium.woff2, themes/factory/fonts/Sora, themes/factory/fonts, themes/factory/elements/scripts.php, themes/factory/elements/header.php, themes/factory/elements/header_top.php, themes/factory/elements/footer_bottom.php, themes/factory/elements/contact_form.php, themes/factory/elements/footer.php, themes/factory/elements, themes/factory/home.php, themes/factory/page_theme.php, themes/factory/scss/_utils.scss, themes/factory/scss/_form.scss, themes/factory/scss/_branding.scss, themes/factory/scss/_footer.scss, themes/factory/scss/_init.scss, themes/factory/scss/_header.scss, themes/factory/scss/_responsive.scss, themes/factory/scss/_home.scss, themes/factory/scss/_shared.scss, themes/factory/scss/styles.scss, themes/factory/scss, themes/factory/js/mask.js, themes/factory/js/form.js, themes/factory/js/validate.js, themes/factory/js/scripts.js, themes/factory/js/waypoints.js, themes/factory/js, themes/factory/css/styles.css, themes/factory/css, themes/factory/full.php, themes/factory/default.php, themes/factory/page_forbidden.php, themes/factory/page_not_found.php, themes/factory/view.php, themes/factory/img/social-linkedin.svg, themes/factory/img/social-linkedin-dark.svg, themes/factory/img/home-bars.svg, themes/factory/img/logo.svg, themes/factory/img/footer-bars.svg, themes/factory/img/fav-icon.ico, themes/factory/img/home-logo-animation-old.svg, themes/factory/img/logo-mark-animation.svg, themes/factory/img/logo-mark-light.svg, themes/factory/img, themes/factory

# Concrete Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
litespeed

# PHP Version
8.2.13

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imagick, imap, inotify, intl, json, libxml, litespeed, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, random, readline, Reflection, session, shmop, SimpleXML, soap, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, Zend OPcache, zlib

# PHP Settings
max_execution_time - 30
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
max_multipart_body_parts - -1
memory_limit - 512M
post_max_size - 64M
upload_max_filesize - 64M
zend.exception_string_param_max_len - 15
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - no value
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
unserialize_max_depth - 4096
opcache.jit_bisect_limit - 0
opcache.jit_max_exit_counters - 8192
opcache.jit_max_loop_unrolls - 8
opcache.jit_max_polymorphic_calls - 2
opcache.jit_max_recursive_calls - 2
opcache.jit_max_recursive_returns - 2
opcache.jit_max_root_traces - 1024
opcache.jit_max_side_traces - 128
opcache.max_accelerated_files - 10000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.