Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login
    1. Home
    2. Tags
    3. urequests

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

    Log in to post

    • All categories
    • N

      Failure on urequests library OSError: no available NIC

      Watching Ignoring Scheduled Pinned Locked Moved Issues & Bugs urequests urequest.py get oserror requests
      2
      0 Votes
      2 Posts
      122 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

      urequests and r.close()

      Watching Ignoring Scheduled Pinned Locked Moved Getting Started urequests r.close
      1
      0 Votes
      1 Posts
      209 Views
      No one has replied
    • K

      urequests timeouts

      Watching Ignoring Scheduled Pinned Locked Moved GPy timeout urequests
      9
      0 Votes
      9 Posts
      689 Views
      K
      @andreas blobs are a bit beyond my skill set but ai=socket.getaddrinfo(host, 443) is using a socket so I reckon a 5s OSError socket timeout should prevent hangs if someone can figure out how to change the default timeout & recompile. My thread attempt was pretty simple, put getaddrinfo in a thread, wait for 5s in the main program then move on if the thread had not produced a DNS by then. Instead the main program stalled after 1 iteration of the 5s delay loop and waited for the thread.
    • O

      http post requests

      Watching Ignoring Scheduled Pinned Locked Moved Getting Started post urequests codesample
      16
      1 Votes
      16 Posts
      1k Views
      J
      @oglucio it would be difficult to get the same error if you applied the fix given in that post. Can you post the error and the corresponding line of your code?
    • N

      HTTPS Post Type Error with urequests

      Watching Ignoring Scheduled Pinned Locked Moved FiPy urequests
      1
      0 Votes
      1 Posts
      244 Views
      No one has replied
    • K

      OSError: -29312

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython oserror urequests
      2
      0 Votes
      2 Posts
      265 Views
      M
      Where did you get the urequests library from? You'll need to check the source code and search for that error code.
    • K

      JSON posts

      Watching Ignoring Scheduled Pinned Locked Moved Support & Troubleshooting requests urequests micropython
      4
      0 Votes
      4 Posts
      915 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 ?
    • S

      Invalid json returned by urequests get

      Watching Ignoring Scheduled Pinned Locked Moved Discussion urequests http get json
      7
      0 Votes
      7 Posts
      2k Views
      K
      @paul-thornton I got that sorted by modifying line 53 in urequests as per a suggestion I found online somewhere Paul. I could really use some help withhttps://forum.pycom.io/topic/4014/gpy-in-deep-sleep though.
    • S

      Not able to do GET using urequests library

      Watching Ignoring Scheduled Pinned Locked Moved Discussion http get urequests
      4
      0 Votes
      4 Posts
      1k Views
      L
      Hi, could you please tell me where can I find the urequests.py
    • M

      Gpy + Pysense - urequests AttributeError: 'module' object has no attribute 'get'

      Watching Ignoring Scheduled Pinned Locked Moved GPy gpy psense http get urequests urequest.py
      7
      3
      0 Votes
      7 Posts
      2k Views
      M
      @seb Everything work fine, after sync again! Thank you very much
    • A

      urequests with ussl causes an OSError

      Watching Ignoring Scheduled Pinned Locked Moved MicroPython urequests oserror post
      6
      1 Votes
      6 Posts
      2k Views
      D
      @this-wiederkehr You've got the point. I've tried this and finally, it works without any error. Thanks a lot.
    • 1 / 1