Hi, I’ve got prodigy starting behind an authenticating proxy, and everything appears to be working correctly. However, everytime it tries to autosave, or a user tries to manually save by hitting the ‘save’ button, an ‘Error invalidSave’ dialog appears and then disappears with no further explanation.
There’s also no log output – or any output really, besides a cute emoji on startup – from the prodigy process that might help diagnose the error. Follows is the entire session output from starting the process, to when the error appears. The werkzeug log messages are from from the wrapper flask app on port 8080 I have that’s enforcing authentication and proxying requests to the prodigy process listening on localhost:80801.
I have confirmed the sqlite db is being recreated created by prodigy if I delete it prior to start up.
Any suggestions?
ubuntu@ip-172-31-95-135:/var/riverdrop-prodigy/current$ /bin/bash -c "(PRODIGY_HOME=/var/riverdrop-prodigy/prodigy python3 /var/riverdrop-prodigy/current/app.py 2>&1)"
process id of parent is: 30513
INFO:werkzeug: * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
Using 1 labels: FURNITURE_PIP
Added dataset page_categories to database SQLite.
✨ Starting the web server at http://localhost:8081 ...
Open the app in your browser and start annotating!
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:31] "GET / HTTP/1.1" 401 -
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:31] "GET /bundle.js HTTP/1.1" 401 -
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:31] "GET /fonts/lato-regular.woff2 HTTP/1.1" 401 -
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:31] "GET /fonts/robotocondensed-bold.woff2 HTTP/1.1" 401 -
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:31] "GET /fonts/lato-bold.woff2 HTTP/1.1" 401 -
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:31] "GET /project HTTP/1.1" 401 -
INFO:__main__:Proxying get_questions (<class 'str'>) to http://127.0.0.1:8081/get_questions (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:33] "GET /get_questions HTTP/1.1" 200 -
INFO:__main__:Proxying fonts/robotocondensed-bold.woff2 (<class 'str'>) to http://127.0.0.1:8081/fonts/robotocondensed-bold.woff2 (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:33] "GET /fonts/robotocondensed-bold.woff2 HTTP/1.1" 200 -
INFO:__main__:Proxying fonts/lato-regular.woff2 (<class 'str'>) to http://127.0.0.1:8081/fonts/lato-regular.woff2 (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:33] "GET /fonts/lato-regular.woff2 HTTP/1.1" 200 -
INFO:__main__:Proxying fonts/lato-bold.woff2 (<class 'str'>) to http://127.0.0.1:8081/fonts/lato-bold.woff2 (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:33] "GET /fonts/lato-bold.woff2 HTTP/1.1" 200 -
INFO:__main__:Proxying bundle.js (<class 'str'>) to http://127.0.0.1:8081/bundle.js (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:33] "GET /bundle.js HTTP/1.1" 200 -
INFO:__main__:Proxying (<class 'str'>) to http://127.0.0.1:8081/ (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:34] "GET / HTTP/1.1" 200 -
INFO:__main__:Proxying project (<class 'str'>) to http://127.0.0.1:8081/project (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:34] "GET /project HTTP/1.1" 200 -
INFO:__main__:Proxying bundle.js (<class 'str'>) to http://127.0.0.1:8081/bundle.js (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:34] "GET /bundle.js HTTP/1.1" 200 -
INFO:__main__:Proxying project (<class 'str'>) to http://127.0.0.1:8081/project (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:34] "GET /project HTTP/1.1" 200 -
INFO:__main__:Proxying fonts/robotocondensed-bold.woff2 (<class 'str'>) to http://127.0.0.1:8081/fonts/robotocondensed-bold.woff2 (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:34] "GET /fonts/robotocondensed-bold.woff2 HTTP/1.1" 200 -
INFO:__main__:Proxying fonts/lato-regular.woff2 (<class 'str'>) to http://127.0.0.1:8081/fonts/lato-regular.woff2 (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:34] "GET /fonts/lato-regular.woff2 HTTP/1.1" 200 -
INFO:__main__:Proxying fonts/lato-bold.woff2 (<class 'str'>) to http://127.0.0.1:8081/fonts/lato-bold.woff2 (<class 'str'>)
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:34] "GET /fonts/lato-bold.woff2 HTTP/1.1" 200 -
INFO:werkzeug:100.38.105.173 - - [17/Apr/2018 16:58:39] "POST /give_answers HTTP/1.1" 405 -