get_ipv6_info
Fetches IPv6 details from an API endpoint using forced IPv6 connections, returning a dictionary of information or empty on error.
Instructions
Retrieves IPv6 information from a specified API endpoint.
This method temporarily overrides the allowed_gai_family method to force the use of IPv6 when making network requests.
It then attempts to fetch IPv6-related information from the configured API URL.
Returns:
dict: A dictionary containing IPv6 information if the request is successful.
Returns an empty dictionary if no information is found or if an error occurs.
Error Handling:
Logs an error message and returns an empty dictionary if a requests.RequestException is raised during the fetch operation.
Also logs the full traceback at the debug level for troubleshooting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||