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

    Fw: 1.6.7.b1 socket error -78 and errno 9 Ebadf

    Scheduled Pinned Locked Moved Discussion
    httpssocketserror
    1 Posts 1 Posters 920 Views 1 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.
    • Y Offline
      yahia
      last edited by yahia

      Hello,

      I am running an application on a LoPy that does post/get requests every n amount of minutes. The application is intended to run 24/7 but in the evening (after it has been running for hours) I get an OsError -78 following an errno 9 Ebadf. Since I catch exceptions and print them it keeps going and alternates between these errors until I reset it.

      Does anyone know what Oserror -78 stands for? and why errorno 9 occurs?

      I know that sockets have their own errors thats why it is a negative number. I was hoping someone can help me solve this; it is probably something in my code.

      The LoPy is running with firmware 1.6.7.b1 and i am using the urequests library for the https requests.

      Thank you,

      1 Reply Last reply Reply Quote 1

      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 / 1
      • First post
        Last post

      Pycom on Twitter

      Pycom