-
Notifications
You must be signed in to change notification settings - Fork 97
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
Cannot request new token with auth code for the Digi-key API #556
Comments
Disable the sandbox |
Thank you for your return. But even disabling the sandbox in the config.txt I'm getting the same error. Here is the config.txt:
And the log while running
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue / Problem report
kicost --version
at terminal.The tool works well with the Mouser and Nexar API and the problem occurs when enabling Digi-Key API.
To isolate the problem, I created a fresh virtual env with Python 3.9.16 (same version as in KiCAD 7.0 installation) and installed just the
kicost-digikey-api-v3
.Steps to reproduce:
conda create -n fresh python=3.9.16
and activate itkicost-digikey-api-v3
following the procedure herekicost-digikey-api-v3
folder and run the test withpython test_production.py
SSL: CERTIFICATE_VERIFY_FAILED
so I installpython -m pip install pip-system-certs
to solvepython test_production.py
againhttps://localhost:8139/digikey_callback?code=XXXX&scope=
PS.:
Before clicking in the "Allow" buttom this two certificate files are saved in the
~./.cache/kicost/Digi-Key
folder.And after the error occurs the certificate files in the
~./.cache/kicost/Digi-Key
folder are gone.The file
config.txt
:The text was updated successfully, but these errors were encountered: