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

unable to access [device's IP]:8100/status when I make Mac and ios17 device connect to same wifi #789

Open
HaoWShi opened this issue Oct 18, 2023 · 9 comments

Comments

@HaoWShi
Copy link

HaoWShi commented Oct 18, 2023

Warning:
develop env:
Mac::2019 MacBook Pro, MacOS Sonoma 14.0
Xcode: 15.0
Iphone: Iphone14 Pro ,IOS17.0.3
Appium:2.1.3

Everything work fine When I make iPhone connect Mac via usb.
But when I make iPhone connect Mac via network, the issue arises
I config iPhone connect via network in Xcode, and make sure iPhone and Mac connect to same wifi. Then I build and test wda to iPhone success, the WDA run normal
截屏2023-10-18 10 34 50

But I can not access to de url
截屏2023-10-18 10 49 37

These issues are not tracked. Please create new issues in the main Appium
repository: https://github.com/appium/appium/issues/new

@KazuCocoa
Copy link
Member

Interesting, my iPad 17.1 x Xcode 15.1 beta had no issues. My env is still macOS 13, thus possibly the host env could be related. You could try out IPv6, turn mobile connection off etc

@tburakdemir
Copy link

Yes, I have this problem too. I got socket hangup error only GET /status endpoint. I get success with POST /session.
On GET /status, i get hangup error with or without iproxy.
I think it occured after macos sonomo updating.

@KazuCocoa
Copy link
Member

Did ipv6 work then over the WiFi (not via port forward)?

@tburakdemir

This comment was marked as off-topic.

@KazuCocoa

This comment was marked as off-topic.

@tburakdemir
Copy link

tburakdemir commented Jan 2, 2024

than kyou for response.

I run the Wda in this path:
/Users/burak/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj

image

my appium version 2.3.0
Xcuitest driver 4.27.0

I think these last versions. When i update xcuitest driver, it says
`appium driver update xcuitest
✔ Checking if driver 'xcuitest' is updatable
✔ Checking if driver 'xcuitest' needs an update
⠋ Updating driver 'xcuitest' from 4.27.0 to 4.35.0⠋ Installing 'xcuitest' using NPM install sp✖ Installing 'xcuitest' using NPM install spec '[email protected]'
✖ Updating driver 'xcuitest' from 4.27.0 to 4.35.0
ℹ Update report:
✖ - 'xcuitest' failed to update: Error: ✖ Encountered an error when installing package: npm command 'install --save-dev --no-progress --no-audit --prefer-offline --omit=peer --save-exact --global-style --no-package-lock [email protected] --json' failed with code 1.

STDOUT:
{
"error": {
"code": "ETARGET",
"summary": "No matching version found for [email protected].",
"detail": "In most cases you or one of your dependencies are requesting\na package version that doesn't exist."
}
}

STDERR:
npm WARN config global-style This option has been deprecated in favor of --install-strategy=shallow
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected].
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: /Users/burak/.npm/_logs/2024-01-02T19_44_40_308Z-debug-0.log
➜ ~
`

@KazuCocoa
Copy link
Member

KazuCocoa commented Jan 2, 2024

it is your local npm caching related.
appium/appium#19571
npm cache clean --force is a workaround.

Let me hide past a few comments as not for this original issue

@cbc123
Copy link

cbc123 commented Jan 30, 2024

Warning: develop env: Mac::2019 MacBook Pro, MacOS Sonoma 14.0 Xcode: 15.0 Iphone: Iphone14 Pro ,IOS17.0.3 Appium:2.1.3

Everything work fine When I make iPhone connect Mac via usb. But when I make iPhone connect Mac via network, the issue arises I config iPhone connect via network in Xcode, and make sure iPhone and Mac connect to same wifi. Then I build and test wda to iPhone success, the WDA run normal 截屏2023-10-18 10 34 50

But I can not access to de url 截屏2023-10-18 10 49 37

These issues are not tracked. Please create new issues in the main Appium repository: https://github.com/appium/appium/issues/new

最后你怎么解决的。 我也是这个问题。 我现在想到的是降低版本

@zhufuqiang-oss
Copy link

how to connect a via network? it can not bt selected
image

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

5 participants