Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

App won't try to reconnect if offline when started #431

@jluttine

Description

@jluttine

Description
If there's no internet connection when launching Whatsapp-for-Linux, it won't try to reconnect and will stay offline indefinitely.

The window shows the following error message:

Error resolving “web.whatsapp.com”: Name or service not known

To Reproduce
Steps to reproduce the behavior:

  1. Disconnect your internet connection
  2. Start whatsapp-for-linux
  3. Window shows Error resolving “web.whatsapp.com”: Name or service not known
  4. Connect to internet
  5. Whatsapp-for-linux won't try to reconnect but stays offline indefinitely.

Expected behavior

It'd be nice if whatsapp-for-linux tried to reload the page every, say, 10-30 seconds if it received that error.

Why does this matter at all? Especially when auto-starting applications when logging in to the desktop environment, the internet connection might not be yet connected when the app already starts. This is just one example.

Screenshots

Environment

  • Distro: NixOS
  • Package: whatsapp-for-linux in nixpkgs
  • Desktop Environment or Window Manager [e.g. Gnome, i3wm]: i3wm

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions