My C# program gathers some pageviews stats using Wikimedia REST API. It runs successfully from my PC and from Toolforge login server (mono stats.exe), but when I run it from grid (jsub -N stats mono stats.exe), it stops on this code block without throwing exception, without any output to stats.err, without crash, it just stay running and do nothing.
try { reqstr = "https://wikimedia.org/api/rest_v1/metrics/pageviews/per-article/ru.wikipedia/all-access/user/" + Uri.EscapeDataString(page) + "/daily/" + year + "0101/" + year + "1231"; currres = webclient.DownloadString(reqstr); } catch { Console.WriteLine(page); Console.WriteLine(currres); Console.WriteLine(reqstr); numofarts--; continue; }
HTTPS certificates updated.