-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bazarr Connection aborted, timeout #34
Comments
the actual webhook is /asr, but Bazarr appends if for you. So in your browser it would be http://address:8090/asr Should get you past a not found at least. Is your subgen container/machine reachable by bazarr (can you ping it?). Without knowing anything about your configuration my only guess is that you have a networking issue somewhere (likely in Docker). |
/asr I get "method not allowed" and yes Bazarr can ping it |
Can you send a screenshot of your Whisper config in Bazarr?
…On Wed, Dec 20, 2023 at 1:32 PM Spillebulle ***@***.***> wrote:
/asr I get "method not allowed" and yes Bazarr can ping it
—
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APJACQLFV2B4XVWCJMRTKS3YKNDLPAVCNFSM6AAAAABA5LP3LOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRVGEYDAMZUG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Here are the debug logs from Bazarr 2023-12-20T20:12:39.840715757Z 2023-12-20 21:12:39,840 - urllib3.connectionpool (7fc1fa183b38) : DEBUG (connectionpool:228) - Starting new HTTP connection (5): 192.168.0.2:8090 |
Will likely close in the next 24 hours as this doesn’t appear to be a subgen issue. |
Yeah, seems like the issue is somewhere else. I can't get it to work with this one either with Bazarr and noone from their team is responding |
Also works fine with plex webhooks |
I'd just confirm that your subgen and bazarr are in the same docker network (assuming you're running docker). Also make sure you're using the correct docker host address (again, assuming your docker host is 192.168.0.2, so both subgen and bazarr are at 192.168.0.2). You could also try using the internal subgen docker address if they are on the same docker network configuration. If plex webhooks works, your subgen and plex network configuration are good. Kind of implies that your bazarr is different. |
Bazarr and Subgen are on different physical machines. 192.168.0.4 is Bazarr and 192.168.0.2 is Subgen. They are on the same physical network and the connections are bridged so should work fine. Do they need to be on the same host? |
If you didn't manually place subgen.py into your /var/lib/.../Subgen-data : /subgen volume, then it could be outright failing to start the script at this time. If your container starting correctly/logs showing uvicorn started? /var/lib/.../Subgen-data : /subgen volume isn't recommended unless you're doing dev work, you can remove it and re-pull the image. |
Works like a charm with plex webhooks so there is no issue with generation it seems |
That is odd. Looks like you checked everything I would have. Sorry it isn’t working. Seems odd plex webhooks work, but not bazarr. Maybe check that you don’t have an errant space at the beginning or end of the text entries in the bazarr whisper config (I had that issue a bit ago). |
Really appreciate the help. I am trying to get help from the Bazarr guys and will continue to try, but they are stuck in a wild goose chase claiming its the timeout "7200" sec even though it times out on first contact after 20 sec |
Finally got a response from them. They say calls to /detect-language is taking too long. 5 sec timeout |
It is an issue in Bazarr. If you have a slow CPU that takes longer than 5 sec to respond it just doesn't wait |
Hi, I set the container up and I get to the "Not found" page if I open port 8090 in the webbrowser.
But in Bazarr I get this error in the logs when I try to use it as a provider:
2023-12-20T20:08:25.963304814Z 2023-12-20 21:08:25,962 - retry.api (7fc1fa395b38) : WARNING (api:40) - ('Connection aborted.', TimeoutError('timed out')), retrying in 5 seconds...
2023-12-20T20:08:36.145970006Z 2023-12-20 21:08:36,145 - retry.api (7fc1fa395b38) : WARNING (api:40) - ('Connection aborted.', TimeoutError('timed out')), retrying in 5 seconds...
2023-12-20T20:08:46.360092257Z 2023-12-20 21:08:46,359 - root (7fc1fa395b38) : INFO (get_providers:366) - Throttling whisperai for 24 hours, until 23/12/21 21:08, because of: ConnectionError. Exception info: "'('Connection aborted.', TimeoutError('timed out'))' ~ whisperai.py@233"
The text was updated successfully, but these errors were encountered: