SShortSingh.
Back to feed

Why apps report no internet on connected Wi-Fi: captive portals and dead uplinks

0
·8 views

Developers are receiving bug reports from hotels, airports, trains and offices where phones show full Wi-Fi signal but apps fail to load or report no internet. The article attributes this to captive portals, which intercept traffic until a user logs in, to Wi-Fi networks with a dead uplink to the internet, and to networks that block specific domains or ports. Such conditions often cause HTTPS certificate errors or HTML responses where JSON is expected, which can look like a server fault to users. The piece advises checking Android's NET_CAPABILITY_VALIDATED flag and iOS path status, classifying network-related failures before displaying them, and checking Content-Type before decoding responses.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Korean Teacher Builds Free Browser Game to Train Reading Speed With AI Help

A Korean after-school academy teacher with no professional development background created Moojung, a free, ad-free browser RPG that trains reading speed while checking comprehension. Built over a few weeks with Claude Code as a pair programmer, the game measures words per minute on each page and requires a quick comprehension check before progress counts. Players advance through 20 chapters and 14 drills, earning martial arts belts, with targets set as multiples of their own starting speed. The project uses plain HTML, CSS and JavaScript, is available in English and Korean, and is hosted on Cloudflare Pages with PWA and Android options. The creator aims for about 1.5 to 2 times starting speed with comprehension maintained, and is seeking feedback on early confusion.

0
ProgrammingDEV Community ·

Wan's 45-Second Generation Time Is Not a 45-Second Clip Length

A DEV Community analysis argues that the widely reported 45-second figure for Alibaba's expected Wan model refers to how long a clip takes to generate, not the length of the video itself. The clips are still expected to be capped at 2 to 30 seconds, matching Wan 3.0. The author distinguishes generation speed, which determines how many attempts a creator can make per hour, from clip length, which drives cost and what can be delivered in one file. Cost scales with duration and resolution, and the article compares per-clip pricing across Wan 3.0 and Seedance 2.5. It concludes that faster generation shifts bottlenecks toward prompt writing, review, and queue behaviour.

0
ProgrammingDEV Community ·

Browser-Based AI Signature Generator Creates Realistic Strokes Without Uploads

A developer has built an AI signature generator that runs entirely in the browser, avoiding both server uploads and cursive-font shortcuts. It uses a small recurrent neural network based on Alex Graves' handwriting-synthesis model to produce pen movements, which are then refined by connecting letters, adding flourishes, and varying each sample. Output is rendered as vector SVG or PNG, so names and signatures never leave the user's device. The design also keeps hosting costs flat, since inference of roughly 0.35 seconds per signature runs on each user's hardware. The model supports Latin characters only, so diacritics are stripped from names before generation.

0
ProgrammingDEV Community ·

Does */5 in crontab include minute 0? Yes, and here's why

A common question is whether the */5 cron expression runs at the top of the hour, and the answer is yes: it expands to minutes 0, 5, 10 through 55, so minute 0 is included. The step syntax begins at zero across the full minute range, meaning "every five minutes" does not start at :05. The article contrasts this with 5-59/5, which starts at 5 and skips minute 0 unless that exclusion is intended. Schedules are evaluated against the host's clock and timezone, not when the entry was saved, and cron has no seconds field. The same rule applies to */10, */15, and */30, each of which includes minute 0, and a simple test line can confirm behavior on the target system.