IPM returns EHOSTDOWN

Info

  • Platform: macOS
  • Platform version: 10.13.4
  • App Version: 3.20.0
  • Proxy: No

Reproduce

I installed the shell commands via the option in Inkdrop, open the console and executed the follow commands (output included):

# ipm install insert-date
Installing insert-date to /Users/User1/Library/Application Support/inkdrop/packages ✗
Request for package information failed: connect EHOSTDOWN 50.16.232.79:443 - Local (0.0.0.0:0) (EHOSTDOWN)
    
# ipm search date
connect EHOSTDOWN 50.17.198.171:443 - Local (0.0.0.0:0)

Host is unreachable from my home, work and AWS networks.

Hi Elliott,

Thank you for the report.
That’s weird.
It’s working fine on my machine, so I guess it’s your network problem.
ipm invokes REST APIs on api.inkdrop.info - Can you access it?

$ curl https://api.inkdrop.info/
{"ok":true}⏎

I can talk to api service but the host is still unreachable for the package (ip has changed).

$ ipm install insert-date
Installing insert-date to /Users/USER1/Library/Application Support/inkdrop/packages ✗
Request for package information failed: connect EHOSTDOWN 107.22.233.132:443 - Local (0.0.0.0:0) (EHOSTDOWN)

$ curl https://api.inkdrop.info/
{"ok":true}

I suspect your firewall blocks the access:

Spot on, was Little Snitch

Good to hear that :slight_smile: