Troubleshooting
Here you can find information about common problems users encounter and how to solve them.
Unauthorized to push files to DagsHub¶
Users might get an error when trying to push files to DagsHub while pulling files might work.
Error
ERROR: unexpected error - 401 Client Error: Unauthorized for url: http://<remote_url>
Root cause 1: You don’t have write permissions for the repository. Either ask the maintainers to add you as a collaborator or fork the repository, make the changes, and create a pull request to the original project.
Root cause 2: You didn't configure your DVC remote authentication. You can either set DagsHub as the remote Storage or use an S3 compatible as the remote storage.
Git failing to push files¶
When trying to push files using Git, the operation fails.
Error
fatal: could not read Username for 'https://dagshub.com': No such device or address error: failed to push some refs to 'https://dagshub.com/<path>.git'
Root cause 1: You don’t have your Git credentials for DagsHub set on the machine you’re working on. Please use the following command structure to push files:
git push https://{user}:{token}@dagshub.com/{repo-owner}/{repo-name}
DVC failing to push files¶
When trying to push files using DVC, the operation fails.
Error
ERROR: failed to push data to the cloud - '503 Service Temporarily Unavailable'
Error
ERROR: failed to push data to the cloud - 1 files failed to upload
Error
ERROR: failed to transfer 'md5: ...' - 400, message='Bad Request', url=URL('http...')
Root cause 1: There are a few versions of DVC with bugs that could cause these errors. The safe versions of DVC are earlier than 2.3.0, 2.8.1, or 2.18.0 and later. The latest version is preferred. Upgrade to the latest DVC version by:
pip3 install --upgrade dvc
To downgrade or install a specific version, run:
pip3 install --upgrade dvc==2.8.1
Error loading Label Studio project¶
When trying to load a Label Studio project from DagsHub Annotations, it fails with the following error:
Error
Runtime error. Load failed
Root cause 1: Your user tier doesn't have access to DagsHub Annotations. Community tier users can only use DagsHub annotations for open source projects. You can either make the repository public or upgrade your user tier.