marcus67 / little_brother

Parental Control Application implemented in Python 3 packaged for Debian and Ubuntu to monitor and limit kids' play time on Linux hosts
GNU General Public License v3.0
59 stars 9 forks source link

Lost ability to connect to master #143

Closed bhulsken closed 3 years ago

bhulsken commented 3 years ago

getting the below errors after upgrade from 0.4.0 to 0.4.2, haven't been able to debug more for now. Nothing shows up in the backend with "DEBUG" loglevel.

021-05-26 16:59:06,085 - MasterConnector - DEBUG - Executing POST API call 'http://censored:5555/api/events' 2021-05-26 16:59:06,093 - MasterConnector - ERROR - Unknown error code '400' with message 'None' while accessing artifact 'http://censored:5555/api/events'

marcus67 commented 3 years ago

Hi Bas,

this is my fault. Unfortunately, there was no test case for the slave/master communication. The error is triggered by the CSRF checks which I reactivated in the most recent version. I already fixed this in my local code yesterday. I will release the fix tonight. Sorry!