-
I receive a 413 "Payload To Large" error when attempting a bulk import of a file (CSV or JSON format) DNS records into NetBox. While this may be related to the server's http proxy settings, does the DNS plugin have a default maximum payload size value? If so can the the maximum payload size value be increased in the Django configuration file?
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @KE8SOJ, that's not a NetBox DNS issue (nor NetBox, by the way), not even Django - it's your web server/reverse proxy config. Are you using Apache or Nginx? |
Beta Was this translation helpful? Give feedback.
-
You can find instructitions for properly configuring Apache or Nginx here (and in about a million other places, if you know what to look for :-)) |
Beta Was this translation helpful? Give feedback.
-
Update: There actually is a limit in Django, with a config setting in NetBox, which is 2.5 MB (2621440 bytes) by default. It was introduced in NetBox version 3.6. See the Django documentation You can increase |
Beta Was this translation helpful? Give feedback.
-
Moved this to a discussion to keep it in focus and because it's not an issue after all. |
Beta Was this translation helpful? Give feedback.
Update: There actually is a limit in Django, with a config setting in NetBox, which is 2.5 MB (2621440 bytes) by default. It was introduced in NetBox version 3.6. See the Django documentation
You can increase
DATA_UPLOAD_MAX_MEMORY_SIZE
inconfiguration.py
and restart thenetbox
andnetbox-rq
services. Setting it toNone
disables the check.