Home page › Forums › Technical Support, Bugs and Fixes › Cannot complete scan through API port forwarded
- This topic has 2 replies, 2 voices, and was last updated 1 week ago by
Paolo Vacca.
- AuthorPosts
- February 22, 2025 at 5:00 pm #8450
Hi there,
we’re noticing a weird issue. We’re using Mikrowizard since 2 months right now.
We’ve recently found a possible problem. We’re trying to scan and add for backup a RB4011 that is behind another router (another RB). We can reach the first one without problems. The other behind, we’ve remapped API port to 38729 TCP port setting a dstnat rule on the first RB directly connected to the internet, we can see the log in succesful through the log view on the RB4011 but Mikrowizard cannot add it to the device list.In the device scan logs we can see this error:
PUBLIC.IP.ADDRESS.MASKED,””,”cannot access local variable ‘current_interface’ where it is not associated with a value”
(for security reasons we’ve masked the public IP address above)Thanks in advance for a reply and many thanks for doing this wonderful work on Mikrowizard!
Best regards,
Paolo - March 5, 2025 at 8:43 am #8460
Hi welcome and Sorry for the delay,
As you already figured out it is a problem with the scanner and how it scans for devices, looking for the current interface MikroWizard faces and communicating with the router.
You may need to change the code and scanner for this specific scenario.
Mikrowizard checks for router IP address and matches with the router interfaces list.
https://github.com/MikroWizard/mikroman/blob/9eec3305626729ed077e0276ee49d03c3fee7237/py/bgtasks.py#L390C29-L390C46Right now, since MikroWizard hasn’t generated enough revenue, I can’t allocate more time to it, and development has slowed down. I need to cover my living expenses, and I’m already funding MikroWizard out of my pocket.
-
This reply was modified 1 week, 3 days ago by
admin.
-
This reply was modified 1 week, 3 days ago by
- March 8, 2025 at 5:20 pm #8462
Hi there,
thanks for your reply.
I’m not very good at coding, so I think I won’t change anything and I’ll keep that RB without backup from Mikrowizard.
Anyway thanks for doing this great job! It’s really useful… if it might cost less I’d be happy to pay something to help keeping this project alive and updated!Best regards,
Paolo
- AuthorPosts
- You must be logged in to reply to this topic.