Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Failed to update timestamp.json from all mirrors #199

Open
yashpatel001 opened this issue Aug 14, 2019 · 3 comments
Open

Failed to update timestamp.json from all mirrors #199

yashpatel001 opened this issue Aug 14, 2019 · 3 comments

Comments

@yashpatel001
Copy link

I am trying to run server and primary on one system and secondary on other system.
When I run ds.update_cycle() am getting the following error:

ds.update_cycle()
Submitting a request for a signed time to the Timeserver.
Time attestation validated. New time registered.

Now updating top-level metadata from the Director and Image Repositories
(timestamp, snapshot, root, targets)

[2019.08.14 10:23:07UTC] [primary] DEBUG [primary.py:primary_update_cycle():513]
Refreshing top level metadata from all repositories.

Verifying 'timestamp'. Requesting version: None
Update failed from 192.168.60.111:30401/democar/metadata/timestamp.json.
FormatError
Failed to update timestamp.json from all mirrors: {'192.168.60.111:30401/democar/metadata/timestamp.json': FormatError("'192.168.60.111:30401/democar/metadata/timestamp.json' specifies an unsupported URI scheme. Supported URI Schemes: ['http', 'https', 'file']",)}
Valid top-level metadata cannot be downloaded. Trying to update Root metadata in case keys have changed for other metadata roles.
Verifying 'root'. Requesting version: None
Update failed from 192.168.60.111:30401/democar/metadata/root.json.
FormatError
Failed to update root.json from all mirrors: {'192.168.60.111:30401/democar/metadata/root.json': FormatError("'192.168.60.111:30401/democar/metadata/root.json' specifies an unsupported URI scheme. Supported URI Schemes: ['http', 'https', 'file']",)}
Submitting the Primary's manifest to the Director.
Submission of Vehicle Manifest complete.

@lukpueh
Copy link
Collaborator

lukpueh commented Aug 14, 2019

Please try to fix the mirror URL as the error message suggests, that is change
192.168.60.111:30401 to e.g. http://192.168.60.111:30401

@RameshRex
Copy link

We are facing same issue/ error when Server is on PC and Primary is on a board.
But when Server and PC are on board , there is no issue . Everything is smooth.

### Failed to update timestamp.json from all mirrors: {'192.168.60.111:30401/democar/metadata/timestamp.json': FormatError("'192.168.60.111:30401/democar/metadata/timestamp.json' specifies an unsupported URI scheme. Supported URI Schemes: ['http', 'https', 'file']",)}

@JustinCappos
Copy link
Contributor

JustinCappos commented Aug 22, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants