Mikrotik HttpProxy - Error: 504 Gateway Timeout

Since I upgraded to version 2.9.4, I am getting this error

Mikrotik HttpProxy - Error: 504 Gateway Timeout

almost every day when accessing the web through the Hotspot interface. I am now using 2.9.6 but I am getting the same error and only a reboot fixes it.

Has anybody else seen this.