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
django.core.signing.BadSignature error on listing Git repositories #445
Comments
|
@crupib Did you happen to change your |
Some other person was working on this. I did not, but he says he didn't you know how that goes. |
Is there a way around this? |
If you can (if you know what the secret_key was, you can set it back. Otherwise, I can get you a command to remove the offending entry in the nbshell. |
I don't know this is what was in the config file: |
He may have run the init command, not sure? |
Note that if this issue was caused by a change to |
It looks like the SECRET key can either be the NAUTOBOT_SECRET _KEY environment variable, or the long string you have listed next to it. If the ENV variable doesn't match that string listed, you could backup your existing variable and then try changing it to match. |
Also, I would not publicize the SECRET_KEY. |
Okay I guess it is good that we uncovered and issue. |
Kinda lost here. |
From what I am seeing, the NAUTOBOT_SECRET_KEY is optional, it is there to assist with deployments (12 Factor style). If I am unable to provide an nbshell command, it looks like we will have to drop into the sql shell instead. I will have something in a few minutes for you. |
OK should I go ahead and run the nautobot-server init. I will save the file. |
Or should I wait for you? |
Use Then you can use Finally, you can use This should allow you access back to the Git Repositories page. Then just add your repository back in. |
nautobot-server dbshell nautobot=> select * from extras_repository; |
It was extras_gitrepository |
Not failing now. Going to have developer add new git repository. |
Sorry, that is what I get for not copying and pasting. |
LOL no problem |
As soon as the developer adds his git repository I will close this out. |
Thanks Stephen. |
Thanks Stephen. |
Environment
Steps to Reproduce
extras/git-repositories/
pageExpected Behavior
Would give me the ability to launch the refresh
Observed Behavior
The text was updated successfully, but these errors were encountered: