Welcome! Log In Create A New Profile

Advanced

No web interface after upgrade from 1.16 to 1.18RC1

Posted by unromeo21 
No web interface after upgrade from 1.16 to 1.18RC1
March 28, 2017 04:25PM
So, after being busy for a couple of months and moving to a new house, I was glad to see so many updates on the firmware in such a short time span. Thank you DC42 for your hard work.

So I just got my printer setup again and upgraded the firmware from 1.16 to 1.18RC1 and web interface to 1.15 (duet 0.85 ). The first issue I encounter is that I cannot reach the web interface any more. Network seems to be working fine, I can ping the Duet IP address, I can connect over serial with Repetier Host and send commands to the printer, I can see temperatures and all seems to be fine, I can even read the content of the gcode folder on the SD card.

I tried to delete the www folder and create a new one, extracted the content of the DuetWebControl-1.15.zip file inside it to make sure I have a fresh copy of the DWC and no old files inside, but still no luck.
M586 says HTTP enabled, FTP and Telnet disabled.

FIRMWARE_NAME: RepRapFirmware for Duet FIRMWARE_VERSION: 1.18RC1 ELECTRONICS: Duet 0.85 FIRMWARE_DATE: 2017-03-28
ok

serial: M20 P/www
Begin file list
css
favicon.ico.gz
fonts
html404.htm
js
language.xml.gz
reprap.htm.gz
End file list
ok




I'm an IT guy and I am usually able to fix such issues quite fast, but now I am lost...

Any help ?

Thanks !

Edited 1 time(s). Last edit at 03/28/2017 04:59PM by unromeo21.
Re: No web interface after upgrade from 1.16 to 1.18RC1
March 28, 2017 05:35PM
There was one report of the web interface not working for someone using a Duet 0.6 and 1.18beta3. Sounds like a similar issue.

Please connect via USB, enable Network and Webserver debugging using M111, and report what debug messages you see when you try to load the web interface.

Edited 1 time(s). Last edit at 03/28/2017 05:36PM by dc42.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
March 29, 2017 04:58AM
Hi David,

I actually did this yesterday evening. I enabled debugging (on all modules) and watched the console. Besides getting something like "module Network spinning, module Webserver spinning" and so forth from time to time, only when connecting to FTP I could see a lot of debugging information, but absolutely none when trying to access over http.
Re: No web interface after upgrade from 1.16 to 1.18RC1
March 29, 2017 05:59AM
So I tried one more thing:
I left everything as it was, didn't touch the www folder, didn't touch the config files, just uploaded the 1.17e firmware instead (M997 S0 over telnet with the file uploaded over ftp in the sys folder).

Guess what, the web interface is back. So I suppose the 1.18RC1 has a small issue... but I surely don't know exactly what ...

I will stick to the 1.17e for now..

Regards,
Romeo
Re: No web interface after upgrade from 1.16 to 1.18RC1
March 29, 2017 01:01PM
So you managed to enable FTP and Telnet in 1.18RC1, but not HTTP? This is getting even more strange.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
March 29, 2017 03:35PM
Yes, I read that HTTP is enabled by default, FTP and TELNET being disabled. I enabled in the config all the protocols with M586 to check what's working and what's not.
Like I said, after switching to 1.17e without any other changes to the config, the web interface is back !
Re: No web interface after upgrade from 1.16 to 1.18RC1
March 29, 2017 03:48PM
I've had another report of a similar instance at [www.duet3d.com]. I hope that may provide the information I need to track this issue down.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 02, 2017 05:23AM
Please try version 1.18RC2.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 02, 2017 08:49AM
Hi David,

Just tried the RC2 version and it seems that the issue is still present. What's strange is that there is absolutely no debugging info when I try to access the web interface, and there is something strange showing up on the M122 at the TCP stats:
serial: M122

LINK
	xmit: 607
	recv: 1443
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

ETHARP
	xmit: 1
	recv: 226
	fw: 0
	drop: 112
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 112
	opterr: 0
	err: 0
	cachehit: 529

IP_FRAG
	xmit: 0
	recv: 0
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

IP
	xmit: 579
	recv: 1105
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

IGMP
	xmit: 0
	recv: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	proterr: 0
	rx_v1: 0
	rx_group: 0
rx_general: 0
rx_report: 0
	tx_join: 0
	tx_leave: 0
	tx_report: 0
	
ICMP
	xmit: 483
	recv: 483
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

UDP
	xmit: 0
	recv: 121
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

TCP
	xmit: 96
	recv: 96
	fw: 0
	drop: 96
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 96
	opterr: 0
	err: 0
	cachehit: 0

MEM HEAP
	avail: 1024
	used: 0
	max: 204
	err: 0

MEM UDP_PCB
	avail: 5
	used: 2
	max: 2
	err: 0

MEM TCP_PCB
	avail: 16
	used: 0
	max: 0
	err: 0

MEM TCP_PCB_LISTEN
	avail: 4
	used: 0
	max: 0
	err: 0

MEM TCP_SEG
	avail: 16
	used: 0
	max: 0
	err: 0

MEM REASSDATA
	avail: 2
	used: 0
	max: 0
	err: 0

MEM FRAG_PBUF
	avail: 8
	used: 0
	max: 0
	err: 0

MEM IGMP_GROUP
	avail: 8
	used: 1
	max: 1
	err: 0

MEM SYS_TIMEOUT
	avail: 8
	used: 6
	max: 6
	err: 0

MEM PBUF_REF/ROM
	avail: 4
	used: 0
	max: 0
	err: 0

MEM PBUF_POOL
	avail: 5
	used: 0
	max: 1
	err: 0
=== Diagnostics ===
Used output buffers: 1 of 32 (11 max)
=== Platform ===
Static ram used: 45844
Dynamic ram used: 39916
Recycled dynamic ram: 256
Stack ram used: 3240 current, 4372 maximum
Never used ram: 7916
Last reset 00:08:01 ago, cause: power up
Last software reset code not available
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 21.0MBytes/sec
SD card longest block write time: 0.0ms
MCU temperature: min 38.9, current 61.1, max 76.9
Date/time: 1970-01-01 00:00:00
Slowest main loop (seconds): 0.164490; fastest: 0.000244
=== Move ===
MaxReps: 0, StepErrors: 0, 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 heater = 0, chamber heater = -1
Heater 1 is on, I-accum = 0.0
=== 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
Code queue is empty.
=== Network ===
Free connections: 16 of 16
Free transactions: 24 of 24
=== Webserver ===
HTTP sessions: 0 of 8
FTP connections: 0, state 0
Telnet connections: 0, state 0
ok

How else can I help to track this down ?
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 02, 2017 12:38PM
Thanks for trying it, and for the report. Have you tried sending M552 S1?



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 02, 2017 01:07PM
I just found another possible cause of the problem. Please try this firmware binary: [dl.dropboxusercontent.com].



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 02, 2017 03:41PM
Tried it, no luck so far:

serial: M115
FIRMWARE_NAME: RepRapFirmware for Duet FIRMWARE_VERSION: 1.18RC2+1 ELECTRONICS: Duet 0.85 FIRMWARE_DATE: 2017-04-02
ok
erial: M586
HTTP is enabled on port 80
FTP is enabled on port 21
TELNET is enabled on port 23

Strange thing: in RC1, ftp and telnet was still working, RC2 and RC2+1 nothing is working except ping reply. No debug info, just a few TCP dropped packets for every http, FTP or telnet connection attempt.
M552 S1 doesn't help at all, networking is enabled...
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 02, 2017 05:18PM
Thanks again. Please post your config.g file.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 02, 2017 06:05PM
Sure, here you go:

M111 S1                            
M550 P3dprint				       
M551 Preprap                       
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED 
M552 P192.168.0.52					
M554 P192.168.0.1                   
M553 P255.255.255.0                 
M555 P2                           
M575 P1 B57600 S1					
M586 P1 S1
M586 P2 S1


M584 X5 Y6 E3:4:0:1:7:8
M569 P0 S1                          
M569 P1 S1                          
M569 P2 S0                          
M569 P3 S0                         
M569 P4 S1                        
M569 P5 S0
M569 P6 S0
M574 X2 Y1 Z0 S2
M574 E S1					
M906 X700 Y900 Z900 E1100 I50          
M201 X180 Y180 Z15 E1000           
M203 X20000 Y20000 Z200 E2000     
M566 X1000 Y1000 Z30 E90             
M208 X330 Y300 Z300					
M208 X0 Y0 Z0 S1					
M92 X80 Y80 Z1600					
M92 E146:146                     	
G21                                
G90                                 
M83                                


M558 P4 X0 Y0 Z1 H0.7 F100 T5000	
G31 X16.0 Y-35 Z1.48 P500           
M557 X20:320 Y20:280 S50


M143 S300
M570 S120
;M140 H1
M305 P0 R4700 T100000 B4388					
M305 P1 R4700 T92000 B4388				
M305 P2 R4700 H0 L0	
M307 H3 A-1 C-1 D-1				
M307 H0 A200 C1220.7 D25 S1 B0
M307 H1 A1499.9 C209 D5 S0.6 B0



M563 P0 D0 H1                      
G10 P0 S0 R0                        

;M563 P1 D1 H2                      
;G10 P1 S0 R0                      


; Epilogue

M106 P0 F30
M106 P1 S250 F30 H1 T55
M572 D0 S0.08
M556 S75 X0 Y0 Z0.5                  
T0

Edited 1 time(s). Last edit at 04/02/2017 06:05PM by unromeo21.
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 05, 2017 02:28PM
unromeo21, thank you for your patience.

Please can you try the new binary at [dl.dropboxusercontent.com]. If you still find you can't connect, please run M122 from USB and post the Network section of the diagnostic report here.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 06, 2017 04:33PM
So this is the full output of M122 after powering on and trying to access http (no success so far):

serial: M122

LINK
	xmit: 72
	recv: 340
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

ETHARP
	xmit: 0
	recv: 7
	fw: 0
	drop: 100
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 100
	opterr: 0
	err: 0
	cachehit: 68

IP_FRAG
	xmit: 0
	recv: 0
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

IP
	xmit: 68
	recv: 233
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

IGMP
	xmit: 0
	recv: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	proterr: 0
	rx_v1: 0
	rx_group: 0
rx_general: 0
rx_report: 0
	tx_join: 0
	tx_leave: 0
	tx_report: 0
	
ICMP
	xmit: 8
	recv: 8
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

UDP
	xmit: 0
	recv: 49
	fw: 0
	drop: 0
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 0
	opterr: 0
	err: 0
	cachehit: 0

TCP
	xmit: 60
	recv: 60
	fw: 0
	drop: 60
	chkerr: 0
	lenerr: 0
	memerr: 0
	rterr: 0
	proterr: 60
	opterr: 0
	err: 0
	cachehit: 0

MEM HEAP
	avail: 1024
	used: 0
	max: 104
	err: 0

MEM UDP_PCB
	avail: 5
	used: 2
	max: 2
	err: 0

MEM TCP_PCB
	avail: 16
	used: 0
	max: 0
	err: 0

MEM TCP_PCB_LISTEN
	avail: 4
	used: 0
	max: 0
	err: 0

MEM TCP_SEG
	avail: 16
	used: 0
	max: 0
	err: 0

MEM REASSDATA
	avail: 2
	used: 0
	max: 0
	err: 0

MEM FRAG_PBUF
	avail: 8
	used: 0
	max: 0
	err: 0

MEM IGMP_GROUP
	avail: 8
	used: 1
	max: 1
	err: 0

MEM SYS_TIMEOUT
	avail: 8
	used: 6
	max: 6
	err: 0

MEM PBUF_REF/ROM
	avail: 4
	used: 0
	max: 0
	err: 0

MEM PBUF_POOL
	avail: 5
	used: 0
	max: 1
	err: 0
=== Diagnostics ===
Used output buffers: 1 of 32 (11 max)
=== Platform ===
Static ram used: 45844
Dynamic ram used: 39916
Recycled dynamic ram: 256
Stack ram used: 3240 current, 4372 maximum
Never used ram: 7916
Last reset 00:01:03 ago, cause: power up
Last software reset code not available
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 21.0MBytes/sec
SD card longest block write time: 0.0ms
MCU temperature: min 52.5, current 54.4, max 56.8
Date/time: 1970-01-01 00:00:00
Slowest main loop (seconds): 0.164471; fastest: 0.000267
=== Move ===
MaxReps: 0, StepErrors: 0, 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 heater = 0, chamber heater = -1
Heater 1 is on, I-accum = 0.0
=== 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
Code queue is empty.
=== Network ===
Free connections: 16 of 16
Free transactions: 24 of 24
Locked: 0, state: 3, listening: 0x0, 0x0, 0x0
=== Webserver ===
HTTP sessions: 0 of 8
FTP connections: 0, state 0
Telnet connections: 0, state 0

Edited 1 time(s). Last edit at 04/06/2017 04:34PM by unromeo21.
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 07, 2017 02:17AM
Thanks, looks like it thinks it doesn't have an IP address. That gives me something to investigate.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 07, 2017 09:22AM
Thanks to your report I found the problem and fixed it in the 1.18 release.



Large delta printer [miscsolutions.wordpress.com], E3D tool changer, Robotdigg SCARA printer, Crane Quad and Ormerod

Disclosure: I design Duet electronics and work on RepRapFirmware, [duet3d.com].
Re: No web interface after upgrade from 1.16 to 1.18RC1
April 07, 2017 03:41PM
Yayyy... back to normal now ! Thanks a million !
Sorry, only registered users may post in this forum.

Click here to login