Thank you @stevieb, Btw I discovered how to use the debugger and its nice! (was able to type p $settings->{username} and the settings was fine!) =)
Now I've tested and seems that only the MediaWiki::Bot is not working. The MediaWiki::API login func is ok (the only problem yesterday was an 500 https code over 443 on pt.wikipedia.org). Today I could login the server normally.
Hey if anyone of you guys want to help fixing this issue with MediaWiki::Bot it should be very simple to you guys (see here https://github.com/MediaWiki-Bot/MediaWiki-Bot/issues/77). I would like to help https://github.com/doherty but I don't have the skills for it, unfortunately now now =(