D daemon Active Member Licensed User Longtime User Aug 20, 2014 #1 Using B4A-Bridge 2.09 from play store (even Plus version), every time I press F2 to connect (WiFi), it gives me a message that ping failed (timed out), IP address may be incorrect. Ping from command-line also fails. However, connection goes through if I continue. My phone has static IP, so no chances of it being wrong. Is there any option to skip ping and directly establish connection? That will help save some time (ping timeout) and will remove annoying message.
Using B4A-Bridge 2.09 from play store (even Plus version), every time I press F2 to connect (WiFi), it gives me a message that ping failed (timed out), IP address may be incorrect. Ping from command-line also fails. However, connection goes through if I continue. My phone has static IP, so no chances of it being wrong. Is there any option to skip ping and directly establish connection? That will help save some time (ping timeout) and will remove annoying message.
Erel B4X founder Staff member Licensed User Longtime User Aug 20, 2014 #2 This message happens in the IDE not in B4A-Bridge. The .Net ping implementation fails for some reason. You do know that you don't need to connect every time you run your app, right?
This message happens in the IDE not in B4A-Bridge. The .Net ping implementation fails for some reason. You do know that you don't need to connect every time you run your app, right?
D daemon Active Member Licensed User Longtime User Aug 20, 2014 #3 Yes, this happens in IDE. Is ping necessary? Can't the IDE directly connect? Sure, Release builds don't require it or debugger.
Yes, this happens in IDE. Is ping necessary? Can't the IDE directly connect? Sure, Release builds don't require it or debugger.
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2014 #4 It is not required. It is a check to make sure that the ip is correct. It can be made optional in the future.
It is not required. It is a check to make sure that the ip is correct. It can be made optional in the future.
D daemon Active Member Licensed User Longtime User Aug 21, 2014 #5 Thanks, please do so in next release.
K klarsys Active Member Licensed User Longtime User Mar 24, 2015 #6 I see this issue with B4A v4.30 as well. Is it fixed? or is there any option to disable ping?
Erel B4X founder Staff member Licensed User Longtime User Mar 25, 2015 #7 The ping actually fails when you see this message. So there is no simple fix here. This check is still not optional.
The ping actually fails when you see this message. So there is no simple fix here. This check is still not optional.
K klarsys Active Member Licensed User Longtime User Mar 25, 2015 #8 Ping fails even if the device is available, it connects if I continue after ping failure. As per earlier discussions in this thread: Erel said: The .Net ping implementation fails for some reason Click to expand... Erel said: It is not required. It is a check to make sure that the ip is correct. It can be made optional in the future. Click to expand... I think ping is unnecessary since connection will anyway fail if IP is incorrect. I can't see any gain by pinging.
Ping fails even if the device is available, it connects if I continue after ping failure. As per earlier discussions in this thread: Erel said: The .Net ping implementation fails for some reason Click to expand... Erel said: It is not required. It is a check to make sure that the ip is correct. It can be made optional in the future. Click to expand... I think ping is unnecessary since connection will anyway fail if IP is incorrect. I can't see any gain by pinging.
Erel B4X founder Staff member Licensed User Longtime User Mar 25, 2015 #9 klarsys said: I can't see any gain by pinging Click to expand... The purpose of the ping step (which was added after B4A-Bridge was first released) is to help developers troubleshoot connections problems. With this feature developers can know whether the problem is related to the network itself or to B4A-Bridge not running properly. In most cases the ping works correctly and is therefore useful.
klarsys said: I can't see any gain by pinging Click to expand... The purpose of the ping step (which was added after B4A-Bridge was first released) is to help developers troubleshoot connections problems. With this feature developers can know whether the problem is related to the network itself or to B4A-Bridge not running properly. In most cases the ping works correctly and is therefore useful.
K klarsys Active Member Licensed User Longtime User Mar 25, 2015 #10 Got it. My request to make it optional is still ON. In my case, it fails every time and it is very annoying to wait for it to show error and then continue. Thanks!
Got it. My request to make it optional is still ON. In my case, it fails every time and it is very annoying to wait for it to show error and then continue. Thanks!