# PydioSync - Token-based authentication failed, reload credentials?

**URL:** <https://forum.pydio.com/t/pydiosync-token-based-authentication-failed-reload-credentials/228>\
**Category:** Sync Client\
**Created:** [November 30, 2017, 1:01pm UTC](https://forum.pydio.com/t/pydiosync-token-based-authentication-failed-reload-credentials/228 "2017-11-30T13:01:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremybegn](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@jeremybegn](https://forum.pydio.com/u/jeremybegn)\
**Post date:** [November 30, 2017, 1:01pm UTC](https://forum.pydio.com/t/pydiosync-token-based-authentication-failed-reload-credentials/228/1 "2017-11-30T13:01:48Z")

</div>

Hello,

I have update my Pydio Server to new version (8.0.1 enterprise) but I have a issue when I want synchronize my local folder on my Mac to my Pydio Server.

I copy multiple folders and files to my local folder, the PydioSync work correctly. But when copy a specific file, PydioSync stop working and I this error : Token-based authentication failed, reload credentials?  
If delete this png file and reconnect PydioSync, the synchronization it’s ok.

Do you have a solution about my issue ?

For your information, my troubleshooting :

- Upload another png files : OK
- Change the name of my png file : NOK
- Compress my png file to zip : OK
- Upload another big file : OK
- Change folder of png file : NOK
- Upload my png file with Pydio UI Server : OK but PydioSync it’s NOK
- Clean Install : NOK
- Clean Install on another Mac : NOK
- Create new Workspace : NOK

Bellow pydio.log of Pydio Sync :

```
2017-11-30 13:16:01 INFO 140736209867712 MainThread logging : 1627 | info | Product Version Number 1.2.8 and Version Date October 18 2016

```

2017-11-30 13:16:01 INFO 140736209867712 MainThread logging : 1627 | info | -----------------------------------------------  
2017-11-30 13:16:01 INFO 140736209867712 MainThread logging : 1627 | info | Starting agent locally on [http://localhost:5556/](http://localhost:5556/)  
2017-11-30 13:16:01 INFO 140736209867712 MainThread logging : 1627 | info | ------------------------------------------------  
2017-11-30 13:16:01 INFO 140736209867712 MainThread logging : 1627 | info | Structure and Integrity of SQLite file /Users/jeremy/Library/Application Support/Pydio/URLofPydioServer-my-files/changes.sqlite is intact  
2017-11-30 13:16:01 INFO 140736209867712 MainThread logging : 1627 | info | Structure and Integrity of SQLite file /Users/jeremy/Library/Application Support/Pydio/URLofPydioServer-my-files/history.sqlite is intact  
2017-11-30 13:16:01 INFO 140736209867712 MainThread logging : 1627 | info | Structure and Integrity of SQLite file /Users/jeremy/Library/Application Support/Pydio/URLofPydioServer-my-files/pydio.sqlite is intact  
2017-11-30 13:16:02 INFO 123145555169280 Thread-1 logging : 1627 | info | Scanning for changes since last application launch  
2017-11-30 13:16:02 INFO 123145559375872 Thread-2 logging : 1627 | info | Starting permanent monitor  
2017-11-30 13:16:02 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading remote changes with sequence 276 for job id URLofPydioServer-my-files  
2017-11-30 13:16:04 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading local changes with sequence 372 for job id URLofPydioServer-my-files  
2017-11-30 13:16:04 INFO 123145555169280 Thread-1 logging : 1627 | info | No changes detected in URLofPydioServer-my-files  
2017-11-30 13:16:14 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading remote changes with sequence 276 for job id URLofPydioServer-my-files  
2017-11-30 13:16:17 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading local changes with sequence 372 for job id URLofPydioServer-my-files  
2017-11-30 13:16:17 INFO 123145555169280 Thread-1 logging : 1627 | info | No changes detected in URLofPydioServer-my-files  
2017-11-30 13:16:27 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading remote changes with sequence 276 for job id URLofPydioServer-my-files  
2017-11-30 13:16:28 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading local changes with sequence 372 for job id URLofPydioServer-my-files  
2017-11-30 13:16:28 INFO 123145555169280 Thread-1 logging : 1627 | info | No changes detected in URLofPydioServer-my-files  
2017-11-30 13:16:38 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading remote changes with sequence 276 for job id URLofPydioServer-my-files  
2017-11-30 13:16:39 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading local changes with sequence 372 for job id URLofPydioServer-my-files  
2017-11-30 13:16:39 INFO 123145555169280 Thread-1 logging : 1627 | info | Reducing changes for URLofPydioServer-my-files  
2017-11-30 13:16:43 ERROR 123145555169280 Thread-1 logging : 1601 | error | Second Auth Error, what is wrong?  
2017-11-30 13:16:43 ERROR 123145555169280 Thread-1 logging : 1601 | error | Unexpected Error: Token-based authentication failed, reload credentials?  
Traceback (most recent call last):  
File “/Users/charles/Desktop/TeamCity/buildAgent/work/a00136d723583ad3/build/pydio-agent/out01-PYZ.pyz/pydio.job.continous\_merger”, line 556, in run  
File “/Users/charles/Desktop/TeamCity/buildAgent/work/a00136d723583ad3/build/pydio-agent/out01-PYZ.pyz/pydio.job.change\_stores”, line 461, in detect\_unnecessary\_changes  
File “/Users/charles/Desktop/TeamCity/buildAgent/work/a00136d723583ad3/build/pydio-agent/out01-PYZ.pyz/pydio.job.change\_stores”, line 489, in filter\_w\_stat  
File “/Users/charles/Desktop/TeamCity/buildAgent/work/a00136d723583ad3/build/pydio-agent/out01-PYZ.pyz/pydio.sdkremote.remote”, line 531, in bulk\_stat  
File “/Users/charles/Desktop/TeamCity/buildAgent/work/a00136d723583ad3/build/pydio-agent/out01-PYZ.pyz/pydio.sdkremote.remote”, line 368, in perform\_request  
PydioSdkTokenAuthException: Token-based authentication failed, reload credentials?  
2017-11-30 13:17:44 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading remote changes with sequence 276 for job id URLofPydioServer-my-files  
2017-11-30 13:17:45 INFO 123145555169280 Thread-1 logging : 1627 | info | Loading local changes with sequence 372 for job id URLofPydioServer-my-files  
2017-11-30 13:17:45 INFO 123145555169280 Thread-1 logging : 1627 | info | Reducing changes for URLofPydioServer-my-files  
2017-11-30 13:17:47 ERROR 123145555169280 Thread-1 logging : 1601 | error | Second Auth Error, what is wrong?  
2017-11-30 13:17:47 ERROR 123145555169280 Thread-1 logging : 1601 | error | Unexpected Error: Token-based authentication failed, reload credentials?  
Traceback (most recent call last):  
File “/Users/charles/Desktop/TeamCity/buildAgent/work/a00136d723583ad3/build/pydio-agent/out01-PYZ.pyz/pydio.job.continous\_merger”, line 556, in run  
File “/Users/charles/Desktop/TeamCity/buildAgent/work/a00136d723583ad3/build/pydio-agent/out01-PYZ.pyz/pydio.job.change\_stores”, line 461, in detect\_unnecessary\_changes

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [December 2, 2017, 5:52pm UTC](https://forum.pydio.com/t/pydiosync-token-based-authentication-failed-reload-credentials/228/2 "2017-12-02T17:52:57Z")

</div>

hi,  
some basic questions :

- what was your previous version of pydio ?
- Did you check the various troubleshooting in the Admin Guide (see Documentation section), especially “Checking Sync & Checking API” ?  
-c

---

<div class="post-metadata">

**Author:** ![Klem](https://avatars.discourse-cdn.com/v4/letter/k/d2c977/32.png) [@Klem](https://forum.pydio.com/u/Klem)\
**Post date:** [September 4, 2018, 8:29am UTC](https://forum.pydio.com/t/pydiosync-token-based-authentication-failed-reload-credentials/228/3 "2018-09-04T08:29:23Z")

</div>

Hi,

I’ve same issue, and I know what’s wrong,

I disabled and enabled process, removed and add again and error still there

System - Windows Server 2012 R2 - Pydio Lastest release - Pydio sync Lastest release  
Process Pydio Sync - 7 folders - 5 working well - 2 not working (unexpected token bases failed …)  
Trouble : Sync Process start but block at the end of comparate token ?  
Log file behind

2018-09-04 03:43:53 ERROR 2040 Thread-27 logging : 1601 | error | Unexpected Error: Token-based authentication failed, reload credentials?  
Traceback (most recent call last):  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.job.continous\_merger”, line 556, in run  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.job.change\_stores”, line 462, in detect\_unnecessary\_changes  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.job.change\_stores”, line 490, in filter\_w\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 588, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 538, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 375, in perform\_request  
PydioSdkTokenAuthException: Token-based authentication failed, reload credentials?

2018-09-04 03:44:38 INFO 1704 Thread-25 logging : 1627 | info | Reducing changes for .aoc.tel-my-files-6  
2018-09-04 03:44:39 ERROR 1704 Thread-25 logging : 1601 | error | (2) Token problem https://.aoc.tel/pydio/api/ my-files  
Traceback (most recent call last):  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 372, in perform\_request  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 315, in perform\_with\_tokens  
PydioSdkTokenAuthException: Token-based authentication failed, reload credentials?  
2018-09-04 03:44:39 ERROR 1704 Thread-25 logging : 1601 | error | Unexpected Error: Token-based authentication failed, reload credentials?  
Traceback (most recent call last):  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.job.continous\_merger”, line 556, in run  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.job.change\_stores”, line 462, in detect\_unnecessary\_changes  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.job.change\_stores”, line 490, in filter\_w\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 538, in bulk\_stat  
File “C:\BuildAgent\work\a00136d723583ad3\build\pydio-agent\out01-PYZ.pyz\pydio.sdkremote.remote”, line 375, in perform\_request  
PydioSdkTokenAuthException: Token-based authentication failed, reload credentials?

Where can I check token and double check thats correlate ?

Many Thanks Charles

---

<div class="post-metadata">

**Author:** ![Klem](https://avatars.discourse-cdn.com/v4/letter/k/d2c977/32.png) [@Klem](https://forum.pydio.com/u/Klem)\
**Post date:** [September 27, 2018, 2:10pm UTC](https://forum.pydio.com/t/pydiosync-token-based-authentication-failed-reload-credentials/228/4 "2018-09-27T14:10:35Z")

</div>

Hi Charles,

Do you have other ways to fix it ? Thx ?

---

<div class="post-metadata">

**Author:** ![Zriel88](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/zriel88/32/673_2.png) [@Zriel88](https://forum.pydio.com/u/Zriel88)\
**Post date:** [May 9, 2019, 5:12am UTC](https://forum.pydio.com/t/pydiosync-token-based-authentication-failed-reload-credentials/228/5 "2019-05-09T05:12:49Z")

</div>

Hi team, It happens to for me  
Pydio version 8.2.3  
Pydio sync version 10 January 2019

It is a fresh install in docker, no traces of anything previous

---

<div class="post-metadata">

**Author:** ![alancontino](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/alancontino/32/608_2.png) [@alancontino](https://forum.pydio.com/u/alancontino)\
**Post date:** [December 18, 2019, 3:00pm UTC](https://forum.pydio.com/t/pydiosync-token-based-authentication-failed-reload-credentials/228/6 "2019-12-18T15:00:01Z")

</div>

I’m having the same issue. There are actually no files yet in Pydio (on any workspace). It is a fresh install, latest version of Pydio and new install of Pydio Sync on Mac OS Catalina.

Once a sync is created in the Mac App and I “fire the rocket” - the result is this Error while connecting to remote server (Token-based authentication failed, reload credentials?)
