Skip to content
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

Unable to run #32

Open
jaipsharma opened this issue Dec 24, 2020 · 1 comment
Open

Unable to run #32

jaipsharma opened this issue Dec 24, 2020 · 1 comment

Comments

@jaipsharma
Copy link

root@FA056080:/mnt/c/Users/jai.sharma/Desktop/warranty_check# python starter.py

[!] Fetching order numbers from Device42

[!] HTTP error. Message was: Invalid URL '/api/1.0/purchases/': No schema supplied. Perhaps you meant http:///api/1.0/purchases/?

[!] HTTP error. Message was: Invalid URL '/api/1.0/purchases/': No schema supplied. Perhaps you meant http:///api/1.0/purchases/?

[!] HTTP error. Message was: Invalid URL '/api/1.0/purchases/': No schema supplied. Perhaps you meant http:///api/1.0/purchases/?

[+] dell section

[!] Fetching hardware models from Device42

[!] HTTP error. Message was: Invalid URL '/api/1.0/hardwares/': No schema supplied. Perhaps you meant http:///api/1.0/hardwares/?

[!] HTTP error. Message was: Invalid URL '/api/1.0/hardwares/': No schema supplied. Perhaps you meant http:///api/1.0/hardwares/?

[!] HTTP error. Message was: Invalid URL '/api/1.0/hardwares/': No schema supplied. Perhaps you meant http:///api/1.0/hardwares/?

[!] Fetching devices from Device42 with offset=0

[!] HTTP error. Message was: Invalid URL '/api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=': No schema supplied. Perhaps you meant http:///api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=?

[!] HTTP error. Message was: Invalid URL '/api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=': No schema supplied. Perhaps you meant http:///api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=?

[!] HTTP error. Message was: Invalid URL '/api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=': No schema supplied. Perhaps you meant http:///api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=?

[!] Finished

@cscaglioned42
Copy link
Contributor

In the Files folder is the file warranty.cfg.example. Did you copy this to warranty.cfg and then set you Device42 url, username, and password in the [device42] section? You should also enable/disable any warranty checks you want to run in the [discovery] section. If running warranty checks for cisco, dell, hp, or meraki, you will need to set some credential information in the appropriate section (e.g. there is a [cisco] section).

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

No branches or pull requests

2 participants