benze 1 Posted February 5, 2021 Posted February 5, 2021 My OpenSubtitles plugin has suddenly stopped working on me in the last couple of days. The only trace I see in the log file when I try to download subtitles is: 2021-02-05 00:37:08.578 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc 2021-02-05 00:37:09.454 Info HttpClient: POST https://api.opensubtitles.org/xml-rpc Is there a way I can enable trace logs to see the full traffic flow? Given that I don't have any other information in the server logs, it is hard to know what/where/why it is not getting a response. I don't know if it is a 500, 404, 401, etc. Previously had been working fine. Where can I modify logging levels? Thanks, Eric
Luke 42079 Posted February 5, 2021 Posted February 5, 2021 Hi, if the http request to open subtitles comes back with an error response, that will be logged. If that's not happening, then we can assume we got a 200 response and the most likely results is that they simply returned zero results for the search query. If you enabled the hash match option I would try turning that off to get more results.
benze 1 Posted February 5, 2021 Author Posted February 5, 2021 Hi, I don't have the hash match on. And while I would agree that it is possible that there are no matches, this seems to be happening across the board for all matches I am trying to make. Which is why I would have liked to be able to view/inspect the traffic and see if there has been a change on the OpenSubtitles side, or if there is a problem with my connection, or if the metadata being sent is incorrect, etc. Is there any way I can trace/debug the traffic? Thanks, Eric
Luke 42079 Posted February 5, 2021 Posted February 5, 2021 We'd have to add more logging to do that, but just from a quick test, I'm able to get results back from a manual search.
benze 1 Posted February 5, 2021 Author Posted February 5, 2021 (edited) The web platform seems to be functional as well. Which is why I was hoping to trace/dump the payload and double check that the payload that the plugin is sending so I can reproduce/send manually and double check the results. I'm not sure of what the payload structure should be (I could look at the Opensubtitles API), but the reality is that I would want to trace/trap the request/payload sent by Emby to be sure. Unfortunately, I can't use tcpdump to grab data either as it is all HTTPS, and I'm not sure how to set up for MITM proxy'ing with the stripped down EmbyServer docker container. Any suggestions what I can do to get more details? Thanks, Eric Edited February 5, 2021 by benze
Bfrauenkron 0 Posted February 6, 2021 Posted February 6, 2021 Started having same issue myself with latest version install. Can see the subtitles but they fail to manually download.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now