Appium session has expired
Guys, i have this issue when i try to tap or swipe, everything is running good, streaming the screen and the home buttons works, but when i try another features i got this error message. Someone had this same problem? i will send one screenshot and logs.
Hey, what is your provider configuration? Have you by any chance added Custom WDA: Yes but not using the latest WebDriverAgent from my fork? Can you also check in the browser developer tools in the network tab what kind of error do the interactions return?
Hm...Its better to use your webdriveragent fork, maybe is this, because i used a WDA from appium, didnt work, but now i used a custom WDA from another project that works to mirror the screen but still having this sessions issues. I will try create the ipa file from your forked one. I will back with more infos. I really appreciate your attention
@shamanec now i`m having the same problem related to an older issues. Trying to install WDA app
Can you tell me what you did to prepare the IPA?
i builded for testing with my profile, and use this steps to create the ipa file
yeah, that is pretty much the way to build an IPA but I don't think I've seen this README before :D The easiest way to test the problem is to download a go-ios release and try to install the WebDriverAgent.ipa on the device using it directly with ios install --path=WebDriverAgent.ipa to see exactly what error is returned
i tried for any devices and changed budle id
automation@MacBook-Air-de-automation GADS % ios install --path=macbookair/WebDriverAgent.ipa --udid=32dd59f580e5fb4f5823829ad768dd7981c5b88a {"level":"warning","msg":"go-ios agent is not running. You might need to start it with 'ios tunnel start' for ios17+. Use ENABLE_GO_IOS_AGENT=user for userspace tunnel or ENABLE_GO_IOS_AGENT=kernel for kernel tunnel for the experimental daemon mode.","time":"2025-02-14T13:51:40-03:00"} {"level":"warning","msg":"failed to get tunnel info","time":"2025-02-14T13:51:40-03:00","udid":"32dd59f580e5fb4f5823829ad768dd7981c5b88a"} {"appPath":"macbookair/WebDriverAgent.ipa","device":"32dd59f580e5fb4f5823829ad768dd7981c5b88a","level":"info","msg":"installing","time":"2025-02-14T13:51:40-03:00"} {"level":"info","msg":"installing","percentComplete":5,"status":"CreatingStagingDirectory","time":"2025-02-14T13:51:42-03:00"} {"level":"info","msg":"installing","percentComplete":15,"status":"ExtractingPackage","time":"2025-02-14T13:51:42-03:00"} {"level":"info","msg":"installing","percentComplete":20,"status":"InspectingPackage","time":"2025-02-14T13:51:42-03:00"} {"level":"info","msg":"installing","percentComplete":30,"status":"PreflightingApplication","time":"2025-02-14T13:51:42-03:00"} {"level":"info","msg":"installing","percentComplete":40,"status":"VerifyingApplication","time":"2025-02-14T13:51:42-03:00"} {"err":"your app is not properly signed for this device, check your codesigning and provisioningprofile. original error: 'ApplicationVerificationFailed' errorDescription:'Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.biiRlm/extracted/Payload/WebDriverAgentRunner-Runner.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)'","level":"fatal","msg":"failed writing","time":"2025-02-14T13:51:42-03:00"}
yeah i think the issue is the ipa file, but i dont understand why my other ipa version from another WDA custom works and this ipa file from you forked, not, because i used the same step to make the ipa file. It keep showing this signing problems
Maybe try removing DerivedData and rebuilding WDA, its weird that it works from another WDA repo if using the same steps. Or try using something like this to resign it after packaging to .ipa
I buidl everything again and i successfully ios install --path=WebDriverAgent.ipa install WDA with this, is thre a way to execute the project without installing wda or something like that? Because i could use the WDA already installed with go-ios
If the WDA ipa can be successfully installed now you can just upload it via the Admin panel in the hub UI and it should start working. You don't have to install it yourself, GADS will take care of it as long as the ipa is properly signed and installable :) We used go-ios just to validate that, GADS uses go-ios under the hood as well
thank you bro, i solve this probelm but now it keeps trying to use the 16.6 image, its a problem with ios 16.7 versions maybe?
the automation is running but i cant connect
EDIT: fixed bro, i downloaded the 16.7 disk image from here https://github.com/JinjunHan/iOSDeviceSupport?tab=readme-ov-file and paste on devimages, now its runnig perfectly , really thank you for your time !!!
I've never had a 16.7 device to test, this is what go-ios uses as repo to download dev images, sorry about that 😅 Glad you got it working!
@shamanec Hello,
First of all, I would like to express my appreciation for the great work you've done with this platform. It has been incredibly helpful for automating and managing a large number of devices. However, I've encountered a couple of issues that I would like to report:
Appium issue: After several interactions with the Android/iOS devices, Appium stops functioning properly. The server seems to freeze or crash, preventing further interactions with the devices. It would be great if you could investigate this issue. I’ve been using the current version of the WDA for iOS, but unfortunately, I’m still encountering some issues. Even after updating, it seems like the problem persists, and I’m unable to proceed with certain interactions. (same problem iPhone 12 Mini - 17.7.2, iPhone 13 - 18.3.1 and iPhone SE - 17.4.1).
MongoDB errors: I've also experienced occasional errors with the MongoDB database. It sometimes throws unexpected errors, which might be related to the heavy load or certain actions performed within the system. Every 2-3 minutes, the health status of the devices turns false, which causes the devices to be marked as N/A.
It would be awesome if you could look into these problems. If you need more details or logs, feel free to reach out.
Once again, thank you for your hard work on this project. It’s been a game-changer for managing devices.
greetings! same problem with Appium session has expired reinstalled WDA in different ways. all the same thx for help regards
@Devx-Admins did you try the debugging steps we discussed above? Are you using WDA from my fork?
@shamanec thx for fast response, using wda from your fork makes icons jelly when i taps. sorry for bad english =)
@shamanec
forward the next
WebDriverAgent ipa You need to prepare and upload a signed WebDriverAgent ipa file from the hub UI in Admin > Files By using the custom WebDriverAgent from my fork you can have faster tap/swipe interactions on iOS devices (the provider configuration should be set to use the custom WebDriverAgent through hub UI). You can use mainstream WebDriverAgent as well
Prebuilt custom WebDriverAgent Download the prebuilt WebDriverAgent.ipa from my fork of WebDriverAgent Use any tool to re-sign it with your developer account (or provisioning profile + certificate) ( signed with xcode and build for any ios device (arm64)
move app to zip ipa file and paste it though web
@Devx-Admins jelly 😅 maybe you are holding the mouse? it shouldn't be making them 'jelly' with a normal tap 🤔
@shamanec unfortunately, just regular tap =(
@Devx-Admins when using the WDA from my fork have you marked in the provider configuration Use custom WDA? as true? I work with it most of the time and I haven't observed this :(
closing due to inactivity