Application connects only after Ping test...

I have quite a strange situation happening. We have a remote administration application that connects to a server via IP, the connection will not happen and I get a "Server Not Found" error message anytime I try to launch the app. However, if I will first ping the host, which the host replies successfully, then try and launch the app, the connection happens...
Any ideas????

Before u do the ping, can u check to see if there's already a mac-address resolution to the IP u're connecting to?
And when u launch ur application, and when it fails, can u also check n see if a mac-address resolution to the IP is already in the arp cache of ur host?
What i think is, when u do a ping, it checks its arp cache and not find an entry for the destination ip, hence does an arp for the mac. Once resolved the dst. IP to mac, ur application then knows how to connect to it.
Somehow, in any normal circumstance, the launching of any application will arp for the dst. host mac if the local host does not already have an arp entry for the dst. ip.
If ur dst. ip is located in a different network crossing a gateway, the local host should then arp for the gateway's mac.

Similar Messages

  • WIFI connect only after reboot

    On 4.0.1-1-ARCH, Desktop = KDE 4.14.7.
    Since a recent update, I seem to have a wifi issue with random connections. I thought that was related to the following discussion: https://bbs.archlinux.org/viewtopic.php?id=196584
    But the problem was not solved by the latest update of wpa_supplicant as supposed to be according to the trend.
    I initially tried to review my connection setup manually and ended up with dhcpcd waiting for carrier until time was out. Then I tried automatic connection setup tools such as NetworkManager and eventually wicd.
    With wicd, the symtom I get is just that: every first boot of the day fails and I just have to reboot to get a connection ! Maybe this is an obvious symptom of something but I can't find out. If this talks to you ...
    Here is an extract of /var/log/wicd/wicd.log
    2015/05/11 19:42:27 :: Generating psk...
    2015/05/11 19:42:27 :: Attempting to authenticate...
    2015/05/11 19:43:02 :: wpa_supplicant authentication may have failed.
    2015/05/11 19:43:02 :: connect result is failed
    2015/05/11 19:43:02 :: exiting connection thread
    2015/05/11 19:43:07 :: Sending connection attempt result bad_pass
    2015/05/11 19:43:07 :: Autoconnecting...
    2015/05/11 19:43:07 :: No wired connection present, attempting to autoconnect to wireless network
    2015/05/11 19:43:08 :: hidden
    2015/05/11 19:43:08 :: MY_SSID has no never connect value
    2015/05/11 19:43:08 :: trying to automatically connect to...MY_SSID
    2015/05/11 19:43:08 :: Connecting to wireless network MY_SSID
    2015/05/11 19:43:09 :: Putting interface down
    2015/05/11 19:43:09 :: Releasing DHCP leases...
    2015/05/11 19:43:09 :: Setting false IP...
    2015/05/11 19:43:09 :: Stopping wpa_supplicant
    2015/05/11 19:43:09 :: Flushing the routing table...
    2015/05/11 19:43:09 :: Putting interface up...
    and after reboot :
    2015/05/11 19:44:12 :: Attempting to authenticate...
    2015/05/11 19:44:20 :: Running DHCP with NO hostname
    2015/05/11 19:44:24 :: DUID 00:01:00:01:1a:92:ac:00:e8:39:df:3d:f5:54
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: wlp2s0: IAID df:3d:f5:54
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: wlp2s0: soliciting an IPv6 router
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: wlp2s0: soliciting a DHCP lease
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: wlp2s0: offered 192.168.1.52 from 192.168.1.1
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: wlp2s0: leased 192.168.1.52 for 86400 seconds
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: wlp2s0: adding route to 192.168.1.0/24
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: wlp2s0: adding default route via 192.168.1.1
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: forked to background, child pid 509
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 ::  
    2015/05/11 19:44:24 :: DHCP connection successful
    2015/05/11 19:44:24 :: not verifying
    2015/05/11 19:44:24 :: Connecting thread exiting.
    2015/05/11 19:44:26 :: Sending connection attempt result success
    This is what I used to have when using NetworkManager (journalctl --unit=NeworkManager)
    mai 08 15:26:42 John_Difool NetworkManager[250]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
    mai 08 15:26:43 John_Difool NetworkManager[250]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
    mai 08 15:26:44 John_Difool NetworkManager[250]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
    mai 08 15:26:49 John_Difool NetworkManager[250]: <info> (wlp2s0): supplicant interface state: disconnected -> scanning
    mai 08 15:26:56 John_Difool NetworkManager[250]: <info> (wlp2s0): supplicant interface state: scanning -> authenticating
    mai 08 15:26:56 John_Difool NetworkManager[250]: <info> (wlp2s0): supplicant interface state: authenticating -> disconnected
    mai 08 15:27:03 John_Difool NetworkManager[250]: <warn> (wlp2s0): Activation: (wifi) association took too long, failing activation
    mai 08 15:27:03 John_Difool NetworkManager[250]: <info> (wlp2s0): device state change: config -> failed (reason 'ssid-not-found') [50 120 53]
    mai 08 15:27:03 John_Difool NetworkManager[250]: <info> NetworkManager state is now DISCONNECTED
    and here is the kind of journald message I get with wpa_supplicant (launched by NetworkManagement)
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: wlp2s0: SME: Trying to authenticate with 00:17:33:a0:34:ac (SSID='MY_SSID' freq=2462 MHz)
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: wlp2s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MY_SSID" auth_failures=2 duration=20 reason=CONN_FAILED
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: wlp2s0: SME: Trying to authenticate with 00:17:33:a0:34:ac (SSID='MY_SSID' freq=2462 MHz)
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: wlp2s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MY_SSID" auth_failures=1 duration=10 reason=CONN_FAILED
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: wlp2s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="MY_SSID"
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: wlp2s0: SME: Trying to authenticate with 00:17:33:a0:34:ac (SSID='MY_SSID' freq=2462 MHz)
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: wlp2s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="MY_SSID" auth_failures=2 duration=20 reason=CONN_FAILED
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: rfkill: WLAN soft blocked
    mai 08 15:24:09 John_Difool wpa_supplicant[274]: rfkill: WLAN soft blocked

    Here are some things to try:
    1. Be sure that Airport is at the top of the list in System Preferences > Network. And, be sure that your preferred network is at the top of the list in System Preferences > Network > Advanced.
    2. Go Finder > Your HD > Library > Preferences > SystemConfiguration.
    Move the SystemConfiguration folder to your Desktop.
    Restart.
    Try airport. Try your network. Try your browser.
    3. Try creating a new location from System Preferences > Network and then deleting the older one.
    4. Create a new admin user account and see if it works from there.
    5. Do a repair install of Sno. Just install Sno over Sno as though doing an upgrade installation. Do all the networking/internet tasks at the end of the installation if possible.

  • Ethernet connection only after reseting cable modem

    Hello,
    Can anyone help me? Today at work, I plugged an ethernet cable into my my mac air and got a connected green light, but no internet access. The same happened when I took my laptop home. Here, I just reset my cablem modem, and it worked. I would feel very awkward reseting the cable modem at work because everyone shares it and that would put everyone's work on hold. What can I do tomorrow at work to make the ethernet connection access the internet without reseting the work cable modem?
    Thanks so much for your time,
    Kavaitri

    Hi Kavaitri,
    If you are having issues with an Ethernet internet connection to your Mac, you may find the following article helpful:
    Mac OS X: Troubleshooting a cable modem, DSL, or LAN Internet connection
    http://support.apple.com/kb/ts1317
    Regards,
    - Brenden

  • My computer is slow on the internet and even stops at times, i have 98mbps to the modem but only 20 mbps and sometimes less on a ping test- what is wrong? i am using a wireless connection do i need to upgrade my wireless modem in the mac?

    my computer is very slow I have 98mbps to the modem but when i run a ping test on the machine i get 20 mbps and sometimes it is .10 mbps- do i need to upgrade my wireless modem on the machine? what can i do?

    used speed test and got 20 mbps, tested the modem and got the 98mbps...something weird as my system just stops and will not load to sites like google and yahoo but will always respond to sites like CNN...does this mean anything?

  • When does the test time start? After installing the program? Or only after opening the program? background: I accidently installed the Photoshop test version, but O am still busy with testing Premiere Pro.

    when does the test time start? After installing the program? Or only after opening the program? background: I accidently installed the Photoshop test version, but O am still busy with testing Premiere Pro.

    Freialeben7 the evaluation period begins when you first launch the Adobe application you are wishing to evaluate.

  • Recently I was working on my home Network and lost my Password for my Home wireless connection. After many attempts, I remembered the password and was able to get in. Now the MacBook Pro only works at home on a Hard wire connection. I have an additional 9

    Recently I was working on my home Network and lost myPassword for my Home wireless connection. After many attempts, I remembered thepassword and was able to get in. Now the MacBook Pro only works at home on aHard wire connection. I have an additional 9 devices on the same network, allare functioning properly. The Air connection works fine at any other Networksout side the Home connection. I did a PRAM reset, deleted the Network profileand rebuilt in System Preferences. Still unable to connect wireless on Homenetwork. Any Ideas?

    I seem to have fixed it by putting <div  class="clearfloat"></div> after the navigation bar?

  • When I launch iTunes on the PC, iTunes will not connect to Airplay speakers. Only after a new start of iTunes a connection is established.

    When I launch iTunes on the PC, iTunes will not connect to Airplay speakers. Only after a new start of iTunes a connection is established.

    Thank you for the suggestion, but the 'clean' install of iTunes (which I did twice) didn't do the trick.
    Anybody else have a clue?
    I spoke with Apple Care, who was also stumped. They think it might be a hardware issue (but were probably just giving up on working with me because it was free service/I haven't paid the $50). Still seems awfully coincidental that my Airport (1st Gen - about 4 years old) would stop being able to stream music through iTunes simultaneously with the iTunes update...

  • HT1476 I have problem with my Iphone 4S, only after updating the OS 7.X. My Iphone battery charge is losing down in a minute. My battery charge is just decreasing from 100% to 10% in less than two hours, without any application works. pls do help me out i

    I have problem with my Iphone 4S, only after updating the OS 7.X. My Iphone battery charge is losing down in a minute. My battery charge is just decreasing from 100% to 10% in less than two hours, without any application works. pls do help me out in this.

    Hi melvin victor,
    Welcome to the Support Communities!
    The information below may help you troubleshoot your iPhone battery issue:
    iPhone Battery and Power - Apple Support
    http://www.apple.com/support/iphone/repair/battery-power/
    Battery & power
    Is your iPhone battery draining too quickly or not holding a charge? Try restarting it first. You can also adjust several settings to extend the battery life of your iPhone.
    I hope this information helps ....
    - Judy

  • Pinging an Application connection in SMP Cloud fails

    Hello Experts,
    I got one OData URL https://sapes1.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT and i can access it in a browser using my NW demo system username and password.
    in SMP cloud edition, i am trying to create one application connection:
    And when i ping this newly created application id, i get two errors saying
    Backend system cannot be reached
    Security system cannot be reached
    Did i miss something in between?
    Rgrds,
    Jitendra

    Midhun VPMayur DharukiyaMidhun VP
    Yes, correct. I am able to ping for HTTP but issue is with https.
    Daniel,
    Can you please share the steps how exactly i have to configure for https based odata url?
    Rgrds,
    JK

  • My iphone5(ios 8.1) is not connecting to my home wifi network but connects to office wifi. This problem is only after updating 8.1

    My iphone5(ios 8.1) is not connecting to my home wifi network but connects to office wifi. This problem is only after updating 8.1I have already done "Reset Network many times. I have switched off and on my router multiple times. No luck.

    Hi vpraghu,
    If you are having an issue with connecting to a Wi-Fi network with your iPhone, I would suggest that you troubleshoot using the steps in this article - 
    iOS: Troubleshooting Wi-Fi networks and connections - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How Does an Application connect to the DB after authentication

    We working on a prototype to implement the OID
    and achieve Single Sign On.
    We have an OID installed,
    The wallet manager installed.
    The Wallet Client Installed.
    We have an DN entry created into the OID.
    We then login into the Wallet client.
    How do we connect to the database..?
    Or how will an application connect into the database.
    We have the users created into the database as:
    "create user <username> identified globally as <Complete DN for the user>;"
    Is it through Net8 LDAP Native Naming Adapter.
    Where can I find some more info on this LDAP Native Naming Adapter.
    Regards,
    Puneet

    Hello Puneet:
    Are you trying to acheive Enterprise user authentication useing OID? If so you should visit our Advanced Security web page
    located at:
    http://otn.oracle.com/deploy/security/aso/content.html
    There are a few technical whitepapers you should read there. Namely "Enterprise user security" and
    "Oracle Advanced Security: Security and Directory Integration"
    Let me knwo if this helps
    Jay

  • Trying to do a Ping test but getting no packet los...

    Hi World,
    A bit of a Newbie so please bear with me,
    Currently been with infinity for about 5 months loving the speed and the wifi bit but as I am a hardcore Xbox 360 online gamer I have been noticing a lot of lag and rubber banding on numerous games since my router was swapped last month.
    I have gone to speedtest.net and my download/upload spped is fine, but when I test my ping via pingtest I am getting a B result saying that online games speed wiil suffer secondly I am not getting and packet loss stats I just get a red box with a message saying none were sent or recieved?
    The whole idea in getting Infinity was to get a secure and steady speed, but comparing my results with other ISP's who are on a lower speed the packet loss stats are fine, when i was sold Infinity I was assured i would not have to test my Ping as it would be fine so have only just started testing so cannot compare to my original router!
    Help please as I don't want to pay off my contract with BT and go elsewhere......
    Solved!
    Go to Solution.

    Hi 
    I would certainly be worried about your packet loss... and perhaps the latency introduced because of it.
    Dean a BT Forum Mod posted HERE that the interleaving is automatic "it will only get switched on if the line is unstable however once the line has re-stabilised the DLM usually sorts it out relatively quickly" 
    I've recently had the White Openreach Modem replaced and thankfully not noticed any change... It's still wall mounted to enable the cooling vents to work correctly. Ping result below.
    If your testing when wireless, I wonder if your starting to see noise/interference probs... neighbour's strong signal coming up on your channel or next to? Inssider is a good free PC wireless scanner (Video of version 1)
    Inssider will help you choose a less congested channel to move your HH3 from in advanced wireless settings... from Automatic to a specific wireless channel number.
    Or maybe interference from Christmas lights.... If that's the case then just try moving the HH3 to different channels and see how it goes.
    I bet your going to say "I'm a gamer and need fastest/best connection so use a wired" then all the above wireless stuff is a bit redundant.
    Then run the BT FTTC part of speedtest http://www.speedtester.bt.com/ and see if your IP has dropped.... If it has then that could indicate the exchange equipment has noticed a problem on your line and reduced it's settings to try and deliver  a reliable broadband connection.
    Please Click On any Text in Blue as that automatically links to information.
    PC (NDEGR)

  • IPhone/iPad connection error after first login ok: The request timed out. (-1001)

    Hi
    I have installed SAP 9.0 PL 12, DI API all version, Integration Component of the SAP 9.0 PL12.
    On my iPhone I have the 1.10.1 version of the app SAP.
    I followed the directions provided in the note (also in 1602674) and in the forum, but nothing.
    I start my PC (server with integration installed), do all the tests possible dall'integration admin and I always correct results.
    Start app from my iphone, it connects to my DB but.... after a few minutes I get the error
    "Connection Failed - The request timed out. (-1001)"
    and then throws me out of the db.
    If I try to reconnect, re-entering the password I have always the same error.
    To reconnect, I have to restart the PC and the situation repeats itself (is the first logon, then I get the error and I can not reconnect).
    Can anyone help me?
    THANKS
    NL

    H Thusar
    Update: I only changed the startup type of the service DI Proxy, Event, Integration, and instead of putting 'Automatic' I selected 'Automatic (Delayed Start)'.
    I rebooted the server and I was able to connect the iPhone via app to my DB: I was about an hour, I created BP, made ​​changes, displayed report.
    I then did the logoff.
    I tried to reconnect but nothing is returned the error 'Connection Failed - The request timed out. (-1001)'.
    Even after restarting the server again, the app connects after about two minutes I get the error 'Connection Failed - The request timed out. (-1001)' and is no longer relates only after you restart the server.
    Help
    NL

  • Installed MS Office for Mac, after uninstalling test drive, still reg to TD

    I installed MS Office for Mac 2004 this morning, after being very careful to uninstall the test drive version, after reading about problems it causes not to do so. I followed the instructions to uninstall, emptied the trash after, did the installation, updates, etc. But when I look at the "about" section of word, etc, it shows that the product is licensed to "Office 2004 Test Drive User". I did fill in the info on name, address, etc, and the "test version" watermarks that I was seeing on excel spreadsheets pre-installation are gone now. I have rebooted the machine. Do I need to register each application separately? Did I miss something in the uninstall?
    Also, after installing the new Office, I had problems accessing the internet from accounts other than the one from which I'd done the installation. I asked about that in the internet related subforum here, thought I had it fixed, but it's been inconsistent, seems to work on-and-off in the different accounts. Did the accessing of the net during the course of the install knock something out of place?

    I installed office after deleting test drive. Registration is fine. Microsoft creates a user pref folder for each user account. This will be activated with your individual pref. the first time you open one of the office programs. It will be different/reset for each user on the computer. So it is possible that different users would experience different problems connecting to the internet. I copied my users pref and library folder over from my powerbook to the imac and all of my settings seem to work just fine on the new imac.
    My suggestion would be to uninstall all versions of office on your imac and then reinstall office 2004. Be sure to do this in an administrator account and to repair permissions before and after install.
    Good luck!

  • Ping test keep dropping any advice

    Hi, 
    I had this problem 3 weeks agos, now every night from 8pm - 12pm very unstable other time the connection is fine no problem. 
    i run ping test (from a cable connection) and it keep dropping, i sent 100 ping test to www.google.com -n 100 i get 3% loss which make my game play very unstable and unplayable.
    i've try all sort of things unplug tv box disconnect all laptop disable wireless and test and still dropping.
    also called Bt many time and done.
    many times, speed test, line test, noise test replaced my Home hub twice and i still having same problem.
    it was fine anytime other than from 8pm - 12pm
    this very frastrate me because if is work fine on other time that mean there are no problem with my equipment and my
    setup i dont have anything install or turn on practically on that time of night.
    i suspect someone is running a or business on our block make big amount of traffic causes my unstable connection.
    any advices ?
    thanks, 

    in order for the forum members to help please can you post the adsl stats from your router unless HH4 may need to 'show detail' to get all stats (if hub enter 192.168.1.254 in your browser and navigate to adsl or use a-z, if netgear enter 192.168.0.1) and run btspeedtester (MAC users may have problems). when first test completes then run diagnostic test and post the results .
    are you connected directly via a filter to the NTE5 master or test socket or to somewhere else? Is the master the only phone socket in your home?
    Have you tried the quiet line test? - dial 17070 option 2 - should hear nothing - best done with a corded phone. if cordless phone you may hear a 'dull hum' which is normal
    Someone may then be able to offer help/assistance/suggestions to your problem
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

Maybe you are looking for

  • Can I have 2 iTunes libraries on my computer?

    My husband uses his iPod all the time and is very careful over his library and playlists. Now he's given me a Nano (yay!) and as we have very different musical tastes he would prefer it if we kept two separate libraries on the computer. (Yes, he IS a

  • **VGA DynaDock Question**

    I just installed a VGA Dynadock, and all of my peripherals are working fine. Whats wierd is when I click on "undock", I get the undock beep, but I no longer get the message "safe to undock". I do have the appropriate checkboxes in the dynadock settin

  • Reader version listed in GUI does not match that of executable file

    I have an interesting situation... I have Adobe Reader X installed on a Windows 7 desktop. When I go to the Reader installation files right click on the executable (AcroRd32.exe) and open properties, I see that the version is 10.1.4.38 and that the u

  • IPhoto 9.4 - can't assign keywords to a movie?

    After upgrading iPhoto to v 9.4, I can no longer tag video files with keywords. This is for newly imported videos, as well as videos that were in my Library prior to upgrading. I'm not having any problems assigning keywords to photos. Anyone else see

  • Error passing in RECORD type into API

    Gurus, Getting the following error when I try and pass a RECORD type into an API. Am I passing it in properly? Any help is appreciated. Thanks, -Scott Here's my error: fnd_descr_flex_col_usage_pkg.load_row ERROR at line 21: ORA-06550: line 21, column