Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

Credential Server Response 400 error while enabling sync #114

Open
alexwykoff opened this issue Jun 19, 2017 · 8 comments
Open

Credential Server Response 400 error while enabling sync #114

alexwykoff opened this issue Jun 19, 2017 · 8 comments

Comments

@alexwykoff
Copy link

  • Did you search for similar issues before submitting this one?
    Yes

  • Describe the issue you encountered:
    Credential Server Response 400 error while enabling sync reported by user on community https://community.brave.com/t/i-cant-turn-on-brave-sync/3242/

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 10

  • Brave Version (revision SHA):
    Brave: 0.15.310
    rev: 6b5e4e2d300959848e0e848817aa40385447f2eb
    Muon: 3.0.201

  • Steps to reproduce:

    1. Enable sync on a new profile
    2. Shows Credentail server response 400
  • Screenshot if needed:
    https://imgur.com/a/G5Mz2

  • Any related issues:

@srirambv
Copy link

Found the STR for this.

  1. Enable Sync
  2. Select I have existing code
  3. Enter the secret code
  4. Disconnect from net while the sync setup is in progress (before the name and details show up
  5. Shows connection failed try again
  6. Click on the Try again button shows with Credential Server Response 400 message

@alexwykoff
Copy link
Author

alexwykoff commented Aug 2, 2017

Easier STR : Use the latest 0.18.x builds.
With a clean profile, try to enable sync.

@jamesray1
Copy link

jamesray1 commented Aug 18, 2017

I have dual boot Ubuntu 16.04.3 LTS and Windows 10.

The time on Windows was UTC time, while the Linux time was the local time (while actually the hardware time was UTC, set by Linux). After making Linux use local time (the simplest option described here with entering the following command in the terminal and rebooting Windows, the time was correct, and Brave was automatically synced, although the device name did not show on my laptop (instead it showed the device name as registered on Linux Brave).
timedatectl set-local-rtc 1

@srirambv
Copy link

srirambv commented Sep 1, 2017

@rwhipple08
Copy link

I am having the exact same issue on a newer release:

Did you search for similar issues before submitting this one?
Yes

Describe the issue you encountered:
Credential Server Response 400 error while enabling sync reported by user on community https://community.brave.com/t/i-cant-turn-on-brave-sync/3242/

Platform (Win7, 8, 10? macOS? Linux distro?):
Windows 10

Brave Version (revision SHA):
Brave: 0.18.23
rev: 36ae2ec
Muon: 4.3.10

Steps to reproduce:

Enable sync on a new profile
Shows Credential server response 400

Any related issues:
I notice jamesray1's comment about time zones. I am in Arizona which doesn't participate in DST; not sure if this is an issue since my BIOS and and Windows time are on local time, but I figure it may have a role.

I have also tried reinstalling from scratch after the "nuclear option" of deleting all data from users\appdata\Local and \Roaming

I had the idea to try enabling Sync on my Windows machine and then using those code words on my Mac (reversing the direction of primary/secondary devices) but I got the same error message when I tried to create new words on the Windows machine.

@srirambv
Copy link

@darvids0n
Copy link

As per #175, after encountering this issue I manually synced date/time on my Windows laptop (which was 14 minutes ahead of real time). After the date/time was correct, retrying Sync worked perfectly and now my device is syncing data.

@el-gallo-azul
Copy link

+1
Ubuntu 16.04, Android 7.1.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants