[00:20:03] debug1: connect to address 185.15.56.62 port 22: Connection timed out [00:26:15] /https://dpaste.com/4RDSA3MHM.txt https://dpaste.com/2QXGENST7.txt ssh outbound connection timed out, only to 1 host others work fine. any tips? how do i view my firewall settings? [00:26:46] sorry, ignore that, i'm off to my distro channel. sent msg to wrong channel [00:33:25] gry: this is a hack, but you could try `mosh -a login.toolforge.org` -- https://wikitech.wikimedia.org/wiki/Help:Toolforge/Troubleshooting#Slow_connection [01:00:39] bd808: mosh: Could not connect to login.toolforge.org, last tried 185.15.56.62: Connection timed out [02:52:27] bd808: the host unblocked outgoing ssh port, now i get access denied because of pubkey issues. [02:52:45] bd808: so the changes i tried to make https://idm.wikimedia.org/keymanagement/ here didn't come through. [02:54:09] bd808: i click 'Activate', it says key was activated, but it remains marked as Active: No [02:55:36] gry: try using https://toolsadmin.wikimedia.org/profile/settings/ssh-keys/ instead [02:55:56] where are you chatting from now? [02:56:26] The telegram group that is bridged to the irc channel [02:57:11] i see thanks, i'm SvetaT23 in telegram if you'd like to invite me [02:57:34] i've added the ssh pubkey using the link you gave and at least it shows on the page without glitches; it still doesn't let me in, i'll try again in 5 min [02:57:50] https://t.me/wmcloudirc [02:58:27] thanks i'll have a look tonight [02:59:05] i logged in toolforge now with the new key, i appreciate your help. please deliver a few pitchforks to https://idm.wikimedia.org/keymanagement/ as it was unhelpful :> [13:58:13] Hey, hope I'm in right place. I was trying to host my bot on toolforge. I tried to run a test script but it says "job 'test-job' failed". I tried to access the error log but permission denied. How do i run my scripts? is there a easier way to upload my files from my computer? thanks [14:05:33] run test script where? access error log how and where? what's the non-easy way you used to upload? [14:14:00] I followed everything here https://w.wiki/DX5w . then i created a new file by "$ nano $HOME/test.py" and pasted my code. then I tried to run it by "toolforge jobs run test-job --command "$HOME/pwbvenv/bin/python3 $HOME/test.py" --image python3.11 " [14:20:20] which tool account are you using? [14:21:24] kaimbt, I guess? [14:22:26] yes [14:24:19] it looks like the job’s logs are no longer available (`toolforge jobs list` is empty) [14:24:31] try running it again and then see if there’s anything useful in `toolforge jobs logs test-job` [14:32:15] It says `ERROR: Job 'test-job' has file logging enabled` [14:34:26] ok, then look at test-job.out and test-job.err instead [14:35:39] it looks like pandas isn’t installed in the pwbvenv [14:35:54] I tried that by `$HOME/test-job.err` but permission denied [14:36:34] you need to specify a command to work with the file [14:36:48] you don’t want to run the file as a command itself (the “permission denied” here means “this file isn’t executable”) [14:36:56] try `less ~/test-job.err` [14:44:49] Ok I understood the problem. thanks [14:45:15] is there a UI where i can upload files and edit my code? [14:46:47] the best way is probably to put your code in a Git repository, which you can create e.g. at https://toolsadmin.wikimedia.org/tools/id/kaimbt [14:47:04] then you can clone this repository both on Toolforge and on your local PC/laptop, and edit the code this way [14:49:42] (the Toolforge rules also expect you to publish your source code under an open source license anyway: see https://wikitech.wikimedia.org/wiki/Wikitech:Cloud_Services_Terms_of_use#6._Keeping_your_software_Open_Source) [14:52:08] Understood. thanks 👍 [14:53:04] np :) good luck! [14:56:11] there was a related question in the last developer satisfaction survey btw ^^ https://www.mediawiki.org/wiki/Developer_Satisfaction_Survey/2024/Cloud_Services#toolforge-local-development [20:36:36] Little confused here: can I host FastAPI apps on toolforge? (Because I see explicit docs for Django and Flask but not this) [20:38:23] https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Python_ASGI_tool#Step_2:_Create_a_basic_FastAPI_ASGI_application [20:44:50] Thanks!