Git Product home page Git Product logo

Comments (2)

mrwee avatar mrwee commented on June 5, 2024 1

@rmbolger It's me who's thanking you for your work :)

The first test

`PS C:\WINDOWS\system32> Invoke-RestMethod https://api.simply.com/2/my/products
Invoke-RestMethod : Unable to connect to the remote server
At line:1 char:1
+ Invoke-RestMethod https://api.simply.com/2/my/products
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand`

clearly had issues connecting, despite the URL worked fine in a browser. I removed Portmaster, and then your test as well as renewal worked fine :)

So despite the fact that all firewall functionality was disabled, it didn't work. But now it does. Thank you for your prompt support :)

from posh-acme.

rmbolger avatar rmbolger commented on June 5, 2024

Hey @mrwee, thanks for reaching out. The error message seems to imply that your machine can't reach the API server's IP address. Can you check something for me in a fresh PowerShell instance? Just run the following and post the output?

Invoke-RestMethod https://api.simply.com/2/my/products

I'm expecting an error because we didn't send any credentials in the request. But the error should be something like (401) Unauthorized as opposed to Unable to connect to the remote server.

Also, does your machine access the internet through a proxy server by any chance?

from posh-acme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.