Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to register device for the last 4 days #1290

Open
wibrt opened this issue Mar 20, 2020 · 10 comments
Open

Unable to register device for the last 4 days #1290

wibrt opened this issue Mar 20, 2020 · 10 comments
Assignees
Labels
waiting Waiting for information

Comments

@wibrt
Copy link

wibrt commented Mar 20, 2020

Expected behavior

After installing Kontalk from f-droid,
putting in a nickname and the phonenr,
and receiving the pin code;
then putting this verification code in the form,
and clicking on verify,
i should be registered

Actual behavior

after clicking on verify,
the process just keeps on turning (orange bar on the top),
shortly after i get called usually twice containing the spoken message
with the same verification code,
the code is correct,
but the registration times out (after an hour or so)/fails? without an error message

Other

i had used kontalk before,
with the same device, but it got repaired (hardware),
so i had to reinstall all the software
so the same phone nr exists in the db probably.

Environment

Kontalk version: F-droid

Android version: FP2 open os (android 7)

Device model: FP2

Logs

If you have a system log related to the issue please send it via email at
devteam (at) kontalk.org. Please do not attach it or publish it anywhere because
it may contain sensitive information. If you have root access, you can use Catlog
(available on both Google Play and F-Droid) to produce it. Alternatively, if you
have the Android SDK installed on your computer, connect your device and execute:

adb logcat -d | grep `adb shell ps | grep org.kontalk | cut -c10-15` >kontalk-log.txt

I have done this, but unfortunately it is an empty file.

@daniele-athome daniele-athome self-assigned this Mar 20, 2020
@daniele-athome daniele-athome added the question Further information is requested label Mar 20, 2020
@daniele-athome
Copy link
Member

Thanks for reporting. Would you mind sending your phone number to our devteam email? (devteam at kontalk.org) I'd like to make further analysis on the server. Thank you!

@daniele-athome
Copy link
Member

daniele-athome commented Mar 20, 2020

Also, you can use the debug log feature inside Kontalk preferences (in maintenance settings):

  • activate debug log
  • retry registration
  • use "send debug log"

No need to use adb this way. Thanks!

@daniele-athome
Copy link
Member

@wibrt we got your number on the email and checking on the server. A log would be even better to fully analyze this. Thanks!

@wibrt
Copy link
Author

wibrt commented Mar 21, 2020

ok, i'm running this right now,
the first two attempts i had the wrong network, just ignore,
now it just keeps on running;
when it finishes i will sent the debug log

@daniele-athome daniele-athome added waiting Waiting for information and removed question Further information is requested labels Mar 21, 2020
@wibrt
Copy link
Author

wibrt commented Mar 21, 2020 via email

@wibrt
Copy link
Author

wibrt commented Mar 21, 2020

part of the log:

I/NumberValidation: setting controls ENABLED
2020-03-21 13:45:34 W/SyncAdapter: doing sync with no server?
2020-03-21 13:45:34 E/SyncAdapter: unable to normalize number: #31# - skipping
2020-03-21 13:45:34 E/SyncAdapter: Error type: NOT_A_NUMBER. The string supplied did not seem to be a phone number.
at com.google.i18n.phonenumbers.PhoneNumberUtil.parseHelper(PhoneNumberUtil.java:3175)
at com.google.i18n.phonenumbers.PhoneNumberUtil.parse(PhoneNumberUtil.java:3055)
at com.google.i18n.phonenumbers.PhoneNumberUtil.parse(PhoneNumberUtil.java:3045)
at org.kontalk.service.registration.RegistrationService.fixNumber(RegistrationService.java:1577)
at org.kontalk.service.registration.RegistrationService.fixNumber(RegistrationService.java:1557)
at org.kontalk.provider.UsersProvider.resync(UsersProvider.java:653)
at org.kontalk.provider.UsersProvider.update(UsersProvider.java:498)
at android.content.ContentProvider$Transport.update(ContentProvider.java:358)
at android.content.ContentResolver.update(ContentResolver.java:1412)
at org.kontalk.provider.UsersProvider.resync(UsersProvider.java:1121)
at org.kontalk.ui.CodeValidation$UsersResyncTask.doInBackground(CodeValidation.java:438)
at org.kontalk.ui.CodeValidation$UsersResyncTask.doInBackground(CodeValidation.java:434)
at android.os.AsyncTask$2.call(AsyncTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)

2020-03-21 13:45:34 W/SyncAdapter: doing sync with no server?
2020-03-21 13:45:34 W/SyncAdapter: doing sync with no server?
2020-03-21 13:45:34 W/SyncAdapter: doing sync with no server?

@daniele-athome
Copy link
Member

That's not your number. That is Kontalk scanning your contacts, but we'll get to that.
I need the full log of what is happening during registration. Please do not publish it here as it might contain private information. Use our devteam email.

P.S. if you replied directly to the GitHub notifications the attachments are stripped out before the reply is published to GitHub.

@wibrt
Copy link
Author

wibrt commented Mar 23, 2020

can i sent that personally, the log, i don't want it to published here publicly,
as it contains my phone nr (i have sent mails before to devteam)

@daniele-athome
Copy link
Member

Are you sure? I can't see any email in our devteam inbox (I checked in spam too). If you use the "Send debug log" setting in Kontalk it will prepare an email with the recipient already set.

@wibrt
Copy link
Author

wibrt commented Mar 23, 2020

the log has been sent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting Waiting for information
Projects
None yet
Development

No branches or pull requests

2 participants