AlifeLine/Emby.Plugins.Douban

削刮失敗 - Internal Server Error

stebrick opened this issue · 11 comments

求大佬打救...

2022-09-15 17:33:09.388 Info App: [GetImages] [DOUBAN] GetImages for item: 黃子華棟篤笑系列的第1輯:娛樂圈血肉史
2022-09-15 17:33:09.388 Info App: [GetImages] [DOUBAN] Got images failed because the sid of "黃子華棟篤笑系列的第1輯:娛樂圈血肉史" is empty!
2022-09-15 17:37:17.560 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>718</errorCode><errorDescription>ConflictInMappingEntry</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2022-09-15 17:37:17.602 Error HttpClient: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>718</errorCode><errorDescription>ConflictInMappingEntry</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
2022-09-15 17:40:12.688 Info HttpClient: GET https://www.mb3admin.com/admin/service/EmbyPackages.json
2022-09-15 17:42:10.985 Info Server: http/1.1 POST http://192.168.50.139:8096/emby/Items/506/Refresh?Recursive=true&ImageRefreshMode=FullRefresh&MetadataRefreshMode=FullRefresh&ReplaceAllImages=false&ReplaceAllMetadata=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=0b8d86ab-3cae-42ae-a5ff-c0efed39eeed&X-Emby-Client-Version=4.7.6.0. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
2022-09-15 17:42:10.990 Info Server: http/1.1 Response 204 to host1. Time: 5ms. http://192.168.50.139:8096/emby/Items/506/Refresh?Recursive=true&ImageRefreshMode=FullRefresh&MetadataRefreshMode=FullRefresh&ReplaceAllImages=false&ReplaceAllMetadata=true&X-Emby-Client=Emby Web&X-Emby-Device-Name=Chrome Windows&X-Emby-Device-Id=0b8d86ab-3cae-42ae-a5ff-c0efed39eeed&X-Emby-Client-Version=4.7.6.0
2022-09-15 17:42:19.382 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i file:"/mnt/aliyunwebdav/Media_Library/綜藝/黃子華/[1990]/娛樂圈血肉史 [1] (1990)/娛樂圈血肉史 [1] (1990)/娛樂圈血肉史 [1] (1990) - [DVD無損提取].mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2022-09-15 17:42:24.799 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded
2022-09-15 17:42:25.114 Info App: [GetMetadata] [DOUBAN] Getting metadata for "黃子華棟篤笑系列的第1輯:娛樂圈血肉史"
2022-09-15 17:42:25.115 Info App: [Search] [DOUBAN] Searching for sid of movie named "黃子華棟篤笑系列的第1輯:娛樂圈血肉史"
2022-09-15 17:42:25.115 Info App: [Search] Start to Search by name: 黃子華棟篤笑系列的第1輯:娛樂圈血肉史, count: 50
2022-09-15 17:42:30.323 Info App: [GetResponse] Start to request path: /api/v2/search/subjects
2022-09-15 17:42:30.325 Info App: [GetResponse] Frodo request URL: https://api2.4jd.cc//api/v2/search/subjects?q=%e9%bb%83%e5%ad%90%e8%8f%af%e6%a3%9f%e7%af%a4%e7%ac%91%e7%b3%bb%e5%88%97%e7%9a%84%e7%ac%ac1%e8%bc%af%ef%bc%9a%e5%a8%9b%e6%a8%82%e5%9c%88%e8%a1%80%e8%82%89%e5%8f%b2&count=50
2022-09-15 17:42:30.351 Info App: [GetAsync] isLogin
2022-09-15 17:42:30.351 Info App: [GetAsync] isLoginFalse
2022-09-15 17:42:31.145 Info App: [GetAsync] response.Content: <html>
  <head>
    <title>Internal Server Error</title>
  </head>
  <body>
    <h1><p>Internal Server Error</p></h1>
    
  </body>
</html>

2022-09-15 17:42:31.361 Error App: Error in Douban Emby Movie Provider
	*** Error Report ***
	Version: 4.7.6.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_armhf.deb
	Operating system: Linux version 4.1.52 (sadog@ubuntu) (gcc version 5.5.0 (Buildroot 2017.11.1) ) #1 SMP PREEMPT Sun Mar 27 23:38:12 CST 2022
	Framework: .NET 6.0.2
	OS/Process: arm/arm
	Runtime: opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 3
	Data path: /var/lib/emby
	Application path: /opt/emby-server/system
	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Response status code does not indicate success: 500 (Internal Server Error).
	   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
	   at Emby.Plugins.Douban.FrodoAndroidClient.GetAsync(String url, CancellationToken cancellationToken)
	   at Emby.Plugins.Douban.FrodoAndroidClient.GetResponse(String path, Dictionary`2 queryParams, CancellationToken cancellationToken)
	   at Emby.Plugins.Douban.FrodoAndroidClient.Search(String name, Int32 count, CancellationToken cancellationToken)
	   at Emby.Plugins.Douban.FrodoAndroidClient.Search(String name, CancellationToken cancellationToken)
	   at Emby.Plugins.Douban.BaseProvider.Search[T](String name, CancellationToken cancellationToken)
	   at Emby.Plugins.Douban.Providers.MovieProvider.GetMetadata(MovieInfo info, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, LibraryOptions libraryOptions, String logName, TIdType id, IEnumerable`1 providers, MetadataRefreshOptions options, CancellationToken cancellationToken)
	Source: System.Net.Http
	TargetSite: System.Net.Http.HttpResponseMessage EnsureSuccessStatusCode()

这是我服务器报错了,我看看什么错误

好了,是买的代理用完了

消耗得也太快了,我加缓存了,希望能用得久一点

消耗得也太快了,我加缓存了,希望能用得久一点

仍然削刮不到,一樣有internal server error,我是香港用家不知道有沒有關係。

日志发我看看,请求url那里

日志发我看看,请求url那里

終於能削刮了!去忙了一個多小時回來突然自己好了!
感謝幫忙,想不到原來你要自己買流量讓我們用,太佛心了。

有一個小功能提議﹕可否加上繁簡轉換?還是已經有方法可以轉的?

好了,是买的代理用完了

說起來,長遠方案會不會出一個程序讓用家自建server去削刮會更好?我看到有其它的削刮器是這樣做的。
這樣也不必依賴大佬買的流量...

日志发我看看,请求url那里

終於能削刮了!去忙了一個多小時回來突然自己好了! 感謝幫忙,想不到原來你要自己買流量讓我們用,太佛心了。

有一個小功能提議﹕可否加上繁簡轉換?還是已經有方法可以轉的?

下个版本我加一下吧

好了,是买的代理用完了

說起來,長遠方案會不會出一個程序讓用家自建server去削刮會更好?我看到有其它的削刮器是這樣做的。 這樣也不必依賴大佬買的流量...

我之后把服务端开源出来,需要搭建mongodb,部署上可能有些麻烦

可以考虑用docker部署,呵呵

恢复了,后端代码地址:https://github.com/AlifeLine/Emby.Plugins.Douban.PythonBackend
我更新下一版的时候可以更改为自己的后端了