Bonjour,
Lors de la récupération des transferts effectués depuis un client waarp-transfer, Waarp Manager log l’erreur suivante pour chaque transfert (2 dans mon cas):
2024/11/12 16:54:54 [INFO ] jobs: (d0e41a920b) Updating server transfer1 history
2024/11/12 16:54:54 [ERROR ] jobs: (d0e41a920b) An error occurred while saving the transfer with id 0 from transfer1: Validation errors: map[DestinationHostId:[DestinationHostId cannot be empty string] FileName:[FileName cannot be empty string] OriginHostId:[OriginHostId cannot be empty string] ruleName:[RuleName cannot be empty string]]
2024/11/12 16:54:54 [ERROR ] jobs: (d0e41a920b) An error occurred while saving the transfer with id 0 from transfer1: Validation errors: map[DestinationHostId:[DestinationHostId cannot be empty string] FileName:[FileName cannot be empty string] OriginHostId:[OriginHostId cannot be empty string] ruleName:[RuleName cannot be empty string]]
2024/11/12 16:54:54 [INFO ] jobs: (d0e41a920b) History for server transfer1 updated
Ces transferts sont pourtant bien récupérables directement via l’api rest de waarp transfer :
GET /api/transfers
{
"transfers": [
{
"id": 1,
"remoteID": "1856281270942695424",
"rule": "transfer1ToTransfer2",
"isServer": false,
"isSend": true,
"client": "",
"requested": "transfer2",
"requester": "transfer1",
"protocol": "r66",
"srcFilename": "test",
"destFilename": "test",
"localFilepath": "c:/projects/waarp/waarp-transfer-1/data/out/test",
"remoteFilepath": "test",
"filesize": -1,
"start": "2024-11-12T11:21:57.662554+01:00",
"stop": null,
"status": "CANCELLED",
"step": "StepSetup",
"errorCode": "TeBadAuthentication",
"errorMsg": "server authentication failed",
"trueFilepath": "c:/projects/waarp/waarp-transfer-1/data/out/test",
"sourcePath": "c:/projects/waarp/waarp-transfer-1/data/out/test",
"destPath": "test",
"startDate": "2024-11-12T11:21:57.662554+01:00"
},
{
"id": 2,
"remoteID": "1856338959227944960",
"rule": "transfer1ToTransfer2",
"isServer": false,
"isSend": true,
"client": "",
"requested": "transfer2",
"requester": "transfer1",
"protocol": "r66",
"srcFilename": "test",
"destFilename": "test",
"localFilepath": "c:/projects/waarp/waarp-transfer-1/data/out/test",
"remoteFilepath": "test",
"filesize": 376860,
"start": "2024-11-12T15:11:11.580007+01:00",
"stop": "2024-11-12T15:11:12.910581+01:00",
"status": "DONE",
"step": "StepNone",
"progress": 376860,
"errorCode": "TeOk",
"trueFilepath": "c:/projects/waarp/waarp-transfer-1/data/out/test",
"sourcePath": "c:/projects/waarp/waarp-transfer-1/data/out/test",
"destPath": "test",
"startDate": "2024-11-12T15:11:11.580007+01:00"
}
]
}
Voici ma configuration :
Waarp Manager v 0.18.2 win10
Waarp Transfer v 0.4.0 win10
Pouvez-vous m’éclairer sur cette erreur ?
Merci d’avance