Connection interrupted, attempting to reconnect...



  • "Connection interrupted, attempting to reconnect. HTTP Request Timed Out"

    I've had my fair share of resolvable issues, usually brought on by myself, but I'm about to lose my mind with this one.

    Put simply, I get the error above (and a disconnect) randomly, frequently. I can barely get a file uploaded, if at all, before it disconnects. There are three other machines, all using duet 2 boards in the same area with no issues. Moving the machine around (EG, closer to wifi access point) does not appear to help.

    Any advice?

    EDIT: RRF3.1, DWC 2.0.7



  • @plasticfactory said in Connection interrupted, attempting to reconnect...:

    EDIT: RRF3.1, DWC 2.0.7

    DWC 3.1.1 should be used with RRF3.1.1



  • @Veti Thanks, I actually thought I was on the most recent version! I will definitely update. With that said, all my machines are currently on the same versions and I only have this issue with one. I will update and report back, hopefully it helps.



  • I updated to 3.1.1 RRF3 Firmware (apparently this one was 3.0), then 3.1.1 DWC, and now cannot connect. I have followed normal connection steps, it simply times out. I used these instructions for installation:
    https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware#Section_Updating_WiFi_firmware_or_DuetWebControl_files

    And installed this firmware:
    https://forum.duet3d.com/topic/16381/software-bundle-3-1-1-now-available

    I used YAT to go through the reconnection process and everything is fine -- until I try to use DWC.



  • can you post the output of m122.

    try and move the wiring.



  • M122:
    === Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later + DueX5<LF>Board ID: 08DGM-9T6BU-FG3SJ-6JKF4-3SJ6T-TAYBH<LF>Used output buffers: 1 of 24 (1 max)<LF>=== RTOS ===<LF>Static ram: 27980<LF>Dynamic ram: 94196 of which 56 recycled<LF>Exception stack ram used: 248<LF>Never used ram: 8592<LF>Tasks: NETWORK(blocked,1448) HEAT(blocked,1276) DUEX(suspended,160) MAIN(running,1656) IDLE(ready,80)<LF>Owned mutexes: WiFi(NETWORK)<LF>=== Platform ===<LF>Last reset 00:00:11 ago, cause: power up<LF>Last software reset at 2020-12-23 15:47, reason: User, spinning module GCodes, available RAM 8576 bytes (slot 2)<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN<LF>Error status: 0<LF>MCU temperature: min 17.6, current 21.0, max 21.1<LF>Supply voltage: min 0.3, current 1.3, max 1.3, under voltage events: 0, over voltage events: 0, power good: no<LF>Driver 0: ok, SG min/max not available<LF>Driver 1: ok, SG min/max not available<LF>Driver [Warning: Maximal number of bytes per line exceeded! Check the EOL (end-of-line) settings or increase the limit in the advanced terminal settings.]

    As an aside, is there a better way to display or format that on this forum?

    I admit I'm not sure what you mean by move the wiring, but I took it literally and jingle jangled things around.



  • Well, I'm not sure if it was the jingle jangling (or perhaps an indicator of other hardware issues) but I changed nothing and it eventually connected.

    I haven't had enough time to see if it still has connectivity issues, but it was happening frequently enough that I should know soon.

    Anything I should be concerned with in the M122?



  • So far so good. It was disconnecting every minute or so before.



  • @plasticfactory said in Connection interrupted, attempting to reconnect...:

    As an aside, is there a better way to display or format that on this forum?

    There is a code formatting button looks like </> or you could use backticks, a single one for `inline` and three over and under multiple lines

    ```
    Multiple
    Lines
    ```
    

    Also change the line ending in the terminal for propper display before formatting in forum


  • Moderator

    Occasiobnally when updating from 3.0 to 3.1.1 the wifi server firmware will not successfully update. You might want to try re-flashing just the wifi server by sending M997 S1


Log in to reply