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

Cannot convert value "any6" to type "System.Net.IPAddress". Error: "An invalid IP address was specified." #141

Closed
wimanx opened this issue Jan 12, 2024 · 1 comment · Fixed by #142
Assignees
Labels
enhancement New feature or request

Comments

@wimanx
Copy link

wimanx commented Jan 12, 2024

Describe the bug
If a VIP is configured with a port-list, BigIPreport stops running

To Reproduce
Configure a VIP with a port-list
port-list

Config
tmsh list ltm virtual /Common/VIP

ltm virtual VIP-int-sko-multi-vip {
creation-time 2021-05-26:12:40:14
ip-protocol tcp
last-modified-time 2021-08-26:11:38:10
persist {
source_addr {
default yes
}
}
pool VIP-sko-multi-pool
profiles {
f5-tcp-lan { }
}
serverssl-use-sni disabled
source-address-translation {
pool VIP-int-sko-snatpool
type snat
}
traffic-matching-criteria VIP-int-sko-multi-vip_VS_TMC_OBJ
translate-address enabled
translate-port enabled
vs-index 5
}

list security firewall port-list VIP-int-sko-multi-vip-ports
security firewall port-list VIP-int-sko-multi-vip-ports {
ports {
50006 { }
60006 { }
}
}

Error message
Unable to cache virtual servers: Cannot convert value "any6" to type "System.Net.IPAddress". Error: "An invalid IP address was specified." (line 1038)

Additional context
BigIPReport version 5.6.2

@epacke epacke self-assigned this Jan 17, 2024
@epacke
Copy link
Contributor

epacke commented Jan 17, 2024

We don't currently support port lists right now. That said, the latest version indexed my virtual server with an associated port list successfully.
Try upgrading to the latest version of BigIPReport?

@epacke epacke added the enhancement New feature or request label Jan 17, 2024
epacke added a commit that referenced this issue Jan 24, 2024
#141), discard token (Closes #143) (#142)

* Adding support for port lists (Closes #141)
* Discard token (Closes #143)

Co-authored-by: Tim Riker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants