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
peeringdb sync on clean database django.core.exceptions.ValidationError: {'route_server': [u'Enter a valid URL.']}
#38
Comments
https://peeringdb.com/net/22021 Potentially this one that breaks it... 🤔 @Mikeburke14 Question) When did you begin experiencing the current synchronization errors? (I.e. Last successful run (timestamp) + first run when the error began (timestamp)) |
@netravnen I don't have the exact timing sorry but it was first noticed Wednesday morning |
@Mikeburke14 ... tried fresh sync of data using MariaDB on Debian 10.3 using Python3.7... No issues detected 🤔 |
Hi @netravnen It's interesting that it works for you but not me so I did some more testing over the weekend. First thing I did was to make sure django was up to date:
No change but I enabled debug mode which also pointed to net/22021 being the cause of the issue so I think something has changed with django itself. So I then swapped to use python3 to see if that is any better
This error seems pretty deep inside django Thanks |
Hi, I created a simple docker file to test with the following and get the same error above
So this is using a local sqlite database and my testing was towards a MySQL server so it seems unrelated to my environment Full Output from build
|
Hi @netravnen just wondering if you have any ideas about what we can do to solve this? |
Seems like a bug +1 to devote some time to fix, plus some additional testing to try and catch this case @peeringdb/pc agreed? |
+1 |
2 similar comments
+1 |
+1 |
I got around this bad field by add
At this point, I feel like I should remove the |
what version of '10-20Tbps' is a valid value once you upgrade to >= 2.1.0 Although it's odd that the server is letting you sync with an older version, it's supposed to block
|
Upgraded peeringdb and django_peeringdb to latest in pip and things look ok, thanks! |
Good deal, thanks! Sorry for not going through the issues before the last release to notify. |
Hi,
Currently, the sync is failing with
django.core.exceptions.ValidationError: {'route_server': [u'Enter a valid URL.']}
We normally run the following set of commands before sync to clear the database as we find ourselves hitting sync issues fairly often and this normally fixes it most of the time
However today we are getting the following trace on sync
So it seems that someone has an invalid route server URL that is causing the sync validation to fail.
The text was updated successfully, but these errors were encountered: