Your Duet rejected the HTTP request
-
@pyper said in Your Duet rejected the HTTP request:
But when I go to the address it says "Your Duet rejected the HTTP request"
What's the rest of the text on that page? RRF doesn't return that text by itself.
-
@dc42
The complete message is "Your Duet rejected the HTTP request: page not found" -
@droftarts
Thank you for helping.M115 returns "FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.0(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-06-05b3<LF>ok<LF>"
I downloaded the RRF2.0 link you posted, deleted the existing www folder, and created a new one with the DuetWebControl-SD-2.07.zip files.
I still get the same error. Not sure what is going on.
I formatted the SD card with the suggested utility to FAT32.
Arg!
-
@pyper that’s very old firmware on a Duet. Did you buy it recently? Where from?
What specification is the SD card you’re using? Please send M122 with the card in the Duet, and post the full response. Before you do that, remember to set the line ending to LF in YAT, or the response will be truncated and barely readable; see https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s7
Edit: also send
M20 P"/www"
to list the contents of the www folder.
Ian
-
@droftarts
I think they bought this awhile back but are only just now getting around to installing it.Well, I keep trying to post the contents from those commands but it gets flagged as spam or something..
-
@pyper I’ve upvoted some of your posts which should give you enough reputation to post the long responses.
Ian
-
@droftarts
Thank you
M122:=== Diagnostics === RepRapFirmware for Duet 2 WiFi/Ethernet version 2.0(RTOS) running on Duet WiFi 1.02 or later Board ID: 08DJM-9178L-L2MS8-6JKF0-3SN6Q-TTFYR Used output buffers: 2 of 20 (2 max) === RTOS === Static ram: 28380 Dynamic ram: 95820 of which 16 recycled Exception stack ram used: 236 Never used ram: 6620 Task NETWORK ready, free stack 1440 Task HEAT blocked, free stack 1264 Task MAIN running, free stack 3656 === Platform === Last reset 00:00:28 ago, cause: reset button or watchdog Last software reset details not available Error status: 0 Free file entries: 10 SD card 0 detected, interface speed: 20.0MBytes/sec SD card longest block write time: 0.0ms MCU temperature: min 31.0, current 31.6, max 31.7 Supply voltage: min 1.6, current 1.7, max 1.7, under voltage events: 0, over voltage events: 0 Driver 0: ok, SG min/max not available Driver 1: ok, SG min/max not available Driver 2: ok, SG min/max not available Driver 3: ok, SG min/max not available Driver 4: ok, SG min/max not available Date/time: 1970-01-01 00:00:00 Slowest loop: 1.08ms; fastest: 0.06ms === Move === Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm 240, MaxWait: 0ms, Underruns: 0, 0 Scheduled moves: 0, completed moves: 0 Bed compensation in use: none Bed probe heights: 0.000 0.000 0.000 0.000 0.000 === Heat === Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 === GCodes === Segments left: 0 Stack records: 1 allocated, 0 in use Movement lock held by null http is idle in state(s) 0 telnet is idle in state(s) 0 file is idle in state(s) 0 serial is ready with "M122" in state(s) 0 aux is idle in state(s) 0 daemon is idle in state(s) 0 queue is idle in state(s) 0 autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 14.31ms; fastest: 0.01ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0) HTTP sessions: 0 of 8 - WiFi - Network state is running WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.21 WiFi MAC address bc:dd:c2:57:ae:e6 WiFi Vcc 3.32, reset reason Turned on by main processor WiFi flash size 4194304, free heap 16704 WiFi IP address 10.1.10.172 WiFi signal strength -48dBm, reconnections 0, sleep mode modem Socket states: 0 0 0 0 0 0 0 0 === Expansion === ok
M20 P"/www":
Begin file list css favicon.ico.gz fonts index.html.gz js End file list ok
-
Try replacing the contents of /www on the SD card with the contents of this zip file: https://github.com/Duet3D/RepRapFirmware/releases/download/2.01/DuetWebControl-1.22.3.zip
Then see if you can reach the IP address.
If that works, Upload these 3 zip files, one at a time in the system tab in DWC. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/Duet2and3Firmware-3.2.2.zip
That will get your firmware and DWC up to date.You can see the change logs here:
https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.xFor your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
https://configtool.reprapfirmware.org/StartBackup your existing config files in the sys folder in case you want to switch back to RRF3. IT’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.
These documents will come in handy during the conversion.
https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
https://duet3d.dozuki.com/Wiki/Gcode -
@phaedrux
Success!
Thank you so much (all)!
I can confirm M115 returns 3.2.2 in YAT
Onward! -
@pyper That's good to hear. Thinking about it, RRF 2.0 probably doesn't support DWC 2.0.7. My bad!
Ian