Web control just sits there... doesn't connect/ ask for password



  • Hey guys,

    Honestly, I've searched and looked everywhere so I apologise if I've missed the answer already!

    I've just upped from an 0.8.5 to Duet 2 Wifi and I had a PanelDue 1.1 which I've upped to a 3.0a. I've basically spent the day trying to get it up and running and finally made some progress - but not fully!

    I put 2.0.2 on the Wifi and PanelDue-v3-4.3 on the PanelDue. It took a mission to get it to get onto my network (my config was copied over from my SD which was in the 0.8.5 - and with static IP stuff, etc which I didn't really know what I was playing around with)

    Anyways, I eventually went down the "SetNetwork" macro route and that seems to have done the trick. Trying to go through terminal was awful and I thought Pronterface had saved the day but it just seems to send whatever it feels like rather than what I ask it to. Nevertheless, I've eventually commented out the static IP stuff and have gone into my router (Netgear R7800) settings and given it a static IP of 192.168.1.50. All good.

    When I start it up (it's currently sitting on the desk, connected via USB to my Mac for power) it says fire warning then says it's connected to my network "INTERNET-2.4" with 192.168.1.50. However.... when I go to 192.168.1.50 on my Mac it sort of loads the page but stops. It's got the Duet layout but it shows as disconnected and when I press connect it does nothing. Everything is un-selectable. I use Safari but thought I'd give Chrome a whirl too - same thing. Tried off/ on, etc. Changed password on the config file but it doesn't even bring the password entry box up (which it used to on the 0.8.5 before it decided to constantly drop out with Ajax errors... but atleast it did start like it wanted to play!)

    At a loss and reallyyyy hoping to get this thing running - dead printer for couple weeks now and it's killing!!! 😞

    as always,
    e_p

    EDIT TO ADD screenshot:
    0_1563657935258_Screenshot 2019-07-20 at 22.25.03.png



  • Web control is mostly just files downloaded from the duet and run in your browser, so if you can load the page I'm not sure why it wouldn't work as the two are clearly on speaking terms.

    Does your Mac browser have a javascript and/or network console you could look at for some insights as to whats missing?



  • Can you send M122 to get a diagnostic output?
    I'm thinking that maybe your DWC files or the wifi server is out of sync with the firmware.

    https://github.com/dc42/RepRapFirmware/releases/tag/2.03
    https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware



  • @bearer said in Web control just sits there... doesn't connect/ ask for password:

    Web control is mostly just files downloaded from the duet and run in your browser, so if you can load the page I'm not sure why it wouldn't work as the two are clearly on speaking terms.

    Does your Mac browser have a javascript and/or network console you could look at for some insights as to whats missing?

    Hmm, I'm not sure. Not sure what I'm looking for tbh.

    @phaedrux said in Web control just sits there... doesn't connect/ ask for password:

    Can you send M122 to get a diagnostic output?
    I'm thinking that maybe your DWC files or the wifi server is out of sync with the firmware.

    https://github.com/dc42/RepRapFirmware/releases/tag/2.03
    https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware

    M122:
    0_1563703029333_Screenshot 2019-07-21 at 10.54.46.png

    What's strange to me, is it shows as SD card 0 detected? Does this mean it's detected - in slot 0 (SD is in main board - no SD extender) or it's not detected? If not detected then it wouldn't then see the my config and password within it - and I wouldn't be able to login?

    My router is picking it up (as expected - since it's loading the page, it just seems that it's not getting through to the www/ folder or the config file?), the MAC adds up with what m122 is seeing:

    0_1563704092755_Screenshot 2019-07-21 at 11.12.21.png

    e_p



  • @en_passant said in Web control just sits there... doesn't connect/ ask for password:

    Hmm, I'm not sure. Not sure what I'm looking for tbh.

    looking for javascript errors or errors from files it can't access, it reveals the inner workings of a webpage sort of speak. I'm clearly not familiar with Mac, but this might help https://www.wickedlysmart.com/hfjsconsole/



  • @phaedrux said in Web control just sits there... doesn't connect/ ask for password:

    Can you send M122 to get a diagnostic output?
    I'm thinking that maybe your DWC files or the wifi server is out of sync with the firmware.

    https://github.com/dc42/RepRapFirmware/releases/tag/2.03
    https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware

    0_1563718575050_Screenshot 2019-07-21 at 15.07.43.png

    Please see there screenshot which shows everything I've done;

    I've upgraded to 2.03, reinstalled the Wifi Server and removed and copied the iap4e.bin from 2.03 on GitHub (prior to sending M997 S0, though I'm unsure if that matters).

    I confirmed it had updated with m115 then ran the SetNetwork macro. I then put the SD into my Mac and edited the config to uncomment M552 S1 then put back into the Duet Wifi and powered up.

    The screen shows the Duet3D splash when powering then shows warning heater1 overtemp then connected to access point INTERNET-2.4 - IP 192.168.1.50.

    When I've connected to 192.168.1.50 on my Mac.... oh, the suspense... I'm doing it now...

    ...It now asks for the password which I've punched in and it's connected!!! Absolutely massive thank you! Don't know which part was wrong (though I'm thinking it may have been the /www folder as the contents of that are different from the renamed /www to /www-notworking folder.)

    e_p



  • @bearer said in Web control just sits there... doesn't connect/ ask for password:

    @en_passant said in Web control just sits there... doesn't connect/ ask for password:

    Hmm, I'm not sure. Not sure what I'm looking for tbh.

    looking for javascript errors or errors from files it can't access, it reveals the inner workings of a webpage sort of speak. I'm clearly not familiar with Mac, but this might help https://www.wickedlysmart.com/hfjsconsole/

    Woah, I did try to look into that - but above my pay grade! Got very lost... very quickly! Who's have thought buying a 3D printer would also involve learning java! 😮

    e_p


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.