Hello,
I have a question...
It is for my iPhone 4S (iOS 5.1.1 with JB)
For the interface pdp_ip1 (3G) you can set a proxy in the "preferences.plist".
This is working ell for the most apps, but when I take a look in the WhatsApp logs, I see, that it chooses the pdp_ip0 Interface.
WhatsApp try to connect, but the connection timed out, because it seems to use the wrong interface.
This is shown in the WhatsApp logs:
And so on...Code:LL_N en0: flags=8863 < up ptp multicast > | Link addr=c4:2c:03:5e:32:78 LL_N en1: flags=8822 < broadcast simplex multicast > | Link addr=C6:2C:03:5E:32:79 LL_N lo0: flags=8049 < up loopback running multicast > | Link addr=none | IPv6 ip=0.0.0.0/netmask=0.0.0.0 | IPv4 ip=127.0.0.1/netmask=255.0.0.0 | IPv6 ip=0.0.0.0/netmask=0.0.0.0 LL_N pdp_ip0: flags=8011 < up ptp multicast > | Link addr=none | IPv4 ip=10.235.128.15/netmask=255.255.255.255 LL_N pdp_ip1: flags=8011 < up ptp multicast > | Link addr=none LL_N pdp_ip2: flags=8011 < up ptp multicast > | Link addr=none LL_N pdp_ip3: flags=8011 < up ptp multicast > | Link addr=none [...] 2012-05-27 16:26:48.401 WhatsApp[534:3203] LL_N -[AsyncSocket tryConnect] [Line 1245] Binding the socket to WWAN. 2012-05-27 16:26:48.551 WhatsApp[534:3203] LL_N -[AsyncSocket bindSocketToWWAN:] [Line 1198] Network interface: pdp_ip0 2012-05-27 16:26:58.620 WhatsApp[534:3203] LL_N -[AsyncSocket doConnectTimeout:] [Line 1313] Attempt to connect to host timed out. 2012-05-27 16:26:58.653 WhatsApp[534:3203] LL_N -[AsyncSocket close] [Line 473] Close connection. 2012-05-27 16:26:58.858 WhatsApp[534:3203] LL_N -[AsyncSocket close] [Line 544] Retry connect. 2012-05-27 16:26:59.102 WhatsApp[534:3203] LL_N -[AsyncSocket tryConnect] [Line 1226] Connecting to 173.192.219.156 on port 443 2012-05-27 16:26:59.136 WhatsApp[534:3203] LL_N -[AsyncSocket tryConnect] [Line 1245] Binding the socket to WWAN. 2012-05-27 16:26:59.350 WhatsApp[534:3203] LL_N -[AsyncSocket bindSocketToWWAN:] [Line 1198] Network interface: pdp_ip0 2012-05-27 16:27:10.175 WhatsApp[534:3203] LL_N -[AsyncSocket doConnectTimeout:] [Line 1313] Attempt to connect to host timed out. 2012-05-27 16:27:10.222 WhatsApp[534:3203] LL_N -[AsyncSocket close] [Line 473] Close connection. 2012-05-27 16:27:11.416 WhatsApp[534:3203] LL_N -[AsyncSocket close] [Line 544] Retry connect. 2012-05-27 16:27:12.539 WhatsApp[534:3203] LL_N -[AsyncSocket tryConnect] [Line 1226] Connecting to 50.22.210.145 on port 5222 2012-05-27 16:27:12.594 WhatsApp[534:3203] LL_N -[AsyncSocket tryConnect] [Line 1245] Binding the socket to WWAN. 2012-05-27 16:27:13.665 WhatsApp[534:3203] LL_N -[AsyncSocket bindSocketToWWAN:] [Line 1198] Network interface: pdp_ip0 2012-05-27 16:27:24.893 WhatsApp[534:3203] LL_N -[AsyncSocket doConnectTimeout:] [Line 1313] Attempt to connect to host timed out. 2012-05-27 16:27:25.153 WhatsApp[534:3203] LL_N -[AsyncSocket close] [Line 473] Close connection. 2012-05-27 16:27:31.005 WhatsApp[534:3203] LL_N -[AsyncSocket close] [Line 544] Retry connect.
Maybe some of you can help me with this issue?
I want to set a system-wide Proxy when I am connected to 3G (like Autoproxy does it on Android).
Maybe there is an app for that?
If I tap on "Systemstatus" in the WhatsApp settings, I see a Twitter page with WhatsApp infos.
If I remove the proxy from the "preferences.plist", that does not work.
Facebook, AppStore, Safari etc. is working with the Proxysettings but not WhatsApp.
It seems logical, that WhatsApp chooses pdp_ip0 if I check the infos given by "ifconfig -a" (on iPhone)
I hope somebody can help me :-)Code:lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet 127.0.0.1 netmask 0xff000000 en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether c4:2c:03:5e:32:78 pdp_ip0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1450 inet 10.235.123.20 --> 10.235.123.20 netmask 0xffffffff pdp_ip1: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1024 pdp_ip2: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1024 pdp_ip3: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1024 en1: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 1500 ether c6:2c:03:5e:32:79



LinkBack URL
About LinkBacks








Reply With Quote
Bookmarks