Skip to content
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

Api travando com l2mtu diferente #52

Open
gamadoleo opened this issue Sep 30, 2019 · 2 comments
Open

Api travando com l2mtu diferente #52

gamadoleo opened this issue Sep 30, 2019 · 2 comments

Comments

@gamadoleo
Copy link

Good morning, for some time I noticed a certain abnormality in access to mikrotik via api php, previously used a simple class provided, that simple:

https://github.com/BenMenking/routeros-api/blob/master/routeros_api.class.php

then I started using this api because it has many other features, but the same error occurs in both, if l2mtu is configured with values ​​other than 1580 in the access interface it is looping and the php script hangs and does not display any exception, and what's worse is that it causes crashes ...
and the worst thing is that it can connect normally but when requested to get bulk data for example
"/ppp/active/print" ou "/queue/simple/print"

both make the access loop forever if l2mtu for example in 1500, if only generated an exeption or upon reaching the timeout displayed an error.
could someone min help?
because setting up an l2mtu solves but this has happened many times.

@boenrobot
Copy link
Member

Doesn't sound like this can be solved on a PHP code level.

I reccomend you try upgrading your PHP version to 7.3.10, and if it still doesn't work, maybe do some inspections using Wireshark to compare differences, and show exports of them in bugs.php.net, so that they can reproduce using a traffic generator.

@gamadoleo
Copy link
Author

Doesn't sound like this can be solved on a PHP code level.

I reccomend you try upgrading your PHP version to 7.3.10, and if it still doesn't work, maybe do some inspections using Wireshark to compare differences, and show exports of them in bugs.php.net, so that they can reproduce using a traffic generator.

142/5000
I will perform a test, but I ask you, you have already been through some kind, because there are many servers and I'm using php 7.0.30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants