In local, it check for cookies sometimes. I will do a workaround.
You try server version meanwhile.
I have written nsepython’s server version which you can find here - [Update] NSEPython not working in AWS, Google Cloud and WebServers - #24 by dexter
Let me know if problem persists.