Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. requests
    Log in to post

    • N

      Failure on urequests library OSError: no available NIC
      Issues & Bugs • oserror urequests urequest.py get requests • • nervencid  

      2
      0
      Votes
      2
      Posts
      106
      Views

      M

      Hi, Did you check whether your WiPy is connected to wifi? If WiPy is not connected to wifi, you can receive oserror. After being sure that your WiPy connected to wifi, please try your code. Best,
    • K

      JSON posts
      Support & Troubleshooting • micropython urequests requests • • kjm  

      4
      0
      Votes
      4
      Posts
      898
      Views

      E

      @kjm Line 52 doesn't seem to be related to datapayload, so i suppose that data = ujson.dumps({"post_wrapper":payload})) do the work. I don't know what OSError 128 mean but the line seem to be related to networking. Does your software have do correctly the connect with your wifi hotspot before trying to send your request ?
    • 1 / 1