Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Crash when connecting to my home Wifi router

    Scheduled Pinned Locked Moved LoPy
    26 Posts 6 Posters 11.3k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      abilio
      last edited by

      Yes, I'm an engineer at Pycom, and our team of firmware engineers (lead by Daniel) take turns into fixing bugs. We prioritize them by severity (this one is a severe one).

      Sadly, in this case, we've checked and believe is something related with changes in Espressif's IDF in between 0.9.5 and 0.9.6. We're filling a bug report with them. As soon as we get a response, it will be included in that week's release.

      Thanks everyone for your patience :)

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        JF002 @abilio
        last edited by

        @abilio I hope it will be fixed soon :) Keep us up to date!

        1 Reply Last reply Reply Quote 0
        • A Offline
          abilio
          last edited by

          It seems that this bug was reported in parallel by another ESP32 user. The suspected cause is an issue with IPV6. If you want to keep track of the issue, see here:

          https://github.com/espressif/esp-idf/issues/133

          J 1 Reply Last reply Reply Quote 0
          • M Offline
            macfreek
            last edited by

            Thanks. From that thread it seems that the culprit was IPv6 router solliciation (as needed for SLAAC, which is often used in conjunction with DHCPv4). It seems I was looking at the correct event, but the wrong packet. My apologies for that. I have not yet reproduced it, but this seems very likely. I will follow the other thread for the upstream bug. Could you report back here once upstream is fixed and a new firmware for the pycom boards is available?

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              abilio @macfreek
              last edited by

              @macfreek, We'll report any progress here. Expect it to be included in the release after a solution is found :)

              1 Reply Last reply Reply Quote 0
              • W Offline
                williamv
                last edited by

                good find @abilio !! i changed ipv6 settings on my wireless router Netgear R7000 from 6to4-tunnel to Disabled and have not seen the crash again for the last 30 min ;-)

                1 Reply Last reply Reply Quote 0
                • J Offline
                  JF002 @abilio
                  last edited by

                  @abilio I disabled the IPV6 interface on my router, and indeed, my Lopy does not crash any more.

                  I'll leave the IPV6 interface disabled for now, but this is a workaround until it is fixed in the firmware :)

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    PCA
                    last edited by

                    @abilio @JF002 same result for me. No more crashes if the wifi router IPV6 interface is disabled...

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      abilio @PCA
                      last edited by

                      @williamv, @PCA, @JF002, thank you all for your reports :)

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        macfreek
                        last edited by

                        Now that the bug has been found and fixed upstream, and merged into master, would you dare to take a stab at guessing a reasonable ETA before the upstream is released, and Pycom release a new firmware version? Is that a matter of days, around Christmas, next year, ...?

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rdixey
                          last edited by

                          I just loaded New firmware release 1.0.0.b1 on my LoPy and tested my WiFi connection and it worked without crashing. I see that this release included an Update to the latest IDF from Espressif, so I assume this addressed the problem. I glad this is fixed since I had no way to turn off IPv6 on my cable modem.

                          Thanks Pycom

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            JF002 @rdixey
                            last edited by

                            Same for me, I updated to version 1.0.0.b1, re-enabled IPV6 on my router, and wifi does not seem to crash anymore.
                            I'll do more extensive test this afternoon :)

                            1 Reply Last reply Reply Quote 0
                            • W Offline
                              williamv
                              last edited by

                              Same for me, upgraded firmware to 1.0.0.b1 on my LoPy, re-enabled IPv6 on router, happy puppy sinds then. Thank you for quickly fixing Pycom team!

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1
                              • 2
                              • 2 / 2
                              • First post
                                Last post

                              Pycom on Twitter

                              Pycom