The same mono based bot runs reliably (at least for a while) from the tool account but does not start from jsub. I created a minimal tool account for this (become bothasava)
tools.bothasava@tools-bastion-02:~$ mono BotHasava.exe /d BotHasava() DotNetWikiBot 3.15 Copyright (c) Iaroslav Vassiliev, 2006-2016, GNU General Public License 2.0 botMessagesLang=en :-) Logging in... Logged in as KotzBot. Site: ???????? (MediaWiki 1.29.0-wmf.1) q.Count=0 ==> Maxi=99999 q2.Count=0 ==> seconds_to_wait_after_save=0 Getting category "???????:????????/???/??? ?????/???? ??????/???? ???" contents... PageList has been filled with 1 page titles found in "????????/???/??? ?????/???? ??????/???? ???" category. Starting go() working on ???? ?????:????/?? ???? ????? Page "???? ?????:????/?? ???? ?????" loaded successfully. M=???=[[???? ?????:????/?? ???? ?????/???????]] ...
But:
tools.bothasava@tools-bastion-02:~$ jsub -l release=trusty -N hasava mono BotHasava.exe /d Your job 139995 ("hasava") has been submitted tools.bothasava@tools-bastion-02:~$ cat hasava.out BotHasava() DotNetWikiBot 3.15 Copyright (c) Iaroslav Vassiliev, 2006-2016, GNU General Public License 2.0 botMessagesLang=iv :-) Logging in... tools.bothasava@tools-bastion-02:~$ cat hasava.err Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for BotHasava ---> System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 at DotNetWikiBot.Site.PostDataAndGetResult (System.String pageURL, System.String postData, Boolean getCookies, Boolean allowRedirect) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for BotHasava ---> System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 at DotNetWikiBot.Site.PostDataAndGetResult (System.String pageURL, System.String postData, Boolean getCookies, Boolean allowRedirect) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace ---
thanks