UpgradeCheck Invalid response code 302 causing Mango to die at startup
-
Mango is suddenly crashing at startup, with the following log message:
ERROR 2020-09-30T14:06:03,185 (com.serotonin.m2m2.rt.maint.UpgradeCheck.run:65) - Invalid response code 302, reason=Found: org.apache.http.HttpException: Invalid response code 302, reason=Found: at com.serotonin.web.http.HttpUtils4.getTextContent(HttpUtils4.java:136) ~[mango-3.6.6.jar:?] at com.serotonin.m2m2.web.dwr.ModulesDwr.getAvailableUpgrades(ModulesDwr.java:420) ~[mango-3.6.6.jar:?] at com.serotonin.m2m2.web.dwr.ModulesDwr.upgradesAvailable(ModulesDwr.java:298) ~[mango-3.6.6.jar:?] at com.serotonin.m2m2.rt.maint.UpgradeCheck.run(UpgradeCheck.java:53) ~[mango-3.6.6.jar:?] at com.serotonin.timer.Task.runTask(Task.java:179) ~[mango-3.6.6.jar:?] at com.serotonin.timer.TaskWrapper.run(TaskWrapper.java:23) ~[mango-3.6.6.jar:?] at com.serotonin.timer.OrderedThreadPoolExecutor$OrderedTaskCollection.run(OrderedThreadPoolExecutor.java:336) ~[mango-3.6.6.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[?:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
This is running version 3.6.6 and was running fine on Monday. Is it that unhappy about a 302?
Thanks in advance,
Aldo
-
I purged the
work
directory, and the 302 error went away. Turns out the fact that it was the last message didn't connect it to the cause of the crash.I have sent the database and log files separately. Hopefully we can learn what's going on.
Aldo