linuxserver / docker-jackett

GNU General Public License v3.0
394 stars 95 forks source link

Error adding tracker with username and password #21

Closed olemal closed 7 years ago

olemal commented 7 years ago

Am trying to add a tracker with username and password and I get a error message, a tracker without username/password am able to add. OS: Windows 10, USER: abc, ID:911 . Docker images is made by the commands from readme I open a console with that user and am able to create a file > touch filename Looking in explorer i can see the files being created and the mount is good..

03-12 00:10:26 Error Exception in Configure System.Security.Cryptography.CryptographicException: Data protection failed. ---> System.Security.Cryptography.CryptographicException: Improperly protected user's key pairs in '/config/.mono/keypairs'. at Mono.Security.Cryptography.KeyPairPersistence.get_UserPath () [0x0010d] in :0 at Mono.Security.Cryptography.KeyPairPersistence.get_Filename () [0x0006c] in :0 at Mono.Security.Cryptography.KeyPairPersistence.Load () [0x00000] in :0 at System.Security.Cryptography.RSACryptoServiceProvider.Common (System.Security.Cryptography.CspParameters p) [0x0000c] in :0 at System.Security.Cryptography.RSACryptoServiceProvider..ctor (System.Int32 dwKeySize, System.Security.Cryptography.CspParameters parameters) [0x00023] in :0 at Mono.Security.Cryptography.ManagedProtection.GetKey (System.Security.Cryptography.DataProtectionScope scope) [0x0003d] in <4e846e5e073e42a59beb6f5f871cf0f1>:0 at Mono.Security.Cryptography.ManagedProtection.Protect (System.Byte[] userData, System.Byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope) [0x00156] in <4e846e5e073e42a59beb6f5f871cf0f1>:0 at System.Security.Cryptography.ProtectedData.Protect (System.Byte[] userData, System.Byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope) [0x00030] in <4e846e5e073e42a59beb6f5f871cf0f1>:0 --- End of inner exception stack trace --- at System.Security.Cryptography.ProtectedData.Protect (System.Byte[] userData, System.Byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope) [0x00051] in <4e846e5e073e42a59beb6f5f871cf0f1>:0 at Jackett.Services.ProtectionService.ProtectDefaultMethod (System.String plainText) [0x0006a] in :0 at Jackett.Services.ProtectionService.Protect (System.String plainText) [0x00011] in :0 at Jackett.Models.IndexerConfig.ConfigurationData.ToJson (Jackett.Services.IProtectionService ps, System.Boolean forDisplay) [0x00139] in :0 at Jackett.Indexers.BaseIndexer.SaveConfig () [0x00000] in :0 at Jackett.Indexers.BaseIndexer+casyncC.MoveNext () [0x0003d] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in :0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in :0 at Jackett.Indexers.RevolutionTT+casync0.MoveNext () [0x0023f] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in :0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in :0 at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in :0 at Jackett.Controllers.AdminController+c__async4.MoveNext () [0x00167] in :0

desimaniac commented 7 years ago

@olemal Figured out how to fix this. Add -e JACKETT_KEY=XXXX into your run/create command, where XXXX can be any arbitrary number. See comments listed here.

sparklyballs commented 7 years ago

closing this as user appeared to have solved it.