microg / microg/GmsCore

Cannot sign into Google Photos

Open
#512 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I have installed microG core and Services Framework.
I try to sign into Google Photos using my account.
I get a dialog saying "No connection. Couldn't connect to the server"
The logcat output looks something like this:

03-29 13:36:27.169 W/AccountManagerService( 1877): caller uid 10187 is different than the authenticator's uid
03-29 13:36:27.179 E/HttpOperation(15890): [getphotossettings] Unexpected exception
03-29 13:36:27.179 E/HttpOperation(15890): java.io.IOException: Cannot obtain authentication token
03-29 13:36:27.179 E/HttpOperation(15890):      at uho.a(PG:84)
03-29 13:36:27.179 E/HttpOperation(15890):      at ugo.o(PG:543)
03-29 13:36:27.179 E/HttpOperation(15890):      at ugj.a(PG:1402)
03-29 13:36:27.179 E/HttpOperation(15890):      at ugo.i(PG:154)
03-29 13:36:27.179 E/HttpOperation(15890):      at jvz.a(PG:103)
03-29 13:36:27.179 E/HttpOperation(15890):      at tae.e(PG:307)
03-29 13:36:27.179 E/HttpOperation(15890):      at tau.run(PG:1321)
03-29 13:36:27.179 E/HttpOperation(15890):      at wey.run(PG:93)
03-29 13:36:27.179 E/HttpOperation(15890):      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
03-29 13:36:27.179 E/HttpOperation(15890):      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
03-29 13:36:27.179 E/HttpOperation(15890):      at java.lang.Thread.run(Thread.java:856)
03-29 13:36:27.179 E/HttpOperation(15890): Caused by: java.lang.SecurityException: caller uid 10187 is different than the authenticator's uid
03-29 13:36:27.179 E/HttpOperation(15890):      at android.os.Parcel.readException(Parcel.java:1327)
03-29 13:36:27.179 E/HttpOperation(15890):      at android.os.Parcel.readException(Parcel.java:1281)
03-29 13:36:27.179 E/HttpOperation(15890):      at qhd.a(Unknown Source)
03-29 13:36:27.179 E/HttpOperation(15890):      at pco.a(Unknown Source)
03-29 13:36:27.179 E/HttpOperation(15890):      at pcn.a(Unknown Source)
03-29 13:36:27.179 E/HttpOperation(15890):      at pcn.b(Unknown Source)
03-29 13:36:27.179 E/HttpOperation(15890):      at pcm.c(Unknown Source)
03-29 13:36:27.179 E/HttpOperation(15890):      at pcm.a(Unknown Source)
03-29 13:36:27.179 E/HttpOperation(15890):      at rss.a(PG:22)
03-29 13:36:27.179 E/HttpOperation(15890):      at uhk.a(PG:3067)
03-29 13:36:27.179 E/HttpOperation(15890):      at uhk.a(PG:1104)
03-29 13:36:27.179 E/HttpOperation(15890):      at uho.a(PG:80)
03-29 13:36:27.179 E/HttpOperation(15890):      ... 10 more

Any idea on how to fix this? Thanks!

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

The issue names no repository files, tests, or entry points. Start by reproducing the Google Photos sign-in failure with the listed microG components and inspect the AccountManagerService and HttpOperation log messages; done means identifying and fixing the authenticator UID mismatch so sign-in succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.