Skip to content Skip to sidebar Skip to footer

Error Running Django Local Server: `__init__() Got An Unexpected Keyword Argument 'tcp_nodelay'`

Everything was fine and always run without problem. Now I get the error when I load the app from the browser. Seems not something related to the code because I jumped on a oldest b

Solution 1:

I had the same error, and in my case that was an issue related to the cache settings in the settings.py file, please check that maybe you have something like this in the options key for your cache settings

CACHES = {
'default': {
    'BACKEND': '-----',
    'TIMEOUT': 30000,
    'KEY_PREFIX': CACHE_MIDDLEWARE_KEY_PREFIX,
    'OPTIONS': {'ketama': True, 'tcp_nodelay': True}

I removed the options and it worked for me

Post a Comment for "Error Running Django Local Server: `__init__() Got An Unexpected Keyword Argument 'tcp_nodelay'`"