sindresorhus/Actions

Not require network permission

ic0xgkk opened this issue · 5 comments

Description

I want to use Is Web Server Reachable action to check my web server reachable. But when I add it to my shortcuts, it always return false even through I can open it in safari. I think it may cause by network permission but no network requirement switch in iOS Settings. After I touch the Send Feedback button in app and it requires network permission, and the action works fine and return true in my shortcuts finally.

Is it may be a bug?

macOS/iOS version

iOS 17.1.2 (21B101)

Shortcut URL

No response

And, why it always return false if I use Is Web Server Reachable to check http://100.64.10.2:8080? But Is Host Reachable works fine.

IMG_4368

Is it may be a bug?

Maybe an iOS bug. The Shortcuts app is supposed to show the prompt when you run the action.

And, why it always return false if I use Is Web Server Reachable to check http://100.64.10.2:8080? But Is Host Reachable works fine.

Try turning off the "require success" setting.

Is it may be a bug?

Maybe an iOS bug. The Shortcuts app is supposed to show the prompt when you run the action.

Okay, got it.

And, why it always return false if I use Is Web Server Reachable to check http://100.64.10.2:8080? But Is Host Reachable works fine.

Try turning off the "require success" setting.

I tried turn off the "require success" and turn on the "Use GET instead of HEAD", but it still shows me "false".