New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login Problem on 6.45+ #47
Comments
We are experiencing the same issue. Upgraded to 6.45 and our login broke. We were using version b5 instead of b6 but on upgrading to the new .phar file we get the following error: |
Can you try installing the "dev-develop" version with composer? There is a new login algorithm in 6.43+, though the old one should've remained supported for a while by RouterOS. Regardless, this new algorithm is supported in dev-develop. This comment suggests not even dev-develop works with 6.45+, but again, I'll need some more information to debug. |
I just tried to replicate with dev-develop, and I can't. I can succesfully login to an 6.45.1 x86 VM using dev-develop. However, 1.0.0b6 (and therefore dev-master) does fail to login, and the roscon message is clear enough that the error is on login. Of course, it doesn't include "new login protocol" in the list of possible reasons, since that wasn't a thing then. |
I was able to install composer and get the beta version with Sorry been at this all morning the pear seems to be no longer supported, and the phar creation through pyrus is no longer able to be downloaded. Looks like composer is our last resort here. |
OK I got the develop files from the git repository, now just trying to figure out how to make composer use the local develop branch of the git project. |
|
any news? |
any update?? |
Authentication is working on the dev-develop branch. |
pear install pear2.php.net/PEAR2_Net_RouterOS-dev-develop@dev |
develop versions are not available over PEAR(2) in any way. And in fact, it seems like the pear2.php.net website has silently went down, meaning no PEAR2 package can be installed at all over PEAR. They can only be installed via composer, as shown above. I'll try to make a phar soon, but if you're using composer, you can use it right now. |
|
can't install develop@dev PS C:\xampp\htdocs\2> composer require pear2/net_routeros:dev-develop@dev Problem 1 Installation failed, deleting ./composer.json. |
i still need a solution |
Hey mate, use command
|
Thank you very much @wdjag |
still need pear solution¨ |
Thank you @wdjag!!!!!!! |
Excelente con esto logre solucionar el problema de inicio de sesión. |
develop branch + Net/Transmitter 1.0.0a3 1.0.0b2 work for me on routeros 6.45.6, thanks is there a plan to release a Net/RouterOS RELEASE-1.0.0b7? thanks for the good work MAtteo |
Thanks @wdjag, work like a charm! |
Still, Waiting on Net/RouterOS RELEASE-1.0.0b7? phar file. |
So I can get the roscon.php file to connect seamlessly, however using both the Net/RouterOS RELEASE-1.0.0b6 and composer dev-develop@dev, I get a http 500 reply with no further info... anybody with a workaround? |
So I can get the roscon.php file to connect seamlessly, however using both the Net/RouterOS RELEASE-1.0.0b6 and composer dev-develop@dev, I get a http 500 reply with no further info... anybody with a workaround? |
Seems like you have another problem in your file that causes either a syntax error, or a fatal error before you even reach the authentication point. Can you give an example full file you're trying to use? |
i'm just trying to initiate a simple connection to the router, so as I was saying when I run "php roscon.php -v 192.168.88.1 user password" it works perfectly, but when i use the script, including classes from dev-develop@dev and PEAR2_Net_RouterOS-1.0.0b6', I get the 500 error. I have also downgraded to various versions of RouterOS with no luck. |
That's not composer's autoloader, that's PEAR2's autoloader there. If you're installing from composer, you should be using the composer autoloader in vendor/autoload.php. |
The same error persists even when i switch to vendor/autoload.php... i've
exploited both PEAR2 and vendor classes and autoloads. If its not too much
trouble, I could give you access to my system via teamviewer. I wouldnt
mind the assist.
…On Fri, 17 Jul 2020, 18:48 Vasil Rangelov, ***@***.***> wrote:
That's not composer's autoloader, that's PEAR2's autoloader there. If
you're installing from composer, you should be using the composer
autoloader in vendor/autoload.php.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJJSQGBACVCUYWGYTAGEAHTR4BXDLANCNFSM4H4ZABTA>
.
|
i solved with this, and work (mikrotik version 6,48) Net_RouterOS/src/PEAR2/Net/RouterOS/Client.php between line 288 and 299 Changed this to |
Can anyone update .phar file? |
After os update login not working ....
The text was updated successfully, but these errors were encountered: