Weird httpurlconnection timed out

Hi
I have a small http client program that connections to any website to test whether the site is up or not.
I have two clients: a jsp client and a dos command client. The dos command client works well with any web sites from both my development computer and the production computer. The jsp client works well with any websites from my development computer; however, the same jsp works well with all the websites except one. The exact message is "java.net.ConnectException: Connection timed out". I found that open connection is successful and the exception happens when retrieve the response code. I guess this happens because of network related settings. Is there anyway to discover the probelm is on the client side(my jsp client) or on the server side(the website that the client wants to test whether the site is up or not)?
the jsp client code is as follows:
try
URL u = new URL("http://www.banksnb.com/");
out.println("attemp to connect!"+ "<br>");
HttpURLConnection httpConn = (HttpURLConnection)u.openConnection();
out.println("connected!" +"<br>");
if(httpConn != null)
     out.println("attempt to retrieve response code!" +"<br>");
int responseCode =httpConn.getResponseCode();
               out.println("response code = " + responseCode);
}catch(Exception ex)
out.println("error = " + ex+"<br>");
Thanks

isb = new BufferedInputStream(socket.getInputStream());
osb = new BufferedOutputStream(socket.getOutputStream());
isc = new BufferedReader(new
InputStreamReader(socket.getInputStream()));
osc = new BufferedWriter(new
OutputStreamWriter(socket.getOutputStream()));Stop right there, this will never work. You are using two kinds of buffers on the same stream and they will steal data from each other so you will get apparent data loss.

Similar Messages

  • HttpUrlConnection: Connection timed out: connect

    I am seeing a small percentage of my customers who cannot connect to my server through my Java program to download program updates. The commonality between the customers is that all (or most) of them seem to be from Australia, but I have some customers in Australia who CAN connect successfully. Probably a red herring.
    The problem is seen when creating a URL connection to a text file to read it. The file contains only 3 lines. Like I said, most users do not have a problem, but some do. Could it be that the connection is actually timing out, and if so, how do I lengthen the timeout? Most users say that they do not even have to wait 5 seconds before the error occurs.
    The user can connect to the URL with a browser and download the files that way, but this is supposed to be an automatic process. They tell me there is nothing wrong with their network. I'm wondering whether they might have a firewall in place, but when I block connections using my software firewall, I get java.net.UnknownHostException instead.
    The code looks roughly like this. I've added printlns recently and have not heard back from the customer with any results.
            String urlString = cUpdateLocation + cUpdateFileName;
             try {
                System.out.println("Create the URL: " + urlString);
                URL url = new URL(urlString);
                System.out.println("Open the URL connection");
                URLConnection urlConn = url.openConnection();
               System.out.println("Get an input stream");
                InputStream inputStream = urlConn.getInputStream();
                System.out.println("Define an input stream reader");
               InputStreamReader iReader = new InputStreamReader(inputStream);
               System.out.println("Define a buffered reader");
                BufferedReader bReader = new BufferedReader(iReader);
               String input = "";
               System.out.println("Read from the buffered reader");
                try {
                    while (input != null) {
                       input = bReader.readLine();
                        if (input != null) {
                            // Ignore blank lines 
                          input.trim();
                            if (input.length() > 0) {
                                System.out.println("input=" + input);
                   System.out.println("Done reading from the buffered reader");
                    success = true;
                } catch (IOException e) {
                   // Catch these IOExceptions here so we can still close the
                    // streams and clean up while we have reference to them
    .                System.out.println("IOException encountered reading from:\n" +
                                      urlString + "\n" + e);
                bReader.close();
            } catch (MalformedURLException e) {
                System.out.println("URL " + urlString + " is malformed.  " +
                                   e.getMessage());
            } catch (IOException e) {
               // This is the exception that I normally see.
                System.out.println("IOException encountered creating stream to " +
                                   "read from:\n" + urlString + "\n" + e);
                e.printStackTrace();

    Did u write the code to handle Proxy server.?
    Though i m not sure but might be clients who are getting error uses proxy server. and other dont have a proxy in their network.
    Iu did not handled proxy u can do this by...
    Properties sysProperties = System.getProperties();
    // Specify proxy settings
    sysProperties.put("proxyHost", "your_proxy_host");
    sysProperties.put("proxyPort", "your_proxy_port");
    sysProperties.put("proxySet", "true");or while running
    use
    java -D option to set these system properties
    hope works
    cheers

  • Service sapdp80 timed out when starting GUI

    Clients of my company access our SAP server by VPN. One new client met a problem, they can access VPN, however, when they start SAP GUI, there comes an error"connection to host xx.xx.xx.xx, service sapdp80 request timed out", in its detail, "time: Fri...;component NI; Release 640; Version 37; Module nixxi_r.cpp;line 1070;Method NiPconnect;Return code 12;Counter 1".
    And its so weird that all other clients are ok with both VPN connection and SAP GUI log on. I searched SAP note for this error but found no result, and I came here for your precious working experience. Has anyone met this error before?
    Looking forward to your help.

    Yes it's the connecting problem. Are you able to phisicaly see the client PC , and check the VPN and TCP\IP settings? May be it's some firewall or antivirus software are installed on clients side. You need to analyse all, for example after VPN connection are established the "ipconfig /all" should show parameters with which user has got in your network to. Regards.

  • The request has timed out after 00:00:00 milliseconds.

    Hello,
    I am having weird exception when I try to send a message to a topic and there's nothing on the internet I could "google with Bing" about it.
    Here's the error message
    The request has timed out after 00:00:00 milliseconds. The successful completion of the request cannot be determined. Additional queries should be made to determine whether or not the operation has succeeded.
    There are two things weird about it:
    The timeout period is 0 miliseconds
    The number of miliseconds is given in format 00:00:00
    Here's the whole stack
    Timestamp: 5.5.2014. 11:15:58
    Message: HandlingInstanceID: b9fcc3c8-c167-47ab-8473-ae45bfb62311
    An exception of type 'System.TimeoutException' occurred and was caught.
    05/05/2014 11:15:58
    Type : System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : The request has timed out after 00:00:00 milliseconds. The successful completion of the request cannot be determined. Additional queries should be made to determine whether or not the operation has succeeded.
    Source : Microsoft.ServiceBus
    Help link :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : TAsyncResult End[TAsyncResult](System.IAsyncResult)
    HResult : -2146233083
    Stack Trace :
    Server stack trace:
    Exception rethrown at [0]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.TokenProviderHelper.EndGetAccessTokenCore(IAsyncResult result, String& expiresIn)
    at Microsoft.ServiceBus.TokenProviderHelper.EndGetAccessTokenByAssertion(IAsyncResult result)
    at Microsoft.ServiceBus.SharedSecretTokenProvider.OnEndGetToken(IAsyncResult result, DateTime& cacheUntil)
    at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResult.OnEndTokenProviderCallback(IAsyncResult result, DateTime& cacheUntil)
    at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResultBase`1.OnCompletion(IAsyncResult result)
    at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResultBase`1.<GetAsyncSteps>b__f(T thisPtr, IAsyncResult r)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
    Exception rethrown at [1]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(TokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationToken(String appliesTo, String action)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationHeader(String action)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessageInternal(String action, Object body, Boolean includeToken, String parentLinkId, RetryPolicy policy, TrackingContext trackingContext, RequestInfo requestInfo)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessage(String action, Object body, String parentLinkId, RetryPolicy policy, TrackingContext trackingContext, RequestInfo requestInfo)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.SendCommandAsyncResult.CreateWcfMessage()
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpTransactionalAsyncResult`1.<GetAsyncSteps>d__40.MoveNext()
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.Start()
    Exception rethrown at [2]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.EndSendCommand(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.<.ctor>b__1(IAsyncResult result, Boolean forceCleanUp)
    at Microsoft.ServiceBus.Messaging.BatchManager`1.PerformFlushAsyncResult.OnSingleOperationCompleted(IAsyncResult result)
    Exception rethrown at [3]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.BatchManager`1.BatchedObjectsAsyncResult.End(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.BatchManager`1.EndBatchedOperation(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.BatchManagerAsyncResult`1.OnBatchedCallback(IAsyncResult result)
    at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
    Exception rethrown at [4]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.OnEndSend(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.MessageSender.RetrySenderAsyncResult.<GetAsyncSteps>b__f(RetrySenderAsyncResult thisPtr, IAsyncResult r)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    Exception rethrown at [5]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.TopicClient.EndSend(IAsyncResult result)
    at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Niva.Framework.Azure.Bus.AzureServiceBus.<EnqueueAsync>d__0.MoveNext() in c:\nivatech\papiri\source\framework\Azure\Bus\AzureServiceBus.cs:line 98
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Niva.Framework.Analytics.BusinessActivityLogRepository.<EnqueueAddAsync>d__29.MoveNext() in c:\nivatech\papiri\source\framework\Core\Analytics\BusinessActivityLogRepository.cs:line 51
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Niva.Papiri.Web.Controllers.BaseController.<RegisterActivityAsync>d__4.MoveNext() in c:\nivatech\papiri\source\web\site\Controllers\BaseController.cs:line 102
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Niva.Papiri.Web.Controllers.HomeController.<Index>d__0.MoveNext() in c:\nivatech\papiri\source\web\site\Controllers\HomeController.cs:line 35
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
    Additional Info:
    TimeStamp : 5.5.2014. 11:15:58
    FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    AppDomainName : /LM/W3SVC/2/ROOT-1-130437489467023302

    We had the same issue and solved it.
    We changed the authorization of the servicebus to SAS and all is working fine now.
    1. Check Azure Portal  select your ServiceBus and go to register configuration
    2. You need the Name and Key of existing Rule (here RootManageSharedAccessKey) or insert a new Rule. We created a new rule with no manage access.
    3.1 In Code:
    Replace the SharedSecretCredentials with SAS Tokenprovider and add it to the endpoint behaviors like before
    TransportClientEndpointBehavior sas = new TransportClientEndpointBehavior();
    sas.TokenProvider = TokenProvider.CreateSharedAccessSignatureTokenProvider("NAMEofRULE","KEYofRULE");
    3.2 App.Config:
    Simply change the tokenprovider line from
    <behaviors>
          <endpointBehaviors>
            <behavior name="sharedSecretClientCredentials">
              <transportClientEndpointBehavior>
                <tokenProvider><sharedSecret issuerName="ACSNAME" issuerSecret="ACSKEY"/></tokenProvider>...
    to
    <sharedAccessSignature keyName="NAMEofRule" key="KEYofRULE"/>
    Hope it helps!

  • Connection timed out, when server is present in  far-off place

    We have a web application on JBoss-3.2.3. It makes use of Applets. To paint the applet, a request is sent to a server using a HttpURLConnection. Evertyhing works fine when the browser(client) and the server are on the same network. However, if the client(browser) is in Australia and the server in India(i.e. long distance between server and client), then the Applet crashes with a Connection timed out exception. Any solution for this?
    The code looks something like:
    URL url = new URL(urlString);
    HttpURLConnection connection = (HttpURLConnection) url.openConnection();
    connection.setDoOutput(true);
    connection.connect();

    So I am facing the weirdest network/server problem ever!I have a customer which had a Supermicro server (Was there before me!). It was never used and they didn't know the password so i decided to format and re-install Windows Server 2012 R2 on it. I promoted it to a new domain and setup Windows Essentials so I could setup RDWeb for them quickly. They were up and running great. I also installed Trend Micro on the server and pushed it out to the client PC's. A little more info about my network before i get into the gritty. I have Brighthouse cable 35Mbps as an ISP with an ARRIS modem, a Ubiquiti Edgerouter Lite as my firewall and a cisco sg200-26 as my core switch. It's not a big location. We randomly started getting request timed out at the gateway level and the firewall level from outside and internet was dropping. We worked for weeks...
    This topic first appeared in the Spiceworks Community

  • [SOLVED] error: Resolving timed out after 10000 milliseconds

    EDIT: it was a DNS lookup problem. I don't know why but it is better to manually specify nameservers in resolv.conf than in the home router control panel (a NETGEAR DGN2200v3). See the #3 post.
    Hi
    I just installed arch and I need to downgrade to xorg 1.12 to be able to use catalyst proprietary driver (legacy).
    As I read into the wiki, I added the two required repos:
    [catalyst-hd234k]
    Server = http://catalyst.wirephire.com/repo/catalyst-hd234k/$arch
    [xorg112]
    Server = http://catalyst.wirephire.com/repo/xorg112/$arch
    when I try to do an update, I get "database file does not exist".
    In logs appears a curl error 28, timeout error, but the repository is online (I can ping it and I can browse its contents with firefox).
    What can I do?
    sudo LANG=C pacman -Syy
    warning: database file for 'xorg112' does not exist
    warning: database file for 'catalyst-hd234k' does not exist
    :: Synchronizing package databases...
    error: failed retrieving file 'xorg112.db' from catalyst.wirephire.com : Resolving timed out after 10000 milliseconds
    error: failed to update xorg112 (download library error)
    error: failed retrieving file 'catalyst-hd234k.db' from catalyst.wirephire.com : Resolving timed out after 10000 milliseconds
    error: failed to update catalyst-hd234k (download library error)
    core 105.0 KiB 122K/s 00:01 [######################] 100%
    extra 1412.9 KiB 418K/s 00:03 [######################] 100%
    community 1929.7 KiB 447K/s 00:04 [######################] 100%
    multilib 95.7 KiB 115K/s 00:01 [######################] 100%
    Last edited by yell! (2013-03-10 14:16:22)

    yell! wrote:
    thanks for replying. I edited the first post.
    Solved:
    After a lot of hours trying wget, aria2 and curl, with a lot of options, I just stopped observing pacman output behaviour in the console.
    Seemed that it was a DNS lookup problem but, in my resolv.conf, the specified nameserver was my home router.
    Anyway, I changed that specifying google's nameservers; is working now. It's a weird thing because in my homerouter I was already using google's nameservers. 
    Now I can open the repos in browser without lag.
    Example of my resolv.conf:
    Before:
    # home router nameserver
    nameserver 192.168.0.1
    After:
    #Google nameservers
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    Thanks you help me so much love you

  • [Solved with dhcpcd-5.1.5-1] dhcpcd-5.1.4-1, timed out

    Hello,
    I experienced a timed out issue with the new release of dhcpcd. When launched, it indicates a time out, so it can't get information about the network. Downgrading to dhcpcd-5.1.3-1 is the only fix I found.
    Is anyone else experiencing this upgrade issue ?
    My ethernet card :
    Ethernet controller: nVidia Corporation nForce2 Ethernet Controller
    Last edited by keronn (2010-02-04 08:17:09)

    I have the same problem. Thought it had something to do with the new version of dhcpcd, so I did a fresh install (it's a test machine), added dhcpcd in the IGNORE list and updated the system. The version of dhcpcd is 4.0.10-1 and the kernel is 2.6.32.3-1
    Upon first reboot after the system update eth0 received an address, but every reboot since I experience the timeout problem. The DHCP server does acknowledge the test-machine, but the test-machine doesn't apply the address. Anyway it seems the problem isn't dhcpd as such, maybe a problem with a network driver in 2.6.32?
    Edit:
    Hmm.. There's 2 NIC's in the test-machine, but it seems random which module is loaded first and apparently what interface get the name eth0 and eth1. I remember that listing the modules in the right order in rc.conf can help, and upon reboot the test-machine correctly received a DHCP address! There's just one strange thing.. The 2. NIC (eth1) is set to a static address, but during my "debugging" I set it to DHCP so both NIC's should get an address from DHCP. However, when restarting the network ifconfig still reported that eth1 was set to the static address?? How could the static address be used when I commented that line out? As if rc.conf was not read?
    Edit2:
    So besides the weird static address thing (which doesn't matter now), DHCP works every time now when rebooting. BUT this is with the old dhcpcd. I haven't tried upgrading it and dhcpcd is still ignored in pacman.conf. Now that the test-machine is behaving I think I'll let it be, sorry to be such a chicken.. I'll keep an eye on this issue and hope it'll work with a new version of dhcpcd soon.
    Last edited by numasan (2010-01-20 21:58:19)

  • Samba and fusesmb: "connection timed out" error

    Hello to everyone!
    I'm facing a weird problem here: since a couple of days I cannot use fusesmb anymore: I can still "see" the SMB network shares that are present on my LAN, but as soon as I try to enter one of those I get a "connection timed out" error.
    First of all I tried to reinstall fusesmb, to no avail. Then I tried to use smbclient directly:
    [tudhalyas@paranor ~]$ smbclient -L <my_windows_box_IP>
    This command correctly shows the list of shares that are present on my winXP box, and
    [tudhalyas@paranor ~]$ smbclient \\\\<my_windows_box_IP>\\SharedDocs
    creating lame upcase table
    creating lame lowcase table
    Enter tudhalyas's password:
    Domain=[WINBOX] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
    smb: \>
    allows me to go into the "Shared Docs" folder of the said computer. From here I can flawlessly download files from the share.
    Reading this thread I thought that samba 3.5.1 could be the culprit, and so I compiled samba 3.4.7 through ABS and then installed it. Sadly, fusesmb still doesn't work. I even tried to use smbnetfs, but again to no avail.
    Does anyone of you know what I could do to address this issue? Thanks in advance!

    bump... can anybody help me please?
    Last edited by Tudhalyas (2010-05-05 18:58:47)

  • Cannot web search but can go directly to web addresses, get connection timed out on websearch

    I am using Xp prof and when I enter a subject in the google or yahoo search panel it just goes to the connection has timed out. the server is taking too long to respond.
    I can go directly to a website through favorites and they pop up quickly can be refreshed etc no problems

    I've been having this problem for weeks and have found no solution to it. There are lots of other people with this issue too if you look back on the boards. I even e-mailed AND called Apple and have had no luck. I tried all the suggestions they gave me and all the ones I found on here- nothing worked. I even uninstalled and re-installed iTunes (boy was that a pain!) and no difference.
    The weird part is that I have an old laptop that works and if I buy music with the laptop I can download it with my regular computer buy buying does not work on my regular computer. That tells me it's not a connection issue. I can't get to my account either.
    I can't figure out why an issue that has kept so many people from purchasing a product has been ignored!

  • OSB Business Service is not timing out on Connection/Read timeout

    I have a weird problem with my business service in OSB. I have set the read timeout value as 1 sec and Connection timeout value as 1 sec. The response from backend is taking more than 2 seconds or even 3 seconds but still my business service is not timing out..! My service is still listening to the response from backend even if it comes after 3 seconds. I expect it to timeout after 2 seconds. Any ideas?
    Business Service Configurations:
    Service Type: Any type
    Protocol: http
    Retry count : 0
    Retry Application Errors: No
    Read Timeout: 0
    Connection Timeout: 0
    HTTP Request Method: POST
    Result Caching: No
    Let me know if you need any more information. Thanks in Advance.
    Regards
    Kaleem

    AbhishekJ wrote:
    Maximum possible successful response time of the service will be less than Read TO + Connection TO.
    Alas, this is not true.
    Maximum possible response time is infinity.
    There are two reasons for that.
    1. Read timeout is not counted as time from the successful connection establishing to the current moment. It is measured as time from the last received byte to now. Imagine a backend service that sends a single byte in a data packet every 500ms. Despite you have read timeout set to 1, the receiving of 3K message will take 25 minutes, and yet your Biz service will not timeout.
    2. In HTTPS, handshake is handled by a separate library which has its own quirks. Specifically, if the key exchange is broken at particular point of handshake, the library re-establishes the connection and does it few times; in my experiements, the largest I could delay the eventual fault was about 3 minutes.
    Having said that, in the OP message the configuration is Read=0, Connect=0, so I wonder why the timeout is expected.

  • Coherence exception -  This service timed-out due to unanswered handshake request

    Hi,
    We are getting weird errors in production with below exception -  Oracle Coherence GE 3.5.1/461 <Error> (thread=DistributedCache, member=2): validatePolls: This service timed-out due to unanswered handshake request. Manual intervention is required to stop the members that have not responded to this Poll.
    To give little back ground on the issue,  we had multicast coherence setup in production with 3 servers are in coherence cluster.   We are using JBoss as our application server. Coherence version currently  using in production is : 3.7.1.0b27797.  Our applications are running in 2 data centers and interestingly this issue is  occurring in only one data center. So not sure weather it is coherence issue or environmental issue.
    If this issue occurs in one or two servers then they are able to recover after some time. But if is happens on all 3 servers, then all 3 servers are dead and causing production outage.
    We have captured the thread dump from production servers when this issue occured and noticed all application threads are hanging at WAITING state with below thread stack trace
    "http-0.0.0.0-8080-1200" daemon prio=10 tid=0x00002afffa32f800 nid=0x2d06 in Object.wait() [0x00002b0070702000]
       java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:31)
        - locked <0x00000007903388b8> (a com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$UnlockRequest$Poll)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.unlock(DistributedCache.CDB:32)
        at com.tangosol.util.ConverterCollections$ConverterConcurrentMap.unlock(ConverterCollections.java:2032)
        at com.tangosol.util.ConverterCollections$ConverterNamedCache.unlock(ConverterCollections.java:2555)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.unlock(DistributedCache.CDB:1)
    P.S :  Network team confirmed that multi cast connectivity is working fine and they have not seen any network outages.
    Can you please help me understand this weird issue and fix this issue?  Any help is highly appreciated.
    Thanks,
    Ramesh

    Hi,
    We are getting weird errors in production with below exception -  Oracle Coherence GE 3.5.1/461 <Error> (thread=DistributedCache, member=2): validatePolls: This service timed-out due to unanswered handshake request. Manual intervention is required to stop the members that have not responded to this Poll.
    To give little back ground on the issue,  we had multicast coherence setup in production with 3 servers are in coherence cluster.   We are using JBoss as our application server. Coherence version currently  using in production is : 3.7.1.0b27797.  Our applications are running in 2 data centers and interestingly this issue is  occurring in only one data center. So not sure weather it is coherence issue or environmental issue.
    If this issue occurs in one or two servers then they are able to recover after some time. But if is happens on all 3 servers, then all 3 servers are dead and causing production outage.
    We have captured the thread dump from production servers when this issue occured and noticed all application threads are hanging at WAITING state with below thread stack trace
    "http-0.0.0.0-8080-1200" daemon prio=10 tid=0x00002afffa32f800 nid=0x2d06 in Object.wait() [0x00002b0070702000]
       java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:31)
        - locked <0x00000007903388b8> (a com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$UnlockRequest$Poll)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.unlock(DistributedCache.CDB:32)
        at com.tangosol.util.ConverterCollections$ConverterConcurrentMap.unlock(ConverterCollections.java:2032)
        at com.tangosol.util.ConverterCollections$ConverterNamedCache.unlock(ConverterCollections.java:2555)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.unlock(DistributedCache.CDB:1)
    P.S :  Network team confirmed that multi cast connectivity is working fine and they have not seen any network outages.
    Can you please help me understand this weird issue and fix this issue?  Any help is highly appreciated.
    Thanks,
    Ramesh

  • Timed out session, port 143

    Hello! I got some problems with my mail. I have entered everything correctly into Mail but I get only timed out session 143. Nothing more to say really, Thanks in advance, Morgan.

    Ernie,
    Weirdly, I checked software update and that can't get a connection either, and yet I have good internet and am receiving and sending mail fine from all accounts.
    When i try to move a mail from my works IMAP to a .mac folder, it starts to move it but then the connection speed seems to plummet as though it's being choked somewhere?
    I'll try the SSL. is that just on the Incoming or the outgoing or both?

  • I am trying to load a calpatch to a program called Caldera, but i keep getting the following "AppleScript Error – Terminal got an error:apple event timed out ( -1712)" my IOS is Yosemite, and i am running the latest version of the caldera program

    I am trying to load a calpatch to a program called Caldera, but i keep getting the following “AppleScript Error – Terminal got an error:apple event timed out ( -1712)” my IOS is Yosemite, and i am running the latest version of the caldera program

    Hi Linc, thanks for this ... it is weird, we tried this previously, but we only did a restart.
    This morning our Mac was 'off' even though we hadn't turned it off, (maybe a power outage) I restarted and ran the calpatch immediately, and it worked !!
    it is embarrassing, because as a service engineer, I am always telling customers to restart and even power down completely before trying again.
    Thanks.
    Snakeydee

  • Mac App Store: Your session has timed out. Try again.

    Whenever i try to do anything in the Mac AppStore, i get the message Your session has timed out. Try again.
    I tried with and without two step verification. It all runs on a MacBook Pro and Yosemite - no updates available in the store to install. Updates, although with a workaround do install, weirdly enough.
    I am sorry if this question was asked before. Also the search here does not work today for me. Start feeling like i am using windows ME again…
    This is getting really frustrating.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • "Local connection timed out after 120000"

    My Twitter and Facebook both won't refresh and i get a message saying "Local connection timed out after 120000"
    how do I fix this??

    i'm trying to figure this out myself at the moment.. its soo weird .. did u get it sorted by any chance

Maybe you are looking for

  • Sort Album by Artist/Year Not Working Correctly

    For the Beatles, I have bought 3 albums from iTunes - Please Please Me, With the Beatles and Magical Mystery Tour. For some reason, using the above sorting Magical Mystery Tour appears at the top of the list, despite the fact that the year field is c

  • Recipe Management Security

    Is anyone restricting access to specific Recipe Management (RM) objects (specifications and recipes) by a project designation and/or team composition? We are using role-based security along with authorization object and sub-object settings within RM.

  • Can't see AirPort Express in second location

    I have a new AirPort Express that works great at home with my MacBook Pro (extends network from Linksys wireless router, plays iTunes, connects to printer - even in Parallels / WinXP!). I saved this profile as "home". I then simply unplugged it and t

  • Transfer problem

    Hi , I tried to send the data to application server using the below code. After the execution of below code it is resulting in dump. I cannot use 'ENCODING UNICODE' option because the client system is nonunicode system. Please reply me with solution

  • How do I create a TXT record?

    I'm trying to figure out how to create a TXT record on OS X Server 4's DNS server.  Specifically for the Caching service's multiple public IP address requirements.  I'm, of course, using OS X Server's DNS implementation, but see no definitive method