Appium IOS - Take a lot of time to connect to real Devices

Hi,
I run Appium IOS Automation (Appium ver 1.22.1) ans and it take a lot of time until the Device is connect to Appium

I get this lins

[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [iProxy@00008030:8100] Connection was refused to port 8100
[WD Proxy] socket hang up

and only after 2 min it connect

[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: {“value”:{“message”:“WebDriverAgent is ready to accept commands”,“state”:“success”,“os”:{“testmanagerdVersion”:28,“name”:“iOS”,“sdkVersion”:“15.2”,“version”:“15.1”},“ios”:{“ip”:“169.254.153.80”},“ready”:true,“build”:{“upgradedAt”:“1664354815995”,“time”:“Sep 29 2022 11:52:55”,“productBundleIdentifier”:“com.facebook.WebDriverAgentRunner”}},“sessionId”:null}
[debug] [WebDriverAgent] WebDriverAgent information:
[debug] [WebDriverAgent] {
[debug] [WebDriverAgent] “message”: “WebDriverAgent is ready to accept commands”,
[debug] [WebDriverAgent] “state”: “success”,
[debug] [WebDriverAgent] “os”: {
[debug] [WebDriverAgent] “testmanagerdVersion”: 28,
[debug] [WebDriverAgent] “name”: “iOS”,
[debug] [WebDriverAgent] “sdkVersion”: “15.2”,
[debug] [WebDriverAgent] “version”: “15.1”
[debug] [WebDriverAgent] },
[debug] [WebDriverAgent] “ios”: {
[debug] [WebDriverAgent] “ip”: “169.254.153.80”
[debug] [WebDriverAgent] },
[debug] [WebDriverAgent] “ready”: true,
[debug] [WebDriverAgent] “build”: {
[debug] [WebDriverAgent] “upgradedAt”: “1664354815995”,
[debug] [WebDriverAgent] “time”: “Sep 29 2022 11:52:55”,
[debug] [WebDriverAgent] “productBundleIdentifier”: “com.facebook.WebDriverAgentRunner”
[debug] [WebDriverAgent] }
[debug] [WebDriverAgent] }
[debug] [WebDriverAgent] WebDriverAgent successfully started after 107009ms

Why ? How can i do it faster ?
Thanks !

I wonder if networking on the device is in a bad state since it has a self assigned ip address? Maybe giving real address would fix the issue? Worth a try.