xnorcode
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
Thanks again for your prompt support!
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
Hopefully, we'll get a new stable version soon.
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
I am upgrading to SDK 1.7.2 which seems to be working fine so far.
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
@yhlong00000 Runpod SDK 1.6.2 not working even while updating requests after install runpod package as suggested above. I've emailed some more details about this test for you to review.
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
@yhlong00000 I completed testing with 1.7.2 and seems to be working perfectly without any retries. I just sent you an email with logs and more information for you to review. I'm now testing with 1.6.2 version and will update you on that soon.
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
ok thnx, will try version 1.7.2 as well.
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
good suggestion, will try this now.
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
tried all variations of url formatting
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
HOSTNAME = "127.0.0.1"
PORT = 8188
url = f"http://{HOSTNAME}:{PORT}"
response = requests.get(url)
# If the response status code is 200, the server is up and running
if response.status_code == 200:
utils.log(f"API: reachable!")
return True
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
once the comfy server is up and running the below get request raises the above error:
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
and here's the line of code that I get the error from:
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
ValueError: Host '127.0.0.1:8188' cannot contain ':' (at position 9)
raise ValueError(
File "/usr/local/lib/python3.10/dist-packages/yarl/_url.py", line 1386, in _encode_host
_host = _encode_host(host, validate_host=True)
File "/usr/local/lib/python3.10/dist-packages/yarl/_url.py", line 355, in build
url = URL.build(scheme=self.scheme, host=self.host)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_request.py", line 451, in url
File "aiohttp/_helpers.pyx", line 26, in aiohttp._helpers.reify.get
not request.url.raw_path.startswith(self._prefix2)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_urldispatcher.py", line 767, in resolve
match_dict, allowed = await resource.resolve(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_urldispatcher.py", line 1022, in resolve
match_info = await self._router.resolve(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_app.py", line 512, in _handle
resp = await request_handler(request)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/web_protocol.py", line 452, in _handle_request
Traceback (most recent call last):
Error handling request
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
this is the error I get with 1.6.2:
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
I can't do anything about the 1.7.3 version so waiting for the Runpod team. I'm currently trying to see if there's anything I can do from my side to get the 1.6.2 version working (which also seems there's not much from side to do).
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
When downgrading to the SDK version 1.6.2 I now get another error causing the worker to stop/fail: ValueError: Host '127.0.0.1:8188' cannot contain ':' (at position 9)
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
When upgrading to the latest version SDK 1.7.3 the worker container seems to crash (gets removed) once the model is loaded and my starts inference steps. So this is another issue we're experience and also forwarded to the team, hopefully they'll find a fix soon.
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
Hi Andreas,
The issue you’re experiencing is a known bug in SDK 1.7.1. To resolve this, please update to SDK 1.7.3 or downgrade to 1.6.2, which should fix the retry problem.
The root cause is that our system runs a health check during long tasks, and if the check isn’t reported in time, the job is put back in the queue, causing a retry.
Let me know if you have any questions or need further assistance.
Best Regards,
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
After a lot of tests (writing/rewriting) of my code, I couldn't figure out what the issue was from side. I am in continues talk with the support team suggesting this was s know issue with the Runpod SDK version I was using and should change it to solve the issue
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
So a little update on my case
53 replies
RRunPod
•Created by bart on 10/18/2024 in #⚡|serverless
Asynchronous serverless endpoint failing with 400 Bad Request
Still there's issues...
53 replies