Closed gleizerowicz closed 1 year ago
Yes, started receiving same error ...
I'm having the same problem
Same issue, is there a way that we can force to use a previous version of the tool?
We have the same issue. Is this something that is being fixed anytime soon?
Hello @ppluijten
Download url is no more valid , please check .
Has anyone come up with an alternative solution. We cannot go 10 days without hearing anything from anyone.
Having the same issue:
Downloading: https://download.microsoft.com/download/E/1/4/E143A339-41AE-4E0E-9CC8-911C0B663478/dt-1.7.zip (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr (node:6768) Warning: Use Cipheriv for counter mode of aes-256-ctr
**ERR:Unexpected HTTP response: 404
Any one have solution for that facing the same issue.
ERR:Unexpected HTTP response: 404
Huge problem for us as well. Critical step in our pipeline is now failing as a result.
I've been trying to figure out what happened to dt-1.7.zip and if there is a newer version available.
It might be this:
Azure DocumentDB Data Migration Tool
Current release is 1.8.3, though I don't see a 1.7 version so I can't be certain it's the same.
If it is the same tool and it's compatible, perhaps we could make a fork of this vsts-tasks git project and use the newest version of the exe in that fork.
In the meantime what we can do is to do it from cli until they fix it.
Create a powershell task to download dt. Invoke-WebRequest -Uri "https://github.com/Azure/azure-documentdb-datamigrationtool/releases/download/1.8.3/azure-documentdb-datamigrationtool-1.8.3.zip" -OutFile "$(System.DefaultWorkingDirectory)\dt-1.8.3.zip" Unzip it steps:
@Arodriguez81, thanks for the idea. This worked for me.
- task: PowerShell@2
displayName: 'Download azure-documentdb-datamigrationtool'
inputs:
targetType: 'inline'
script: |
Invoke-WebRequest -Uri "https://github.com/Azure/azure-documentdb-datamigrationtool/releases/download/1.8.3/azure-documentdb-datamigrationtool-1.8.3.zip" -OutFile "$(System.DefaultWorkingDirectory)\dt-1.8.3.zip"
- task: ExtractFiles@1
displayName: 'Extract files '
inputs:
archiveFilePatterns: '$(System.DefaultWorkingDirectory)/dt-1.8.3.zip'
destinationFolder: '$(System.DefaultWorkingDirectory)/dt-1.8.3'
- task: PowerShell@2
displayName: 'Download azure-documentdb-datamigrationtool'
inputs:
targetType: 'inline'
script: |
cd $(System.DefaultWorkingDirectory)/dt-1.8.3/azure-documentdb-datamigrationtool-1.8.3
./dt.exe /s:JsonFile /s.Files:"$(System.DefaultWorkingDirectory)/myJsonFiles/*.json" /t:DocumentDB /t.ConnectionString:"{ConnectionString}" /t.Collection:{collectionName} /t.UpdateExisting
Azure Cosmos DB Migration Tool Task fails with "Error: Parameter 'toolPath' cannot be null or empty."
running the release with System.Debug = true shows a 404 error when trying download the migration tool zip file: 2022-10-16T19:40:53.8790422Z ##[debug]Failed to download "5c797be1-b723-4cfc-889f-1267e3ae51c3" from "https://download.microsoft.com/download/E/1/4/E143A339-41AE-4E0E-9CC8-911C0B663478/dt-1.7.zip". Code(404) Message(Not Found) 2022-10-16T19:40:53.8793291Z ERR:Unexpected HTTP response: 404 2022-10-16T19:40:53.8793872Z ##[debug]task result: Failed