Artworks.thetvdb.com issue and Sharing violation issue

Sonarr version (2.0.0.5344):
Mono version (5.20.1.34):
OS: Synology NAS Docker
Debug logs: sonarr.txt logs - logs uploaded to mega.nz

Description of issue:

the link above is the entire sonarr.txt log file. i have two issues

i recently changed from running sonarr as a package in synology to sonarr as a docker.
in another docker i have setup correctly and working fine on my local computer and my phones a v2ray container. in the sonarr settings area for proxy i put my LAN ip and in the v2ray container i see it making successful connections to the v2ray container to then to skyhoook and to sonarr sites.

i see that in the log, and that link clearly works with the v2ray (vpn ) turned on.

20-4-14 01:46:51.9|Warn|HttpClient|Failed to get response from: https://artworks.thetvdb.com/banners/posters/329065-2.jpg The operation has timed out.
20-4-14 01:46:51.9|Warn|MediaCoverService|Couldn't download media cover for [329065][Castlevania]. The operation has timed out.
20-4-14 01:47:02.4|Warn|HttpClient|Failed to get response from: https://artworks.thetvdb.com/banners/posters/295640-4.jpg The operation has timed out.
20-4-14 01:47:02.4|Warn|MediaCoverService|Couldn't download media cover for [295640][Chicago Med]. The operation has timed out.
20-4-14 01:47:02.5|Error|MetadataService|Couldn't download image /config/MediaCover/82/fanart.jpg for [295640][Chicago Med]. Path doesn't exist!

the other issue is with some permissions. and i dont know why, i set the PUID / GUID to user 0 / group administrator. and i am seeing this error in the log.

[v2.0.0.5344] System.IO.IOException: Sharing violation on path /config/MediaCover/82/poster.jpg
 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
 at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
 at System.IO.File.OpenRead (System.String path) [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
 at NzbDrone.Api.Frontend.Mappers.StaticResourceMapperBase.GetContentStream (System.String filePath) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Api\Frontend\Mappers\StaticResourceMapperBase.cs:48 
 at NzbDrone.Api.Frontend.Mappers.StaticResourceMapperBase+<>c__DisplayClass7_0.<GetResponse>b__0 () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Api\Frontend\Mappers\StaticResourceMapperBase.cs:37 
 at Nancy.Responses.StreamResponse+<>c__DisplayClass1.<GetResponseBodyDelegate>b__0 (System.IO.Stream stream) [0x00000] in <63c44d6f8d7e4f339a987bf9eb94d931>:0 
 at Nancy.Responses.MaterialisingResponse.PreExecute (Nancy.NancyContext context) [0x00011] in <63c44d6f8d7e4f339a987bf9eb94d931>:0 

any help would be really nice, thanks guys,
**BTW i am always on freenode irc in #sonarr ** name Rp4k

some people said that because linux-server/Sonarr is built with

python2.7.15~rc1-1
python2.72.7.17-1~18.04
python2.7-minimal2.7.17-1~18.04
python-minimal2.7.15~rc1-1 

and this uses outdated SSL. this is the other reason why TVDB stopped using it. and updated

So can we please get an update or a fix. because i have to use SSL for my vpn and i need to be on a vpn to access TheTVDB database. because the site is blocked.

Python has nothing to do with Sonarr, Sonarr doesn’t use it in anyway.

It’s not clear from your description whether it works with the VPN or it works without it, but either way it sounds like a networking issue/TVDB is blocking you.

This seems like it could be a symptom of the download failing.

I posted the log above. in my first post. I have to use the proxy settings since the website www.thetvdb.com is blocked in china. I posted a picture of the website successfully being reached in my v2fly container.

I fixed the permission issue by changing the puid/guid .

I dont know why though it keeps failing at the artwork.thetvdb.com address if it is connecting successfully through my v2ray proxy. I tried socks5 and http(s)

I want to also add that I have no issues accessing skyhook with no VPN here in china. it is only for the one website that I need it. thetvdb.com

i can’t get tvdb to work with or without a vpn. its blocking me because i am in china. and when i use a vpn it still doesn’t work, i tried from the synocommunity package Sonarr and now i have tried from the linuxserver/sonarr docker. if i login to my windows machine and use a vpn the websites load fine.

I’m assuming you’re using Sonarr’s proxy settings it will bypass in v2, but was fixed in v3.

You’d have to upgrade to the v3 beta for it to work (it’s not something that will ever be in v2).

for migration to v3 is it easier to backup my configuration and install a new docker or is it easier to start from scratch and just import my library. also in docker v3 is not the master correct.

((Backup and Restore)) in v3.

It’s not in the master branch currently, how to install is on sonarr.tv

so do i just go to my localhost:8989/settings/general then go to the bottom and under update where it says master change it to say preview? then the update will show up? or do i need to go in my synology docker app and download ** linuxserver/sonarr:preview** first then load that docker up and then just put the backup into that containers config section.

No, it’s a different image you need to use.

sorry markus101 last question. in docker under Choose Tag:

do i select : 3.0.3.754-ls4
or do i go to the bottom and select Preview

Did you read the instructions on sonarr.tv?

Specifically under https://sonarr.tv/#downloads-v3-docker

yes sorry i did, i installed v3, but now i have another question about this proxy setting in v3, it cant seem to connect correctly to my jackett or downloadstation. on my synology jackett and downloadstation are packages that i downloaded at the Synocommunity package center and installed through synology Package Center.
if i turn off the proxy it works fine. sonarr see’s the download station and jackett server just fine.

i have tried bypass proxy for local addresses and with that box not checked , i have had the same results , and in my v2ray proxy container i see the local port going through there and being accepted.
but if bypass proxy for local address is checked why is it still going through the proxy?

http://192.168.0.104:5000/webapi/DownloadStation/task.cgi?_sid=MtDSZKgj4pN6Q1620NJN666202&api=SYNO.DownloadStation.Task&version=1&method=list&additional=detail%2Ctransfer]

All indexers are unavailable due to failures
	
All search-capable indexers are temporarily unavailable due to recent indexer err

but if i turn off the proxy they all go away. so idk why it would be causing this, i didnt see this error in v2

Moderator group, i want to say thank you so much for all your help. after moving to sonarr v3 i had to fix my ip restrictions in my proxy so now that is fixed. and now everything is working and all the posters/banners/images are all working fine. i really do think you should about pushing v3 out to everyone and bring it out of beta.

Solution TVDB errors : migrate to sonnar v3 and use proxy their after fixing what ip’s can go through the pass through in my proxy config.

Solution Permissions Properly set the PUID / GUID fields and make sure that you chown the directories that sonnar uses to the correct PUID/GUID.

Please close this thread. thanks again @markus101

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.