"The last HTTP request has timed out" after upgrade to 1.20
-
I upgraded my Duet WiFi to 1.20 from 1.18 following the instructions here. https://duet3d.com/wiki/Upgrading_to_DuetWiFiFirmware_1.19
The upgrade went fine. The issue I am having now is that the web interface will give an http request timeout error after it's been sitting there for a while. It's happened during printing and when idle. If I hit the browser refresh it reconnects fine. I haven't seen this happen in 1.18. Is this a known issue? Nothing has changed with the wifi config on my end. I've attached the google photos link to the picture of the error below.
thanks,
Brendin -
No, that's not a known issue. You might want to try DuetWiFiServer 1.20+1. I released that along with the 1.20.1RC, but it is compatible with firmware 1.20 as well.
-
I have (and had) this same issue with 1.20.1 (RC2) and 1.20 (release) with one important difference: My Duet is a Duet Ethernet. I just assumed it was one of those quirks of the system (and it never impacted usability.)
-
That's even more strange then, because the networking code for the Duet Ethernet didn't change much between 1.18 and 1.20. Where does that error message appear?
-
I've never used 1.18. I started with 1.20 (release.) It usually appears as a red or pink box towards the bottom of the browser.
-
You could try increasing the "Maximum number of AJAX retries" in the Settings General page of DWC.
-
I installed 1.20.1RC2 firmware and wifi server and it still has the same issue. I have rebooted the wifi router and am trying it on a different computer to see if the issue persists. Will post an update soon.
-
You can see a picture of the error I linked in my first post if you are curious. My Maximum number of AJAX retires is set to 1 in the Settings General page. Is that the default?
-
I can reproduce the issue on a different computer.
-
Were you getting any AJAX error reports before the firmware upgrade? The error reporting changed in DWC 1.20 to give a more precise message.
-
I wasn't getting any errors before. I had 15+ hour prints without any issues. I also have a Duet Ethernet and I will test against that on 1.20. Is there any deuggin I can turn on to see if I am losing wifi connection and reconnecting?
-
You can connect a PC via USB, then send M111 S1 P14 to enable wifi debug messages to be sent to USB.
-
Here is what the log looks like. I removed the beginning of the log as it was a repetition of what you see at the start. The web interface gave the error around 18:20
[[language]] 18:19:59.297 : HTTP req, command words { GET /rr_status HTTP/1.1 }, parameters { type=1 } 18:19:59.575 : New conn on socket 0 for local port 80 18:19:59.575 : HTTP connection accepted 18:19:59.575 : Found responder 18:19:59.575 : Received 392 bytes 18:19:59.579 : Sending reply, file = no 18:19:59.579 : HTTP req, command words { GET /rr_status HTTP/1.1 }, parameters { type=2 } 18:19:59.861 : New conn on socket 0 for local port 80 18:19:59.861 : HTTP connection accepted 18:19:59.861 : Found responder 18:19:59.861 : Received 392 bytes 18:19:59.864 : Sending reply, file = no 18:19:59.864 : HTTP req, command words { GET /rr_status HTTP/1.1 }, parameters { type=1 } 18:20:00.068 : aux: M408 S0 R22 18:20:00.142 : New conn on socket 0 for local port 80 18:20:00.142 : HTTP connection accepted 18:20:00.142 : Found responder 18:20:00.142 : Received 392 bytes 18:20:00.145 : Sending reply, file = no 18:20:00.145 : HTTP req, command words { GET /rr_status HTTP/1.1 }, parameters { type=1 } 18:20:01.071 : aux: M408 S0 R22 18:20:01.104 : serial: M105 18:20:02.073 : aux: M408 S0 R22 18:20:03.078 : aux: M408 S0 R22 18:20:04.080 : aux: M408 S0 R22 18:20:04.165 : serial: M105 18:20:05.084 : aux: M408 S0 R22 18:20:06.086 : aux: M408 S0 R22 18:20:07.089 : aux: M408 S0 R22 18:20:07.229 : serial: M105 18:20:08.092 : aux: M408 S0 R22 18:20:08.707 : New conn on socket 0 for local port 80 18:20:08.707 : HTTP connection accepted 18:20:08.707 : Found responder 18:20:08.708 : New conn on socket 1 for local port 80 18:20:08.708 : HTTP connection accepted 18:20:08.708 : Found responder 18:20:08.708 : New conn on socket 2 for local port 80 18:20:08.708 : HTTP connection accepted 18:20:08.708 : Found responder 18:20:09.096 : aux: M408 S0 R22 18:20:10.099 : aux: M408 S0 R22 18:20:10.288 : serial: M105 18:20:11.101 : aux: M408 S0 R22 18:20:12.105 : aux: M408 S0 R22 18:20:13.108 : aux: M408 S0 R22 18:20:13.352 : serial: M105 18:20:14.110 : aux: M408 S0 R22 18:20:15.114 : aux: M408 S0 R22 18:20:16.117 : aux: M408 S0 R22 18:20:16.419 : serial: M105 18:20:17.120 : aux: M408 S0 R22 18:20:18.123 : aux: M408 S0 R22 18:20:19.126 : aux: M408 S0 R22 18:20:19.476 : serial: M105 18:20:20.130 : aux: M408 S0 R22 18:20:21.132 : aux: M408 S0 R22 18:20:22.135 : aux: M408 S0 R22 18:20:22.538 : serial: M105 18:20:23.137 : aux: M408 S0 R22 18:20:24.140 : aux: M408 S0 R22 18:20:25.145 : aux: M408 S0 R22 18:20:25.602 : serial: M105 18:20:26.147 : aux: M408 S0 R22 18:20:27.150 : aux: M408 S0 R22 18:20:28.153 : aux: M408 S0 R22 18:20:28.664 : serial: M105 18:20:29.157 : aux: M408 S0 R22 18:20:30.159 : aux: M408 S0 R22 18:20:31.163 : aux: M408 S0 R22 18:20:31.727 : serial: M105 18:20:32.167 : aux: M408 S0 R22 18:20:33.168 : aux: M408 S0 R22 18:20:34.172 : aux: M408 S0 R22 18:20:34.792 : serial: M105 18:20:35.176 : aux: M408 S0 R22 18:20:36.178 : aux: M408 S0 R22 18:20:37.182 : aux: M408 S0 R22 18:20:37.848 : serial: M105 18:20:38.185 : aux: M408 S0 R22 18:20:39.188 : aux: M408 S0 R22 18:20:40.191 : aux: M408 S0 R22 18:20:40.917 : serial: M105 18:20:41.194 : aux: M408 S0 R22 18:20:42.197 : aux: M408 S0 R22 18:20:43.200 : aux: M408 S0 R22 18:20:43.978 : serial: M105 18:20:44.203 : aux: M408 S0 R22 18:20:45.206 : aux: M408 S0 R22 18:20:46.209 : aux: M408 S0 R22 18:20:47.037 : serial: M105 18:20:47.213 : aux: M408 S0 R22 18:20:48.215 : aux: M408 S0 R22 18:20:49.217 : aux: M408 S0 R22 18:20:50.103 : serial: M105 18:20:50.221 : aux: M408 S0 R22 18:20:51.224 : aux: M408 S0 R22 18:20:52.227 : aux: M408 S0 R22 18:20:53.167 : serial: M105 18:20:53.231 : aux: M408 S0 R22 18:20:54.234 : aux: M408 S0 R22 18:20:55.237 : aux: M408 S0 R22 18:20:56.226 : serial: M105 18:20:56.239 : aux: M408 S0 R22 18:20:57.244 : aux: M408 S0 R22 18:20:58.247 : aux: M408 S0 R22 18:20:59.249 : aux: M408 S0 R22 18:20:59.291 : serial: M105 18:21:00.252 : aux: M408 S0 R22 18:21:01.255 : aux: M408 S0 R22 18:21:02.258 : aux: M408 S0 R22 18:21:02.355 : serial: M105 18:21:03.261 : aux: M408 S0 R22 18:21:04.265 : aux: M408 S0 R22 18:21:05.267 : aux: M408 S0 R22 18:21:05.418 : serial: M105 18:21:06.270 : aux: M408 S0 R22 18:21:07.273 : aux: M408 S0 R22 18:21:08.277 : aux: M408 S0 R22 18:21:08.478 : serial: M105 18:21:09.280 : aux: M408 S0 R22 18:21:10.282 : aux: M408 S0 R22 18:21:11.286 : aux: M408 S0 R22 18:21:11.537 : serial: M105 18:21:12.288 : aux: M408 S0 R22 18:21:13.292 : aux: M408 S0 R22 18:21:14.295 : aux: M408 S0 R22 18:21:14.604 : serial: M105 18:21:15.298 : aux: M408 S0 R22 18:21:16.301 : aux: M408 S0 R22 18:21:17.303 : aux: M408 S0 R22 18:21:17.667 : serial: M105 18:21:18.307 : aux: M408 S0 R22 18:21:19.311 : aux: M408 S0 R22 18:21:20.313 : aux: M408 S0 R22 18:21:20.729 : serial: M105 18:21:21.316 : aux: M408 S0 R22 18:21:22.319 : aux: M408 S0 R22 18:21:23.323 : aux: M408 S0 R22 18:21:23.790 : serial: M105 18:21:24.325 : aux: M408 S0 R22 18:21:25.329 : aux: M408 S0 R22 18:21:26.332 : aux: M408 S0 R22 18:21:26.851 : serial: M105 18:21:27.335 : aux: M408 S0 R22 18:21:28.337 : aux: M408 S0 R22 18:21:29.341 : aux: M408 S0 R22 18:21:29.912 : serial: M105 18:21:30.344 : aux: M408 S0 R22 18:21:31.347 : aux: M408 S0 R22 18:21:32.351 : aux: M408 S0 R22 18:21:32.974 : serial: M105 18:21:33.354 : aux: M408 S0 R22 18:21:34.357 : aux: M408 S0 R22 18:21:35.360 : aux: M408 S0 R22 18:21:36.036 : serial: M105 18:21:36.363 : aux: M408 S0 R22 18:21:37.366 : aux: M408 S0 R22 18:21:38.369 : aux: M408 S0 R22 18:21:39.103 : serial: M105 18:21:39.372 : aux: M408 S0 R22 18:21:40.375 : aux: M408 S0 R22 18:21:41.378 : aux: M408 S0 R22 18:21:42.164 : serial: M105 18:21:42.381 : aux: M408 S0 R22 18:21:43.384 : aux: M408 S0 R22 18:21:44.387 : aux: M408 S0 R22 18:21:45.229 : serial: M105 18:21:45.390 : aux: M408 S0 R22 18:21:46.394 : aux: M408 S0 R22 18:21:47.396 : aux: M408 S0 R22 18:21:48.286 : serial: M105 18:21:48.399 : aux: M408 S0 R22 18:21:49.403 : aux: M408 S0 R22 18:21:50.405 : aux: M408 S0 R22 18:21:51.354 : serial: M105 18:21:51.409 : aux: M408 S0 R22 18:21:52.411 : aux: M408 S0 R22 18:21:53.415 : aux: M408 S0 R22 18:21:54.412 : serial: M105 18:21:54.417 : aux: M408 S0 R22 18:21:55.422 : aux: M408 S0 R22 18:21:56.425 : aux: M408 S0 R22 18:21:57.427 : aux: M408 S0 R22 18:21:57.480 : serial: M105 18:21:58.430 : aux: M408 S0 R22 18:21:59.434 : aux: M408 S0 R22 18:22:00.436 : aux: M408 S0 R22 18:22:00.536 : serial: M105 18:22:01.439 : aux: M408 S0 R22 18:22:02.442 : aux: M408 S0 R22 18:22:03.446 : aux: M408 S0 R22 18:22:03.600 : serial: M105 18:22:04.448 : aux: M408 S0 R22 18:22:05.452 : aux: M408 S0 R22 18:22:06.455 : aux: M408 S0 R22 18:22:06.662 : serial: M105 18:22:07.458 : aux: M408 S0 R22 18:22:08.461 : aux: M408 S0 R22 18:22:09.464 : aux: M408 S0 R22 18:22:09.727 : serial: M105 18:22:10.468 : aux: M408 S0 R22 18:22:11.469 : aux: M408 S0 R22 18:22:12.473 : aux: M408 S0 R22 18:22:12.790 : serial: M105 18:22:13.476 : aux: M408 S0 R22 18:22:14.479 : aux: M408 S0 R22 18:22:15.483 : aux: M408 S0 R22 18:22:15.854 : serial: M105 18:22:16.486 : aux: M408 S0 R22 18:22:17.489 : aux: M408 S0 R22 18:22:18.492 : aux: M408 S0 R22 18:22:18.917 : serial: M105 18:22:19.494 : aux: M408 S0 R22 18:22:20.497 : aux: M408 S0 R22 18:22:21.500 : aux: M408 S0 R22 18:22:21.975 : serial: M105 18:22:22.504 : aux: M408 S0 R22 18:22:23.507 : aux: M408 S0 R22 18:22:24.510 : aux: M408 S0 R22 18:22:25.039 : serial: M105 18:22:25.514 : aux: M408 S0 R22 18:22:26.516 : aux: M408 S0 R22 18:22:27.519 : aux: M408 S0 R22 18:22:28.104 : serial: M105 18:22:28.522 : aux: M408 S0 R22 18:22:29.526 : aux: M408 S0 R22 18:22:30.529 : aux: M408 S0 R22 18:22:31.169 : serial: M105 18:22:31.531 : aux: M408 S0 R22 18:22:32.534 : aux: M408 S0 R22 18:22:33.538 : aux: M408 S0 R22 18:22:34.230 : serial: M105 18:22:34.541 : aux: M408 S0 R22 18:22:35.543 : aux: M408 S0 R22 18:22:36.547 : aux: M408 S0 R22 18:22:37.289 : serial: M105 18:22:37.550 : aux: M408 S0 R22 18:22:38.553 : aux: M408 S0 R22 18:22:39.556 : aux: M408 S0 R22 18:22:40.353 : serial: M105 18:22:40.560 : aux: M408 S0 R22 18:22:41.562 : aux: M408 S0 R22 18:22:42.565 : aux: M408 S0 R22 18:22:43.417 : serial: M105 18:22:43.568 : aux: M408 S0 R22 18:22:44.572 : aux: M408 S0 R22 18:22:45.575 : aux: M408 S0 R22 18:22:46.477 : serial: M105 18:22:46.577 : aux: M408 S0 R22 18:22:47.580 : aux: M408 S0 R22 18:22:48.583 : aux: M408 S0 R22 18:22:49.543 : serial: M105 18:22:49.587 : aux: M408 S0 R22 18:22:50.590 : aux: M408 S0 R22 18:22:51.594 : aux: M408 S0 R22 18:22:52.596 : aux: M408 S0 R22 18:22:52.602 : serial: M105 18:22:53.599 : aux: M408 S0 R22 18:22:54.603 : aux: M408 S0 R22 18:22:55.604 : aux: M408 S0 R22 18:22:55.662 : serial: M105 18:22:56.608 : aux: M408 S0 R22 18:22:57.611 : aux: M408 S0 R22 18:22:58.614 : aux: M408 S0 R22 18:22:58.725 : serial: M105 18:22:59.618 : aux: M408 S0 R22 18:23:00.621 : aux: M408 S0 R22 18:23:01.624 : aux: M408 S0 R22 18:23:01.789 : serial: M105 18:23:02.626 : aux: M408 S0 R22 18:23:03.629 : aux: M408 S0 R22 18:23:04.633 : aux: M408 S0 R22 18:23:04.855 : serial: M105 18:23:05.635 : aux: M408 S0 R22 18:23:06.639 : aux: M408 S0 R22 18:23:07.643 : aux: M408 S0 R22 18:23:07.919 : serial: M105 18:23:08.645 : aux: M408 S0 R22 18:23:09.648 : aux: M408 S0 R22 18:23:10.650 : aux: M408 S0 R22 18:23:10.979 : serial: M105 18:23:11.654 : aux: M408 S0 R22 18:23:12.658 : aux: M408 S0 R22 18:23:13.660 : aux: M408 S0 R22 18:23:14.038 : serial: M105 18:23:14.664 : aux: M408 S0 R22 18:23:15.667 : aux: M408 S0 R22 18:23:16.669 : aux: M408 S0 R22 18:23:17.098 : serial: M105 18:23:17.673 : aux: M408 S0 R22 18:23:18.676 : aux: M408 S0 R22 18:23:19.679 : aux: M408 S0 R22 18:23:20.165 : serial: M105 18:23:20.682 : aux: M408 S0 R22 18:23:21.685 : aux: M408 S0 R22 18:23:22.688 : aux: M408 S0 R22 18:23:23.228 : serial: M105 18:23:23.692 : aux: M408 S0 R22 18:23:24.694 : aux: M408 S0 R22 18:23:25.697 : aux: M408 S0 R22 18:23:26.287 : serial: M105 18:23:26.700 : aux: M408 S0 R22 18:23:27.703 : aux: M408 S0 R22 18:23:28.707 : aux: M408 S0 R22 18:23:29.355 : serial: M105 18:23:29.710 : aux: M408 S0 R22 18:23:30.713 : aux: M408 S0 R22 18:23:31.717 : aux: M408 S0 R22 18:23:32.415 : serial: M105 18:23:32.719 : aux: M408 S0 R22 18:23:33.722 : aux: M408 S0 R22 18:23:34.725 : aux: M408 S0 R22 18:23:35.474 : serial: M105 18:23:35.728 : aux: M408 S0 R22 18:23:36.731 : aux: M408 S0 R22 18:23:37.734 : aux: M408 S0 R22 18:23:38.541 : serial: M105 18:23:38.738 : aux: M408 S0 R22 18:23:39.741 : aux: M408 S0 R22 18:23:40.744 : aux: M408 S0 R22 18:23:41.598 : serial: M105 18:23:41.746 : aux: M408 S0 R22 18:23:42.749 : aux: M408 S0 R22 18:23:43.752 : aux: M408 S0 R22 18:23:44.667 : serial: M105 18:23:44.756 : aux: M408 S0 R22 18:23:45.759 : aux: M408 S0 R22 18:23:46.762 : aux: M408 S0 R22 18:23:47.728 : serial: M105 18:23:47.764 : aux: M408 S0 R22 18:23:48.769 : aux: M408 S0 R22 18:23:49.772 : aux: M408 S0 R22 18:23:50.774 : aux: M408 S0 R22 18:23:50.790 : serial: M105 18:23:51.777 : aux: M408 S0 R22 18:23:52.781 : aux: M408 S0 R22 18:23:53.784 : aux: M408 S0 R22 18:23:53.852 : serial: M105 18:23:54.787 : aux: M408 S0 R22 18:23:55.789 : aux: M408 S0 R22 18:23:56.793 : aux: M408 S0 R22 18:23:56.912 : serial: M105 18:23:57.797 : aux: M408 S0 R22 18:23:58.799 : aux: M408 S0 R22 18:23:59.802 : aux: M408 S0 R22 18:23:59.974 : serial: M105 18:24:00.806 : aux: M408 S0 R22 18:24:01.808 : aux: M408 S0 R22 18:24:02.811 : aux: M408 S0 R22 18:24:03.040 : serial: M105 18:24:03.814 : aux: M408 S0 R22 18:24:04.818 : aux: M408 S0 R22 18:24:05.820 : aux: M408 S0 R22 18:24:06.097 : serial: M105 18:24:06.824 : aux: M408 S0 R22 18:24:06.905 : Class Network spinning 18:24:06.905 : Class GCodes spinning 18:24:06.905 : Class Move spinning 18:24:06.905 : Class Heat spinning 18:24:06.905 : Class Scanner spinning 18:24:06.905 : Class PrintMonitor spinning 18:24:06.906 : Class Platform spinning
-
You enabled all debugging instead of just WiFi, or else you used Repetier Host. Please enable just WiFi debugging, and use either Pronterface or a terminal emulator.
-
I was using repetier host. I just tried using a terminal and I am not getting anything in the log when the event occurs with just wifi debug enabled. However I setup a constant ping to the duet wifi and when the event occurs the ping time goes as high as 9 seconds to ping. Event starts at seq 763 below. Should I turn on more logging for any other modules?
[[language]] 64 bytes from 192.168.0.15: icmp_seq=755 ttl=255 time=1.43 ms 64 bytes from 192.168.0.15: icmp_seq=756 ttl=255 time=1.50 ms 64 bytes from 192.168.0.15: icmp_seq=757 ttl=255 time=1.20 ms 64 bytes from 192.168.0.15: icmp_seq=758 ttl=255 time=3.43 ms 64 bytes from 192.168.0.15: icmp_seq=759 ttl=255 time=1.17 ms 64 bytes from 192.168.0.15: icmp_seq=760 ttl=255 time=1.81 ms 64 bytes from 192.168.0.15: icmp_seq=761 ttl=255 time=1.24 ms 64 bytes from 192.168.0.15: icmp_seq=762 ttl=255 time=1.13 ms 64 bytes from 192.168.0.15: icmp_seq=763 ttl=255 time=9117 ms 64 bytes from 192.168.0.15: icmp_seq=764 ttl=255 time=8110 ms 64 bytes from 192.168.0.15: icmp_seq=766 ttl=255 time=7526 ms 64 bytes from 192.168.0.15: icmp_seq=768 ttl=255 time=7155 ms 64 bytes from 192.168.0.15: icmp_seq=769 ttl=255 time=6148 ms 64 bytes from 192.168.0.15: icmp_seq=770 ttl=255 time=5337 ms 64 bytes from 192.168.0.15: icmp_seq=771 ttl=255 time=4533 ms 64 bytes from 192.168.0.15: icmp_seq=772 ttl=255 time=3726 ms 64 bytes from 192.168.0.15: icmp_seq=773 ttl=255 time=4361 ms 64 bytes from 192.168.0.15: icmp_seq=774 ttl=255 time=4999 ms 64 bytes from 192.168.0.15: icmp_seq=775 ttl=255 time=6048 ms 64 bytes from 192.168.0.15: icmp_seq=776 ttl=255 time=5413 ms 64 bytes from 192.168.0.15: icmp_seq=777 ttl=255 time=4517 ms 64 bytes from 192.168.0.15: icmp_seq=778 ttl=255 time=3516 ms 64 bytes from 192.168.0.15: icmp_seq=779 ttl=255 time=2547 ms 64 bytes from 192.168.0.15: icmp_seq=780 ttl=255 time=1705 ms 64 bytes from 192.168.0.15: icmp_seq=781 ttl=255 time=697 ms 64 bytes from 192.168.0.15: icmp_seq=782 ttl=255 time=3.92 ms 64 bytes from 192.168.0.15: icmp_seq=783 ttl=255 time=1.50 ms 64 bytes from 192.168.0.15: icmp_seq=784 ttl=255 time=1.17 ms
-
Ping responses are handled by the wifi module, so it looks like the problem was either in the wifi module or in the communication between the wifi module and your router
Did you remember to send M111 S1 P14 to enable wifi debugging?
-
Yes I did send the command to enable wifi deugging and did receive the message in the terminal confirming it was enabled. I have a different WiFi router I will try using and see if I can reproduce the same ping results on it. This should help narrow down whether it is in the router or the duet,
-
I can second xnarons first post in this thread issue on my Duet WiFi. Upgradde from 1.19 were a breeze. My 1.19 also dropped connection to the wifi module from time to time but with another error message. I have increased the AJAX retries from 1 to 5 but need to check more tonight if it had any impact.
-
im also having an issue with HTTP requests on DWC
wifi server appears to be okay.
its getting too frequent now though, the board is printing calibrations.[[language]] The last HTTP request has timed out. Please make sure the connection between your device and the board is not interrupted.
Firmware Name: RepRapFirmware for Duet WiFi
Firmware Electronics: Duet WiFi 1.0
Firmware Version: 1.20.1RC2 (2018-01-01)
WiFi Server Version: 1.20+1
Web Interface Version: 1.20 -
Anyone getting http timeout errors using DuetWiFiServer 1.20+1, please try reverting to version 1.20. it's compatible with 1.20.1RC firmware.