Hello,
OK I have updated to firmwares to those from here. Duet to 2.05.1 and Wifi to 1.23.
I have the same issue as before. Wifi connects to the network and DHCP gives an IP. Ping works with low latency. HTTP requests appears to time out.
I enabled debugging for the HTTP Server (M122 P2 S1). Initially after updating the Wifi module firmware, I ran commands logged below. I then enabled debugging on HTTP Server and tried to connect I got the response (over serial) listed below. I'm not able to recreate this now - I've tried hard restart, reflashing the Wifi firmware, and disabling and re-enabling HTTP debugging. In browser network stack the network section does not show any connection to the Duet or response from it - not even headers.
All and any suggestions gratefully received!
HTTP Debugging enabled - cannot recreate this response however. All other connections show no response on the debugger:
M111 P2 S1
Debugging enabled for modules: Webserver(2) WiFi(14)
Debugging disabled for modules: Platform(0) Network(1) GCodes(3) Move(4) Heat(5) DDA(6) Roland(7) Scanner(8) PrintMonitor(9) Storage(10) PortControl(11) DuetExpansion(12) FilamentSensors(13) Display(15)
ok
HTTP connection accepted
HTTP req, command words { GET / HTTP/1.1 }, parameters { }
Sending reply, file = yes
HTTP connection accepted
HTTP connection accepted
HTTP req, command words { GET /js/app.ab1d3899.js HTTP/1.1 }, parameters { }
Sending reply, file = yes
HTTP req, command words { GET /css/app.db918b7e.css HTTP/1.1 }, parameters { }
Sending reply, file = yes
Can't send anymore
M122:
m122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later
Board ID: 08DGM-956GU-DJ3SN-6JKFG-3S86J-1ARMG
Used output buffers: 1 of 24 (2 max)
=== RTOS ===
Static ram: 25712
Dynamic ram: 92800 of which 0 recycled
Exception stack ram used: 264
Never used ram: 12296
Tasks: NETWORK(ready,540) HEAT(blocked,1232) MAIN(running,4076) IDLE(ready,160)
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:01:07 ago, cause: power up
Last software reset time unknown, reason: User, spinning module GCodes, available RAM 9092 bytes (slot 1)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00433000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 24.7, current 26.1, max 26.5
Supply voltage: min 1.4, current 1.6, max 1.7, under voltage events: 0, over voltage events: 0, power good: no
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
Cache data hit count 345704244
Slowest loop: 159.04ms; fastest: 0.05ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
=== Heat ===
Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1
=== GCodes ===
Segments left: 0
Stack records: 2 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: 1225.94ms; fastest: 0.00ms
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 112
Failed to get WiFi status
Socket states: 0 0 0 0 0 0 0 0
ok
M111 P14 S1 then disabling and enabling the wifi module:
m552 s-1
WiFi module stopped
ok
M552 s0
WiFi:
WiFi: ets Jan 8 2013,rst cause:2, boot mode:(3,6)
WiFi:
WiFi: load 0x4010f000, len 1384, room 16
WiFi: tail 8
WiFi: chksum 0x2d
WiFi: csum 0x2d
WiFi: v3fff168c
WiFi: ~ld
ok
WiFi module started
m552 s1
ok
WiFi:
WiFi: add if0
WiFi: wifi evt: 8
WiFi: scandone
WiFi: ../src/SocketServer.cpp(353): found network ***
WiFi: ../src/SocketServer.cpp(353): found network ***
WiFi: ../src/SocketServer.cpp(353): found network ***
WiFi: ../src/SocketServer.cpp(353): found network J*********C
WiFi: ../src/SocketServer.cpp(353): found network ***
WiFi: sleep enable,type: 2
WiFi: wifi evt: 2
WiFi: scandone
WiFi: state: 0 -> 2 (b0)
WiFi: state: 2 -> 3 (0)
WiFi: state: 3 -> 5 (10)
WiFi: add 0
WiFi: aid 1
WiFi: cnt
WiFi:
WiFi: connected with J*********C, channel 11
WiFi: dhcp client start...
WiFi: wifi evt: 0
WiFi: ip:192.168.1.204,mask:255.255.255.0,gw:192.168.1.1
WiFi module is connected to access point J*********C, IP address 192.168.1.204
WiFi: wifi evt: 3
WiFi: pm open,type:2 0