microg / microg/GmsCore

MicroG Settings falsely reports missing network connection on sign in

Open
#1,861 8 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Describe the bug
When trying to sign in with a google account, a missing network connection is reported although the device is connected to a Wi-Fi network and other services work. Precisely, it says "You don't have a network connection"

To Reproduce
Steps to reproduce the behavior:

  1. Open microG Settings
  2. Tap "Add Google Account"
  3. Tap "Sign in"
  4. Error message appears

Expected behavior
The login process continues and the account gets added to the device

Screenshots
Screenshot_20230102-135710_microG Services Core

System
Android Version: 12
Custom ROM: LineageOS for microG 19.1

Additional context
Device: OnePlus 6
Self-Check: all ticked

Might be similar to this: https://calyxos.org/news/2021/04/16/microg-google-login/

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the flow in microG Settings: Add Google Account, then Sign in, on the reported Android 12 and LineageOS for microG setup. Trace the sign-in network handling and determine why a connected device receives the missing-network message; done means the login continues and the account is added.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.