Connection closed by the remote host

Hello everyone.
I'm getting this problem in XI:
When a NON-SAP system is sending messages to XI via HTTP protocol (SOAP adapter), we are getting this error:
"An existing connection was forcibly closed by the remote host"
The guy from the non-sap system (Real Estate) got this error when he is sending a big amount of data.
When the amount data is reduced, this problem is not happening, so all messages passed ok.
In the other case, he needs to send them in batches.
We are trying to find out where the problem is.
Has anybody any idea of this?

Hi
Check this out, a similar issue due to data size
400 Bad HTTP request : when calling proxy from SAP
Regards
Vishnu

Similar Messages

  • TcpListener not working on Azure: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

    Hi Everybody,
    i'm playing a little bit with Windows Azure and I'm blocked with a really simple issue (or maybe not).
    I've created a Cloud Service containing one simple Worker Role. I've configured an EndPoint in the WorkerRole configuration, which allows Input connections via tcp on port 10100.
    Here the ServiceDefinition.csdef file content:
    <?xml version="1.0" encoding="utf-8"?>
    <ServiceDefinition name="EmacCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-01.2.3">
    <WorkerRole name="TcpListenerWorkerRole" vmsize="Small">
    <Imports>
    <Import moduleName="Diagnostics" />
    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    </Imports>
    <Endpoints>
    <InputEndpoint name="Endpoint1" protocol="tcp" port="10100" />
    </Endpoints>
    </WorkerRole>
    </ServiceDefinition>
    This WorkerRole is just creating a TcpListener object listening to the configured port (using the RoleEnvironment instance) and waits for an incoming connection. It receives a message and returns a hardcoded message (see code snippet below).
    namespace TcpListenerWorkerRole
    using System;
    using System.Net;
    using Microsoft.WindowsAzure.ServiceRuntime;
    using System.Net.Sockets;
    using System.Text;
    using Roche.Emac.Infrastructure;
    using System.IO;
    using System.Threading.Tasks;
    using Microsoft.WindowsAzure.Diagnostics;
    using System.Linq;
    public class WorkerRole : RoleEntryPoint
    public override void Run()
    // This is a sample worker implementation. Replace with your logic.
    LoggingProvider.Logger.Info("TcpListenerWorkerRole entry point called");
    TcpListener listener = null;
    try
    listener = new TcpListener(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    LoggingProvider.Logger.Info(string.Format("TcpListener started at '{0}:{1}'", RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Address, RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Port));
    catch (SocketException ex)
    LoggingProvider.Logger.Exception("Unexpected exception while creating the TcpListener", ex);
    return;
    while (true)
    Task.Run(async () =>
    TcpClient client = await listener.AcceptTcpClientAsync();
    LoggingProvider.Logger.Info(string.Format("Client connected. Address='{0}'", client.Client.RemoteEndPoint.ToString()));
    NetworkStream networkStream = client.GetStream();
    StreamReader reader = new StreamReader(networkStream);
    StreamWriter writer = new StreamWriter(networkStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    while (true)
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    LoggingProvider.Logger.Info("This is what the host sent to you: " + input+". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    break;
    catch (Exception ex)
    LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    break;
    }).Wait();
    public override bool OnStart()
    // Set the maximum number of concurrent connections
    ServicePointManager.DefaultConnectionLimit = 12;
    DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");
    RoleEnvironment.Changing += RoleEnvironment_Changing;
    return base.OnStart();
    private void RoleEnvironment_Changing(object sender, RoleEnvironmentChangingEventArgs e)
    // If a configuration setting is changing
    LoggingProvider.Logger.Info("RoleEnvironment is changing....");
    if (e.Changes.Any(change => change is RoleEnvironmentConfigurationSettingChange))
    // Set e.Cancel to true to restart this role instance
    e.Cancel = true;
    As you can see, nothing special is being done. I've used the RoleEnvironment.CurrentRoleInstance.InstanceEndpoints to retrieve the current IPEndpoint.
    Running the Cloud Service in the Windows Azure Compute Emulator everything works fine, but when I deploy it in Azure, then I receive the following Exception:
    2014-08-06 14:55:23,816 [Role Start Thread] INFO EMAC Log - TcpListenerWorkerRole entry point called
    2014-08-06 14:55:24,145 [Role Start Thread] INFO EMAC Log - TcpListener started at '100.74.10.55:10100'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Client connected. Address='196.3.50.254:51934'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Buffer size: 65536
    2014-08-06 15:06:45,491 [9] FATAL EMAC Log - Unexpected exception while Reading the request
    System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    --- End of inner exception stack trace ---
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
    at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
    at TcpListenerWorkerRole.WorkerRole.<>c__DisplayClass0.<<Run>b__2>d__0.MoveNext() in C:\Work\Own projects\EMAC\AzureCloudEmac\TcpListenerWorkerRole\WorkerRole.cs:line 60
    I've already tried to configure an internal port in the ServiceDefinition.csdef file, but I get the same exception there.
    As you can see, the client can connect to the service (the log shows the message: Client connected with the address) but when it tries to read the bytes from the stream, it throws the exception.
    For me it seems like Azure is preventing the retrieval of the message. I've tried to disable the Firewall in the VM in Azure and the same continues happening.
    I'm using Windows Azure SDK 2.3
    Any help will be very very welcome!
    Thanks in advance!
    Javier
    En caso de que la respuesta te sirva, porfavor, márcala como válida
    Muchas gracias y suerte!
    Javier Jiménez Roda
    Blog: http://jimenezroda.wordpress.com

    hi Javier,
    I changed your code like this:
    private AutoResetEvent connectionWaitHandle = new AutoResetEvent(false);
    public override void Run()
    TcpListener listener = null;
    try
    listener = new TcpListener(
    RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    catch (SocketException se)
    return;
    while (true)
    IAsyncResult result = listener.BeginAcceptTcpClient(HandleAsyncConnection, listener);
    connectionWaitHandle.WaitOne();
    The HandleAsync method is your "While (true)" code:
    private void HandleAsyncConnection(IAsyncResult result)
    TcpListener listener = (TcpListener)result.AsyncState;
    TcpClient client = listener.EndAcceptTcpClient(result);
    connectionWaitHandle.Set();
    NetworkStream netStream = client.GetStream();
    StreamReader reader = new StreamReader(netStream);
    StreamWriter writer = new StreamWriter(netStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    // LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    // LoggingProvider.Logger.Info("This is what the host sent to you: " + input + ". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    // LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    catch (Exception ex)
    //LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    Please try it. For this error message, I suggest you could refer to this thread (http://stackoverflow.com/questions/6173763/using-windows-azure-to-use-as-a-tcp-server
    ) and this post (http://stackoverflow.com/a/5420788).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • WCF service connection forcibly closed by the remote host for large data

    Hello ,
                        WCF service is used to generate excel report , When the stored procedure returns large data around 30,000 records. Service fails
    to return the data . Below is the mentioned erorr log :
    System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP
    response to <service url> This could be due to the service
     endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by
    the server (possibly due to the service shutting down). See server logs for more details. ---> System.Net.WebException:
    The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException:
    Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
    ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
       at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       --- End of inner exception stack trace ---
       at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
       at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout).
       --- End of inner exception stack trace ---
    Server stack trace:
       at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
       at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at IDataSetService.GetMastersData(Int32 tableID, String userID, String action, Int32 maxRecordLimit, Auditor& audit, DataSet& resultSet, Object[] FieldValues)
       at SPARC.UI.Web.Entities.Reports.Framework.Presenters.MasterPresenter.GetDataSet(Int32 masterID, Object[] procParams, Auditor& audit, Int32 maxRecordLimit).
    WEB CONFIG SETTINGS OF SERVICE
    <httpRuntime maxRequestLength="2147483647" executionTimeout="360"/>
    <binding name="BasicHttpBinding_Common"  closeTimeout="10:00:00"  openTimeout="10:00:00"
           receiveTimeout="10:00:00"  sendTimeout="10:00:00"  allowCookies="false"
           bypassProxyOnLocal="false"  hostNameComparisonMode="StrongWildcard"
           maxBufferSize="2147483647"  maxBufferPoolSize="0"  maxReceivedMessageSize="2147483647"
           messageEncoding="Text"  textEncoding="utf-8"   transferMode="Buffered"
           useDefaultWebProxy="true">
    <readerQuotas     maxDepth="2147483647"
          maxStringContentLength="2147483647"  maxArrayLength="2147483647"
          maxBytesPerRead="2147483647"  maxNameTableCharCount="2147483647" />
         <security mode="None"> 
    WEB CONFIG SETTINGS OF CLIENT
    <httpRuntime maxRequestLength="2147483647" requestValidationMode="2.0"/>
    <binding name="BasicHttpBinding_Common"
           closeTimeout="10:00:00"       openTimeout="10:00:00"
           receiveTimeout="10:00:00"       sendTimeout="10:00:00"
            allowCookies="false"        bypassProxyOnLocal="false"
            hostNameComparisonMode="StrongWildcard"        maxBufferSize="2147483647"
            maxBufferPoolSize="2147483647"        maxReceivedMessageSize="2147483647"
            messageEncoding="Text"        textEncoding="utf-8"
            transferMode="Buffered"        useDefaultWebProxy="true">
     <readerQuotas
           maxDepth="2147483647"
           maxStringContentLength="2147483647"
           maxArrayLength="2147483647"
           maxBytesPerRead="2147483647"
           maxNameTableCharCount="2147483647" />   

    Doing binding configuration on a WCF service to override the default settings is not done the sameway it would be done on the client-side config file.
    A custom bindng must be used on the WCF service-side config to override the defualt binding settings on the WCF service-side.
    http://robbincremers.me/2012/01/01/wcf-custom-binding-by-configuration-and-by-binding-standardbindingelement-and-standardbindingcollectionelement/
    Thee readerQuotas and everything else must be given in the Custom Bindings to override any default setttings on the WCF service side.
    Also, you are posting to the wrong forum.
    http://social.msdn.microsoft.com/Forums/vstudio/en-us/home?forum=wcf

  • Detecting When a Non-Blocking Socket Is Closed by the Remote Host

    Hi,
    Using NIO non blocked sockets how do I detect when a Non-Blocking Socket Is Closed by the Remote Host?
    What I have read is:
    The only way to detect that the remote host has closed the connection is to attempt to read or write from the connection. If the remote host properly closed the connection, read() will return -1. If the connection was not terminated normally, read() and write() will throw an exception.
    I have written a server test program using NIO and an applet connecting to the server program via sockets.
    When I after a successful connection shuts down the browser following happens: The code below comes in an endless loop though mySelector.select returns 0 every time. (The selector is registered for OP_READ). size = 1.
    while (true) {
    int n = mySelector.select();
    int size = mySelector.keys().size();
    if (n == 0) continue;
    Is this an expected result?
    How do I get to know what client has lost connection?
    My environment:
    W2000
    java 1.4.1 build 1.4.1_01-b01
    Browser used: IE 5.0
    Many thanks for your help on this matter!
    Regards Magnus Wistr�m

    What you're doing looks OK to me.
    I wonder whether your thread is being interrupted by Thread.intterupt() somewhere. Try putting a Thread.interrupted() before the select call.
    Sylvia.

  • An existing connection was forcibly closed by the remote host

    HI
    can u plz help why this prb is comming due to this prb we are unable process other thing
    plz help
    Thanks
    Harish

    Is that because of maximum cursor reached and/or maximum session exceeded? I see this happened when there are many sessions and/or open cursors in the database. When this happened, I usually stop OPM and restart it.

  • Connection Closed forcibly by the remote host

    Hi,
    I am trying to print a file on the Client machine by getting the file object from the Server. For this, I used an Applet to call the Servlet and in return the Servlet will send the file object as response. It worked well for me, but I got the following error at one time.
    [5/2/08 8:55:00:087 CDT] 0000001d SRTServletReq E SRVE0133E: An error occurred while parsing parameters. java.io.IOException: Async IO operation failed, reason:
    RC: 10054 An existing connection was forcibly closed by the remote host.
         at com.ibm.io.async.AbstractAsyncChannel.multiIO(AbstractAsyncChannel.java:474)
         at com.ibm.io.async.AsyncSocketChannelHelper.read(AsyncSocketChannelHelper.java:217)
         at com.ibm.ws.tcp.channel.impl.AioSocketIOChannel.readAIOSync(AioSocketIOChannel.java:205)
         at com.ibm.ws.tcp.channel.impl.AioTCPReadRequestContextImpl.processSyncReadRequest(AioTCPReadRequestContextImpl.java:150)
         at com.ibm.ws.tcp.channel.impl.TCPReadRequestContextImpl.read(TCPReadRequestContextImpl.java:109)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.fillABuffer(HttpServiceContextImpl.java:4124)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readSingleBlock(HttpServiceContextImpl.java:3368)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readBodyBuffer(HttpServiceContextImpl.java:3473)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundServiceContextImpl.getRequestBodyBuffer(HttpInboundServiceContextImpl.java:1606)
         at com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.bufferIsGood(WCCByteBufferInputStream.java:109)
         at com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.read(WCCByteBufferInputStream.java:79)
         at com.ibm.ws.webcontainer.srt.http.HttpInputStream.read(HttpInputStream.java:294)
         at com.ibm.ws.webcontainer.servlet.RequestUtils.parsePostData(RequestUtils.java:297)
         at com.ibm.ws.webcontainer.srt.SRTServletRequest.parseParameters(SRTServletRequest.java:1476)
         at com.ibm.ws.webcontainer.srt.SRTServletRequest.getParameterMap(SRTServletRequest.java:2006)
         at com.ibm.faces.context.MultipartExternalContextImpl$MultiPartServletRequestWrapper.<init>(MultipartExternalContextImpl.java:454)
         at com.ibm.faces.context.MultipartExternalContextImpl.<init>(MultipartExternalContextImpl.java:98)
         at com.ibm.faces.context.MultipartFacesContextFactoryImpl.getFacesContext(MultipartFacesContextFactoryImpl.java:77)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:192)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    I am not able find the exact reason for this exception, because I couldn't reproduce the same scenario. Can any one tell the exact reason for this exception and how to solve this problem.
    Thank You.
    Edited by: Ramesh_Pappala on May 5, 2008 11:54 AM

    Doing binding configuration on a WCF service to override the default settings is not done the sameway it would be done on the client-side config file.
    A custom bindng must be used on the WCF service-side config to override the defualt binding settings on the WCF service-side.
    http://robbincremers.me/2012/01/01/wcf-custom-binding-by-configuration-and-by-binding-standardbindingelement-and-standardbindingcollectionelement/
    Thee readerQuotas and everything else must be given in the Custom Bindings to override any default setttings on the WCF service side.
    Also, you are posting to the wrong forum.
    http://social.msdn.microsoft.com/Forums/vstudio/en-us/home?forum=wcf

  • SQL Service Broker 2012: the connection was closed by the remote end, or an error occurred while receiving data: '64(The specified network name is no longer available.)'

    Anyone can help with the below issue please? Much appreciated.
    We have about 2k+ messages in sys.transmission_queue
    Telnet to the ports 4022 is working fine.
    Network connectivity has been ruled out.
    The firewalls are OFF.
    We also explicitly provided the permissions to the service account on Server A and Server B to the Service broker end points.
    GRANT
    CONNECT ON
    ENDPOINT <broker> <domain\serviceaccount>
    Currently for troubleshooting purposes, the DR node is also out of the Availability Group, which means that we right now have only one replica the server is now a traditional cluster.
    Important thing to note is when a SQL Server service is restarted, all the messages in the sys.transmission queue is cleared immediately. After about 30-40 minutes, the errors are continued to be seen with the below
    The
    connection was
    closed by the
    remote end,
    or an
    error occurred while
    receiving data:
    '64(The specified network name is no longer available.)'

    We were able to narrow down the issue to an irrelevant IP coming into play during the data transfer. We tried ssbdiagnose runtime and found this error:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>SSBDIAGNOSE -E RUNTIME -ID 54F03D35-1A94-48D2-8144-5A9D24B24520 Connect to -S <SourceServer> -d <SourceDB> Connect To -S <DestinationServer> -d <DestinationDB>
    Microsoft SQL Server 11.0.2100.60
    Service Broker Diagnostic Utility
    An internal exception occurred: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
    P  29830                                 Could not find the connection to the SQL Server that
    corresponds to the routing address tcp://XX.XXX.XXX.199:4022. Ensure the tool is connected to this server to allow investigation of runtime events
    The IP that corresponds to routing address is no where configured within the SSB. We are yet unsure why this IP is being referred despite not being configured anywhere. We identified that this IP belongs to one of nodes other SQL Server cluster, which has
    no direct relation to the source server. We failed over that irrelevant SQL Server cluster and made another node active and to our surprise, the data from sys.transmission_queue started flowing. Even today we are able to reproduce the issue, if we bring
    back this node [XX.XXX.XXX.199] as active. Since, its a high business activity period, we are not investigating further until we get an approved downtime to find the root cause of it.
    When we get a approved downtime, we will bring the node [XX.XXX.XXX.199] as active and we will be running Network Monitor, Process Monitor and the SSB Diagnose all in parallel to capture the process/program that is accessing the irrelevant IP.
    Once, we are able to nail down the root cause, I will share more information.

  • I recently installed CS4, and I can not make a connection to my website.  Message an FTP error occurred and cannot make a connection to host. The remote host cannot be found.

    I recently installed CS4, and I can not make a connection to my website.  Message an FTP error occurred and cannot make a connection to host. The remote host cannot be found.

    Open up your site definition (double-click on the site name in the File panel or choose Site > Manage Sites > Edit) and go to the Remote Info category. There, click Use Firewall (if it isn't already selected) - press Test to try the default firewall settings. If that doesn't work, click Firewall Settings. You'll see two relevant settings about 2/3 down - Firewall host and Firewall port. If Firewall port is 21, there probably is something blocking the port.
    On Windows XP, you may have the Windows Firewall installed and blocking. Here's how you get to it:
    To open Windows Firewall
    1.
    Click Start and then click Control Panel.
    2.
    In the control panel, click Windows Security Center.
    3.
    Click Windows Firewall.
    Once you have that open, you'll need to set Dreamweaver as an exception to blocking:
    On the Exceptions tab, click Add                     Program.
    In the list of programs, click the name of the program (Dreamweaver) that you                     want to add, and then click OK. If the name of your program is                     not in the list of programs, click Browse to locate the Dreamweaver.exe in the Program Files folder and then click OK.
    Hope this helps - Joe
    Joseph Lowery
    Author, Dreamweaver CS4 Bible

  • CS4 "The connection to the remote host has been lost"

    Suddenly I get the error message (CS4) when I try connecting to remote hosts: "The connection to the remote host has been lost. Click Refresh to reconnect." It is impossible to connect to ANY remote host.
    This happens for all my sites, on remote servers in different countries, so it must be a DW problem. Please advice.

    Have you tried using Passive mode:
    Site Definition > Advanced > click the Passive FTP box and see if that works.
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • There is no connection to the remote host

    Hi,
    I have installed the NFR 1.01 on OES2. I have an agent on an other OES2 also and an agent on a Netware6.5 sp7 server. In the admin console is see all agents but no volumes. When i click on the Netware agent i receive a message "There is no connection to the remote host".
    On the main screen in the "scan collection" when i ask for "rebuild storage list" nothing happens. (except "rebuild is in progress" the whole day long).
    Whats wrong or what have I missed?
    Thanks
    Herman

    Herman,
    In your agentncp config please clear the Alternate Hostname, and restart
    the agent. Does the agent heartbeat in to the engine?
    thanks,
    NSM Development
    On 10/21/2010 4:36 AM, Herman wrote:
    >
    > [image:
    > file:///C:/DOCUME%7E1/VEHERMAN/LOCALS%7E1/Temp/msohtmlclip1/01/clip_image002.jpg]Hi,
    >
    > I cannot insert a picture, so i will type over the settings:
    > (settings on the same server OES2)
    >
    > -----------------------------
    > Directory Service Interface Config
    > -----------------------------
    > Host adress: 10.0.0.67
    > Service Ports: HTTPS: 3009
    > Management Mode: Automatic
    > Data Path: /var/opt/novell/filereporter/dsi-edir/data
    > Default Server: 10.0.0.67
    >
    > Proxy Account: CN=NFRProxy.O=psi
    > Admins Groups: CN=NFRAdmins.O=psi
    > Users Group: CN=NFRUsers.O=psi
    > log Path: /var/opt/novell/filereporter/dsi-edir/log
    > log File Size: 10240 Kb Log file Count: 10
    > Level Log: 5
    >
    >
    >
    > -----------------
    > Engine Service Config
    > -----------------------------
    > Host adress: 10.0.0.67
    > Service Ports:
    >
    > client HTTPS: 3033 HTTP: 0
    > Agent HTTPS: 3035 HTTP: 0
    >
    >
    > Data Path: /var/opt/novell/filereporter/engine
    > Debug Logging: Disabled
    > Heartbeat: 60 seconds
    > DSI Address: 10.0.0.67:3009
    > Use SSL: Yes
    > Scans per volume: 2
    >
    >
    > -----------------
    > AgentNCP Service Config
    > -----------------------------
    > Host adress: 10.0.0.67
    > Service Ports: HTTPS: 3037 HTTP: 0
    >
    >
    > Data Path: /var/opt/novell/filereporter/agentncp
    > Debug Logging: Disabled
    > Heartbeat: 60 seconds
    > DSI Address: 10.0.0.67:3035
    > Use SSL: Yes
    > Alternate Hostname: 10.0.0.67
    >
    >
    >
    > I hope this is the info you want.
    >
    > Herman
    >
    >

  • HELP!!!   Dreamweaver could not connect you to the remote server"

    Hi all,
    I have been struck by what seems a common problem with
    Dreamweaver/Contribute.
    I get this message when trying to “Enable Contribute
    compatibility” in Dreamweaver:
    “Dreamweaver could not connect you to the remote
    server. You cannot perform Contribute administration tasks without
    a connection to a remote server. Please fix the remote connection
    before continuing.”
    I have read that DW will try to write and delete a file to
    confirm the connection… When I look at the FTP log of DW, it
    confirms that the Temp file has been written and deleted.
    So, it has in fact connected to the remote server...!
    Things I have done to try to eliminate errors includes:
    • Ensure Contribute is not open on the PC.
    • Contacted my ISP to ensure that “/” is
    the “Host directory”
    • Modified the URL in each of the tabs listed below
     Including the Base web address
    Below are the settings I have selected in the Site definition
    window:
    Local info:
    Local root folder: v\website\
    Links relative to Document:
    Http address:
    http://www.website.com
    Remote Info:
    Access FTP
    FTP Host www.website.com
    Host directory /
    Contribute:
    Rollback enabled: Currently off
    CPS enable Currently off
    Site URL:
    http://www.website.com
    I have spoken to my ISP: www.webcentral.com.au
    • They have confirmed that Contribute is used on their
    products by other users.
    • They also stated that they sell Sharepoint as their
    CMS option
    What other things can I try to eliminate this problem?

    Hi,
    Can you please try adding the DNS in your machine where DW
    is running?
    Steps to add:
    1) In the Network Connections, right click Local Area
    Connection.
    2) Select Properties.
    3) Select Internet Protocal (TCP/IP) and click Properties
    button.
    4) Select the radio button Use the following DNS server
    addresses and provide your preferred DNS and Alternate DNS server
    addresses.
    5) Click Advanced button and select DNS tab in the Advanced
    PCT/IP setting dialog.
    6) Select the radio button "Append these DNS suffixes (in
    Order)" and add the values and also add DNS suffix for this
    connection.
    7) Click ok and close all the dialogs.
    Hope this helps.

  • Unable to delete file on the remote host

    Hi,
    I tried to delete a file on the remote host using File.delete method as well as using Runtime.getRuntime.exec("del filename")
    But both of them failed to work. First one returned false, but the second one is throwing IOException always.
    I am trying this through a java application in Windows NT environment. I am using jdk1.3. How can i solve this problem?.
    IOException occured at DataLoadFromTxtToOra exeBatchForTWS: CreateProcess: del \\ERSWEB\DTemp\ERS\HEB_428\DATAFILES\ERSWEB\DLCOMMA.txt error=2
    Regards,
    Babu

    you should be able to do that if you have rights on the file, try the following code and substitute the computer/share names:
                   File aFile = new File("\\\\COMPUTER\\share\\filename.ext");
                   System.out.println("Read: " + aFile.canRead());
                   System.out.println("Write: " + aFile.canWrite());
                   System.out.println("Exists: " + aFile.exists());
                   System.out.println("File: " + aFile.isFile());
                   aFile.delete();Mind the slashes: a single backslash is causing a escape character: \n for example is a (unix) return. A double \\ defeats it and results in a single \ in the filename
    If everything returns true I think the file will be deleted. If isFile() returns false you've got the path/filename wrong.

  • CCMS Error - There are system problems on the remote host (system failure)

    Hi,
    I have installed the SAPCCMSR agent in the AccAD(Accelerated Application Delivery) server. However, when I execute OS07 and try to view the CPU usage, I encountered this error:
    There are system problems on the remote host (system failure)
    Message no. S1308
    Any idea what does the error mean?
    Thanks.
    KY

    Hi,
    Thanks for replying. The problem has been resolved after upgrading the sapccmsr.
    Thanks.
    Regards,
    KY

  • [MFC] Error Importing logs using SCP - "Error while downloading file. The remote host has terminated the connection"

    Background: 
    In order to transfer logs to MFC, we had to use an intermediate logging server in our OOB network.  When this logging server crashed we had to rebuild the server with new hardware and SCP no longer worked.
    Issue: 
    The host key changed on the new server and had to be manually updated.  We suspected it was related to the hosts key but had difficulty finding where the known hosts info was stored.
    Solution: 
    Go to your install location of MFC and remove the known_hosts file.  In our case the file was located at:  "D:\Program Files\IronPort Systems\Mail Flow Central\mailFC\tmp\known_hosts".  Instead of removing the file, we renamed it to known_hosts.old and restarted the MFC service.  Afterwards we could see all the old logs importing.
    The issue itself was not difficult to resolve, it just took more time than expected for something that would seem straightforward.  To complicate things, we even raised a query to customercare who came back saying that they do not support the server on which MFC is running.  But clearly the source of the issue was related to the application rather than the server itself.

    Thanks for your comment qetzacoatl, however I don't this this will work for me, I am on a team, and we need to be able to check-in/out files and make sure we don't override eachothers work. I also don't want to have to use 2 programs to accomplish the task one should be able to do. Its now 3 weeks going and I can't get any work done, it seems like its getting worse. Nobody from Adobe seems to want to comment on my thread at all....So maybe I should just find a completely new solution and get rid of DW all together, Aptana is looking VERY nice right about now.

  • ATV 2 stopped working. The connections are good, the remote is paired and working, but the menus come and go off sporadically, and the white light just blinks continuously.

    I bought ATV 2 about two weeks ago.  The setup was easy and I set up my Home Sharing, screensavers, and I was watching Netflix within about 20 minutes.  I had a good week of no trouble and enjoyed the device immensely.  I updated the software when prompted and continued to watch movies and play music.  Then something happened: in the middle of viewing, ATV 2 stopped working, the screen went blank, and the little white light started blinking slowly.  When this happens, the ATV manual "troubleshooting" section merely says, "Apple TV is having problems."  ***?  Strangely, it would come on and act fine for a few moments as if nothing happended (for only a minute or two), then click off again.
    I attempted to RESET the device by using the Down/Menu combo -- nothing -- the white light blinks really fast but still no picture on the TV (just the Apple logo); I unplugged it and plugged it back in -- no fix; then, I RESTORED the device and had to re-enter Apple and Netflix account info, passwords, set up shared photo folders, etc.  Afterwards, it worked.  I watched movies right where I left off and went on with life until a few days ago when I wanted to finish a movie... The movie was going fine - no problems at all - until ATV 2 stopped working again! 
    So, the remote works [it is paired and sends commands as it should], the HDMI connection to HDTV is fine, the stereo receiver connection is fine (for audio, using an optical cable).  But the only thing on the TV is the Apple logo.  Resetting ATV 2 doesn't work; and I could restore it again but that seems like a HUGE waste of time, and something I am not prepared to do each time I want to use the device. 
    What could be the cause?  Wireless interferrence, software/update flaws, need for firmware, or malfunctioning hardware?   ATV 2 is a $100 paperweight until I get answers.

    After some sleuthing online, reading a compilation of Q&As here, and visiting the local Apple Store, I think the problem and "solution" may be found in HOW my ATV2 is connected to my stereo.  For some reason that I have not figured out, when the RECEIVER either switches from one setting to another, it somehow disrupts the ATV.
    The ORDER of how you turn ATV on and off is key.  If you start with everything OFF (ATV, HDTV, stereo Receiver), then turn on the receiver, then turn the HDTV, put the TV to the input setting that is connected to the ATV, THEN turn on the ATV by hitting the Play button on the remote. 
    Note: The ATV light may come on once the HDTV is turned on and put to the correct setting, but you will not see a picture on your TV yet.
    You should be up and running on ATV (without having to reset, unplug or restore). Apparently, I was using my universal remote that essentially turned everything (HDTV, Onkyo Receiver and, by extension, the ATV) on at the same time, confusing ATV and causing that evil blinking white light.  The ATV connection was lost.
    When you are done with ATV, you must put ATV to sleep FIRST... each time. The command is on the main menu, to the far right, at the bottom [Sleep Now].  Once you press Sleep Now, the ATV will go off.  THEN you can turn your receiver/HDTV off (or to whatever other setting you want for watching regular tv, music, etc.).  I was simply switching my HDTV and Receiver 'away' from ATV when I was done... But I would return to a blinking light and no ATV.  The solution above is a work-around that seems to do the trick.
    The thing Apple needs to fix is to make the "Sleep Now" command a simple process on the remote so you don't have to back out of everything you were watching to get to the main menu for the Sleep Now command. Or in the next update Apple merely needs to improve ATV2 so it can work no matter what order you open or close it on a HDTV/Stereo. 
    Note: Other people have suggested that you just hit the select or Menu button to put ATV to sleep, but that did NOT work for me.
    I figured this out through trial and error so I hope it works for you too.

Maybe you are looking for

  • Open Multiple PDF files from Production order/Routing

    Hi Everyone We are in ECC 6.0 environment. We have a scenario where multiple documents were attached to single operation and also at multiple operations. But when I was trying to open these PDF documents, only the last file was getting opened and clo

  • Dynamic ALV with Static and Dynamic attributes

    Hi All, In my requirement we have some 5 static attributes and rest attributes needs needs to be dynamically created based upon the input selections. for eg my input for start date and end date is between 201023 to 201152 then weeks between this rang

  • D600 .NEF files won't open in CS5 Camera Raw?

    .NEF files taken on my new Nikon D600 won't open in CS5 Bridge Camera Raw. Error Message:   The Photoshop Camera Raw plug-in did not recognise the format of one or more files." .NEF files taken with the Nikon D90 are opening perfectly. There must be

  • How to set cashe '0' in fixed assets

    Hi guys well i am facing a problem in fixed assest numbers,when we insert a data manualy from application then we have 20 numbers forwarded number. for example we have sequence in asset number (1 2 3 4 22 23 24 25 26 36 37 38 39 and so on i want to s

  • Strategy for implementing drpdownlistbykey in header / detail relationship

    Quite often I have header details relationships that I want to display.  The volumes of data are typically small, so rather than make multiple trips to the database I choose to load all the data into context during the init routine.  Implementing an