-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: AzureIoTEdge - not working in Ubuntu 20.04 image #18209
Comments
We have the same issue. |
We encountered the same issue in our own images. The root cause was the installation of docker or docker-compose via pip. During the installation the urllib3 library was updated to 2.0.0, which is not compatible with the request lib version that came with the OS. Following this stackoverflow answer, reinstalling the request library via pip successfully downgraded the urllib3. Again, we had this in our own images on gitlab. Hope that still helps you! Edit: Found the actual reason. urllib3 just released version 2.0.0, so any package that depends on e.g. >=1.25.0 will now install 2.0.0 and break the request library. See also. |
@jdiazfernandez your fix worked, fantastic! |
This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days |
Task name
AzureIoTEdge@2
Task version
2.*
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
ubuntu-20.04
Task log
Relevant log output
Aditional info
The text was updated successfully, but these errors were encountered: