linuxserver / docker-ombi

GNU General Public License v3.0
158 stars 35 forks source link

sometimes the watchtower docker update ombi,then it cant work #98

Closed LB-DotFish closed 2 years ago

LB-DotFish commented 2 years ago

linuxserver.io

sometimes the watchtower docker update ombi,then it cant work. i create a new ombi docker,it also cant work. but it can work fine before.

Expected Behavior

Current Behavior

the discover has nothing, and the search also cant work. the log and terminal constant produce bug.

Steps to Reproduce

1. 2. 3. 4.

Environment

OS: CPU architecture: x86_64/arm32/arm64 How docker service was installed:

synology 920+ DSM 7.1-42661 Update 1 INTEL Celeron J4125

Command used to create docker container (run/create/compose/screenshot)

Docker logs

fail: Ombi.ErrorHandlingMiddleware[0] Something bad happened, ErrorMiddleware caught this

2022-05-28 23:33:15.872 +08:00 [Information] Default Quartz.NET properties loaded from embedded resource file 2022-05-28 23:33:15.971 +08:00 [Information] Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl 2022-05-28 23:33:15.975 +08:00 [Information] Quartz Scheduler v."3.1.0.0" created. 2022-05-28 23:33:15.977 +08:00 [Information] RAMJobStore initialized. 2022-05-28 23:33:15.981 +08:00 [Information] Scheduler meta-data: Quartz Scheduler (v3.1.0.0) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'Quartz.Core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'Quartz.Simpl.DefaultThreadPool' - with 10 threads. Using job-store 'Quartz.Simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2022-05-28 23:33:15.981 +08:00 [Information] Quartz scheduler 'DefaultQuartzScheduler' initialized 2022-05-28 23:33:15.981 +08:00 [Information] Quartz scheduler version: 3.1.0.0 2022-05-28 23:33:15.982 +08:00 [Information] JobFactory set to: Ombi.Schedule.IoCJobFactory 2022-05-28 23:33:16.099 +08:00 [Information] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 2022-05-28 23:33:34.120 +08:00 [Error] Something bad happened, ErrorMiddleware caught this System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream. at System.Net.Security.SslStream.g__InternalFillHandshakeBufferAsync|187_0[TIOAdapter](TIOAdapter adap, ValueTask1 task, Int32 minSize) at System.Net.Security.SslStream.ReceiveBlobAsync[TIOAdapter](TIOAdapter adapter) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Ombi.Api.Api.Request[T](Request request, CancellationToken cancellationToken) in /home/runner/work/Ombi/Ombi/src/Ombi.Api/Api.cs:line 40 at Ombi.Api.FanartTv.FanartTvApi.GetMovieImages(String movieOrImdbId, String token) in /home/runner/work/Ombi/Ombi/src/Ombi.Api.FanartTv/FanartTvApi.cs:line 42 at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreateAsync[TItem](IMemoryCache cache, Object key, Func`2 factory)

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

aptalca commented 2 years ago

from the readme:

Note: We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).