PydioSync - Token-based authentication failed, reload credentials?


#1

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/
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.


#2

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

#3

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


#4

Hi Charles,

Do you have other ways to fix it ? Thx ?