Repository navigation
unexpected status 503 Service Unavailable: Service temporarily unavailable: all targets were skipped by pre-dispatch filters #13208
Replies: 3 comments
|
I had the same issue. In my case, the API key had access to the combo name, but not to all underlying models used by that combo. As a result, OmniRoute filtered out every target and returned all targets were skipped by pre-dispatch filters. Check the API key’s model permissions and make sure it has access to:
Alternatively, temporarily remove the model restrictions or set the key to full model access to confirm that permissions are the cause. I resolved the problem by granting the API key full access to all models. After that, the combo started working normally. |
|
Hey @shshicj-create! @inbev92 is right about one of the causes, and that 503 is deliberately diagnostic - the response body tells you exactly which targets were dropped and why.
Read the diagnostics in the error bodyThe JSON body carries curl -s -X POST http://localhost:20128/v1/chat/completions \
-H "Authorization: Bearer $YOUR_KEY" -H "Content-Type: application/json" \
-d '{"model":"YOUR_COMBO","messages":[{"role":"user","content":"hi"}]}' | jq .The usual causes, in the order worth checking
Paste the |
|
@shshicj-create -- still happening on the latest version (3.8.52)? Otherwise I'll close this in 7 days for inactivity. |
Uh oh!
There was an error while loading. Please reload this page.
I'm having this issue for the last 2 days and I couldn't solve it. can somebody help me to fix this problem?
All reactions