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

Get-PublicIP does not work since the API it uses is no longer available: ipv4bot.whatismyipaddress.com #10

Closed
TyrrellStephen opened this issue Aug 23, 2022 · 1 comment

Comments

@TyrrellStephen
Copy link

Calling 'Get-PublicIP' results in an exception (see error record below).

Module used 1.8.3
Platform used: Windows PowerShell 5.1 running on Win10 64-bit 21H2

Exception : System.Net.WebException: The remote name could not be resolved: 'ipv4bot.whatismyipaddress.com' at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request) at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord() TargetObject : System.Net.HttpWebRequest CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand ErrorDetails : InvocationInfo : System.Management.Automation.InvocationInfo ScriptStackTrace : at Get-PublicIP, C:\Program Files\WindowsPowerShell\Modules\WifiTools\1.8.3\WifiTools.ps1: line 258 at <ScriptBlock>, <No file>: line 1 PipelineIterationInfo : {} PSMessageDetails :

See WhatIsMyIPAddress's explanation for the removal of their API service(s): https://whatismyipaddress.com/api

@buscseik
Copy link
Owner

Issue is fixed now

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