iPhone app cannot connect over cellular data, but works on home Wi-Fi

Open
#351 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
mobile, networking

Research direction

Start by tracing how the iPhone app discovers the Windows computer and establishes its connection, then compare that path with the web interface's successful cellular connection. The issue does not name files, tests, or the cause, so locate the relevant mobile connection entry points first. Done when the app can connect over cellular data and the existing Wi-Fi connection still works.

Written by the indexing model from the issue text.

Description

bug
What happened

The dusk bot iPhone app connects to my Windows PC over home Wi-Fi and displays my bots.

Over cellular data, it shows the computer as online but cannot connect. During troubleshooting, the web interface opened successfully over cellular data: I could sign in and see the bots.

Steps to reproduce
  1. Keep dusk bot running on the Windows PC.
  2. Connect the iPhone to the same home Wi-Fi.
  3. Open the iPhone app and connect successfully.
  4. Disable Wi-Fi and switch to cellular data.
  5. Try connecting to the same computer again.

Expected: The app connects over cellular data.

Actual: The computer appears online, but the app cannot connect.

Already tried:

  • Re-pairing the phone.
  • Removing and reinstalling the iPhone app.
  • Restarting the iPhone.
  • Restarting dusk bot on Windows.

The problem persisted. The underlying cause has not been identified.

IMG_0859
Version

0.2.31

Platform

macOS

Engine

No response

Logs or screenshots

Dominant language
TypeScript
Stars
277
Forks
27
Avg merge
15h 30m
Merged PRs (30d)
147

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DuskBotAI/duskbot

All issues in DuskBotAI/duskbot

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.