Closed testarea1 closed 5 years ago
What device and OS are you running?
What's the output (run as root) of wget -O - https://curl.haxx.se/ca/cacert.pem | cert-sync /dev/stdin
What's the output of csharp -e 'Console.WriteLine (new System.Net.WebClient ().DownloadString ("https://www.howsmyssl.com/").IndexOf ("1.2"))'
I am getting this on virtually all my Indexers. I run Jackett on my Synology.
I'm getting a "cert-sync" not found on the Synology on the first command, although it does connect to the site.
Likewise, "csharp" is a command not found as well.
I was able to get the first to run, but getting an access denied, even with sudo when it tries to import the cert...
sudo wget -O - https://curl.haxx.se/ca/cacert.pem | /volume1/@appstore/mono/bin/cert-sync /dev/stdin --2018-08-17 08:48:38-- https://curl.haxx.se/ca/cacert.pem Resolving curl.haxx.se... 151.101.22.49, 2a04:4e42:5::561 Connecting to curl.haxx.se|151.101.22.49|:443... connected. HTTP request sent, awaiting response... Mono Certificate Store Sync - version 5.8.0.108 Populate Mono certificate store from a concatenated list of certificates. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.
200 OK Length: 213947 (209K) [application/x-pem-file] Saving to: 'STDOUT'
2018-08-17 08:48:39 (637 KB/s) - written to stdout [213947/213947]
Importing into legacy system store:
I already trust 173, your new list has 132
Warning: Could not import C=PL, O=Krajowa Izba Rozliczeniowa S.A., CN=SZAFIR ROOT CA2
System.UnauthorizedAccessException: Access to the path "/var/packages/mono/target/var/.mono/certs/Trust/ski-2E16A94A18B5CBCCF56F50F3235FF85DE7ACF0C8E4D6E4DC2DEB015FB6E3B7D532D255EC075D8A3E.cer" is denied.
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
Okay, I did sudo -i which got me to an actual root prompt on the Synology.
Then did the above command successfully; it appears to have imported the certs. It then still failed the tests, but a reboot of the Synology fixed that. Almost all indexers are back (except for the ones with current problems on their ends, of course).
I appear to be working again.
Ubuntu 18.04.1 LTS on mini-PC.
Connecting to curl.haxx.se (curl.haxx.se)|2a04:4e42:a::561|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 213947 (209K) [application/x-pem-file]
Saving to: ‘STDOUT’
- 100%[===================>] 208.93K --.-KB/s in 0.05s
2018-08-17 07:27:59 (3.89 MB/s) - written to stdout [213947/213947]
I already trust 134, your new list has 132
1 previously trusted certificates were removed.
Certificate removed: C=TR, L=Ankara, O=TÜRKTRUST Bilgi İletişim ve Bilişim Güvenliği Hizmetleri A.Ş., CN=TÜRKTRUST Elektronik Sertifika Hizmet Sağlayıcısı H5
Import process completed.
csharp -e 'Console.WriteLine (new System.Net.WebClient ().DownloadString ("https://www.howsmyssl.com/").IndexOf ("1.2"))'
System.TypeInitializationException: The type initializer for 'Mono.CSharp.Tokenizer' threw an exception. ---> System.TypeLoadException: Could not resolve type with token 010000cf from typeref (expected class 'System.Collections.HashPrimeNumbers' in assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
at System.Collections.Generic.HashSet`1[T].Add (T item) [0x00045] in <5ff2cc29491b48bdb11aaf6d291b0a6d>:0
at Mono.CSharp.Tokenizer.AddKeyword (System.String kw, System.Int32 token) [0x00000] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharp.Tokenizer..cctor () [0x0011b] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at Mono.CSharp.Evaluator.ToplevelOrStatement (Mono.CSharp.SeekableStreamReader seekable) [0x00017] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharp.Evaluator.ParseString (Mono.CSharp.Evaluator+ParseMode mode, System.String input, System.Boolean& partial_input) [0x00030] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharp.Evaluator.Compile (System.String input, Mono.CSharp.CompiledMethod& compiled) [0x00057] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object& result, System.Boolean& result_set) [0x00006] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharpShell.Evaluate (System.String input) [0x00000] in <135e62c9f92241a19a4ef403c3f63af4>:0
System.TypeInitializationException: The type initializer for 'Mono.CSharp.Tokenizer' threw an exception. ---> System.TypeLoadException: Could not resolve type with token 010000cf from typeref (expected class 'System.Collections.HashPrimeNumbers' in assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089')
at System.Collections.Generic.HashSet`1[T].Add (T item) [0x00045] in <5ff2cc29491b48bdb11aaf6d291b0a6d>:0
at Mono.CSharp.Tokenizer.AddKeyword (System.String kw, System.Int32 token) [0x00000] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharp.Tokenizer..cctor () [0x0011b] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at Mono.CSharp.Evaluator.ToplevelOrStatement (Mono.CSharp.SeekableStreamReader seekable) [0x00017] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharp.Evaluator.ParseString (Mono.CSharp.Evaluator+ParseMode mode, System.String input, System.Boolean& partial_input) [0x00030] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharp.Evaluator.Compile (System.String input, Mono.CSharp.CompiledMethod& compiled) [0x00057] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharp.Evaluator.Evaluate (System.String input, System.Object& result, System.Boolean& result_set) [0x00006] in <e4437ff48e9249f298f6b2d108ae9bc5>:0
at Mono.CSharpShell.Evaluate (System.String input) [0x00000] in <135e62c9f92241a19a4ef403c3f63af4>:0
@testarea1
If a one line program csharp -e 'Console.WriteLine (new System.Net.WebClient ().DownloadString ("https://www.howsmyssl.com/").IndexOf ("1.2"))'
crashes you have a problem with Mono. Is this an ARM device? I would try a reinstall of Mono Complete
This issue is only showing up on Filelist and Rarbg, all other private indexers I have are fine.
This is an intel CPU home built server.
v.0.9.x has/had no issues, this only happened after v0.10.x was released.
I'm having the same issue with every remote request on 0.10.117.0. Even "check for updates" don't work. I have updated mono, re-downloaded the certificate, but I still can't do any remote connection.
But I can call the csharp
command:
$ csharp -e 'Console.WriteLine (new System.Net.WebClient ().DownloadString ("https://www.howsmyssl.com/").IndexOf ("1.2"))'
3636
@testarea1 if the csharp test command doesn't even work this is a problem with your mono installations. Nothing we can do on the jackett side. With the old jackett versions you might have been using the legacy curl httpclient but that's no longer supported.
@vaurdan please provide a full enhanced log
Thanks for the info to lead me to the right path, appears I still had "Environment=MONO_TLS_PROVIDER=legacy" on the systemd service startup. I removed that and it's working fine now.
Jackett version: 0.10.54.0 Mono version (if not using Windows): 5.14.0.177