Actions icon indicating copy to clipboard operation
Actions copied to clipboard

Not require network permission

Open ic0xgkk opened this issue 1 year ago • 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

ic0xgkk avatar Dec 06 '23 02:12 ic0xgkk

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

ic0xgkk avatar Dec 06 '23 03:12 ic0xgkk

Is it may be a bug?

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

sindresorhus avatar Dec 11 '23 02:12 sindresorhus

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.

sindresorhus avatar Dec 11 '23 02:12 sindresorhus

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.

ic0xgkk avatar Dec 11 '23 02:12 ic0xgkk

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".

ic0xgkk avatar Dec 11 '23 02:12 ic0xgkk