Nextcloud Talk Android v13.0.0 does not authenticate

[details=“Support intro”]

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Recently installed fresh NC24 on Ubuntu 20.04LTS.
Nextcloud Talk Android app v13 does not authenticate after the app redirects to the web login.
After successful login and pressing the ‘Grant Access’ button, the NC Talk app loops back to the Server address entry screen.
The loop persists with no NC Talk authentication.

Verified this issue does not happen on the iOS version of NC Talk.

Also, how do we create a Talk token for the alternate login?

Under top right menu you can create a one time password.

24 is not stable or even formally released yet, so you should file a bug report on the project github repo if the issue is not already listed.

Hi @jazap87,
You are missing almost all of the required support template. Please fill this form out and edit into your post.

This will give us the technical info and logs needed to help you! Thanks.

My mistake…we’re running nc 23.0.4

No worries. Please fill out the entire support forum if you need further support.

Nextcloud version: 23.0.4
Operating system and version: Ubuntu 20.04.4 LTS
Apache or nginx version: Apache/2.4.41 (Ubuntu)
PHP version (eg, 7.4): PHP 8.0.18 (cli)

The issue you are facing: Nextcloud Talk Android app loops back to server login page after Logging in and Granting Access on the Nextcloud login redirect.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:
Open Talk Android app
Enter NC server address
Login to server
Grant access
Talk app returns to enter server address screen
above steps loop

The output of your Nextcloud log in Admin > Logging:

There is no log entry associated with the Talk app login loop failure

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => 'ocpbkfz0h2dq',
  'passwordsalt' => '-',
  'secret' => '-',
  'trusted_domains' => 
  array (
    0 => '',
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => '',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '-',
  'dbpassword' => '-',
  'installed' => true,
  'mail_from_address' => 'nextcloud',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '',
  'mail_smtpport' => '465',
  'mail_smtpname' => '',
  'mail_smtppassword' => '-',
  'mail_smtpsecure' => 'ssl',
  'default_phone_region' => 'US',
  'overwriteprotocol' => 'https',
  'memcache.local' => '\\OC\Memcache\APCu',
  'memcache.locking' => '\\OC\Memcache\Redis',
  'filelocking.enabled' => 'true',
  'redis' => 
  array (
  'host' => '/var/run/redis/redis.sock',
  'port' => 0,
  'timeout' => 0.0,
  'cache_path' => '/var/www/html/data/usercache',

The output of your Apache/nginx/system log in /var/log/____:

[Fri May 06 16:19:42.184969 2022] [access_compat:error] [pid 48279] [client] AH01797: client denied by server configuration: /var/www/html/data/.ocdata


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

 6282 "-" "Oneplus KB2007 (Nextcloud Talk)" - - [06/May/2022:17:42:16 +0000] "GET /core/js/login/grant.js?v=6359b390-10 HTTP/1.1" 200 1510 "-" "Oneplus KB2007 (Nextcloud Talk)" - - [06/May/2022:17:42:16 +0000] "GET /index.php/core/js/oc.js?v=6359b390 HTTP/1.1" 200 4974 "-" "Oneplus KB2007 (Nextcloud Talk)" - - [06/May/2022:17:42:16 +0000] "GET /index.php/apps/accessibility/css/user-08b8eb2e72388b311669a64b604f9727 HTTP/1.1" 200 2757 "-" "Oneplus KB2007 (Nextcloud Talk)" - - [06/May/2022:17:42:16 +0000] "GET /cron.php HTTP/1.1" 200 991 "-" "Oneplus KB2007 (Nextcloud Talk)" - jazap87 [06/May/2022:17:42:16 +0000] "PROPFIND /remote.php/dav/files/jazap87/ HTTP/1.1" 207 6475 "-" "Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22000 ClientArchitecture: x86_64 OsArchitecture: x86_64)" - - [06/May/2022:17:42:17 +0000] "POST /index.php/login/flow HTTP/1.1" 303 987 "-" "Oneplus KB2007 (Nextcloud Talk)" - - [06/May/2022:17:42:07 +0000] "GET /index.php/apps/logreader/poll?lastReqId=r4Z9Rl1PoDlRk52M1vJ3 HTTP/1.1" 200 887 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
1 Like

Did you try this @jazap87?
You can also try logging in via LoginFlow / SSO on your Android device. It should authenticate your Talk app against the regular Nextcloud app if you are already using that to connect to your server from your phone.

Are you sure your Nextcloud Talk app for Android is the latest release?
Are you sure there are no other errors available within nextcloud.log?

Check against the github repositories. You can use your error as generic keywords to see if an issue or solution is already available. If you are sure this is an issue you cannot find, I’d file a bug report to the Nextcloud Talk Android repo.

I think I figured it out.
Recently had to re-install nextcloud from scratch.
I imported my user data and created new accounts for all other users.
Just created a second account for myself under a different email address and logged in to Nextcloud Talk Android no issue.
I was able to login to the iOS Talk with old account, but did not log into iOS Talk with the old account prior the the nc re-install.