Hi, We receive the stack trace below from the container we are using (Tomcat running TopBraid semantic software TBL). However a similar stack was reproduced when developing with TBC.
Analyzing this TBL stack trace, we see Connection refused at the cause, which, as far as I studied, reflects a pure server OS response stating that either no process is listening port 80, or that the accept queue is full on the port - the inbound SYN queue. Restarting the client program (it was TBC then, not TBL) solved the issue in one instance, which suggests it can be a client issue too, like misusing connections, but I would expect a Connection timeout, not an active server response (a TCP packet sent by the server) stating that the TCP request for handshake is rejected. org.topbraid.spin.sparqlmotion.modules.SMException: Failed to authenticate at org.topbraidlive.sparqlmotion.modules.PostRequestModule.perhapsAuthenticate(PostRequestModule.java:168) at org.topbraidlive.sparqlmotion.modules.PostRequestModule.execute(PostRequestModule.java:62) at org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:204) at org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.executeModule(ExecutionEngineImpl.java:170) at org.topbraid.spin.sparqlmotion.engine.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:120) at org.topbraid.spin.sparqlmotion.modules.impl.SMFunction.exec(SMFunction.java:93) ... 50 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.<init>(Socket.java:375) at java.net.Socket.<init>(Socket.java:249) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at org.topbraidlive.server.workspace.DeployUtil.isFormAuthetication(DeployUtil.java:68) at org.topbraidlive.server.workspace.DeployUtil.authenticate(DeployUtil.java:46) at org.topbraidlive.sparqlmotion.modules.PostRequestModule.perhapsAuthenticate On Fri, Jul 11, 2014 at 5:26 PM, Nick Abston <nabs...@topquadrant.com> wrote: > Hi Nicu, > > Can you please elaborate on the setup and process that failed? > > Thanks > > > On Fri, Jul 11, 2014 at 9:55 AM, Nicolae Marasoiu < > nicolae.maras...@gmail.com> wrote: > >> Hi, >> >> We had 2 instances where a web service over http using basic auth >> reported "Authentication failed", but with "Connection refused" as the >> stack cause (ConnectException). >> >> Restarting TBC solved it. With TBL we did not restart yet. >> >> However, "Connection refused" is supposed to be a response from the >> remote server host stating that the OS found the port being not listened, >> or having full accept queue. Simply restarting the client seems >> contradictory to solve this, but it did. >> >> Please advice, >> Nicu Marasoiu >> Computas AS >> >> -- >> -- You received this message because you are subscribed to the Google >> Group "TopBraid Suite Users", the topics of which include Enterprise >> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid >> Insight, SPARQLMotion, SPARQL Web Pages and SPIN. >> To post to this group, send email to >> topbraid-users@googlegroups.com >> To unsubscribe from this group, send email to >> topbraid-users+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/topbraid-users?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "TopBraid Suite Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to topbraid-users+unsubscr...@googlegroups.com. >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Nick Abston, Systems Administrator > > TopQuadrant, Inc., www.topquadrant.com > @TopQuadrant http://twitter.com/topquadrant > > Office/Cell: [USA] (919)-809-9827 > > -- > -- You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include Enterprise > Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid > Insight, SPARQLMotion, SPARQL Web Pages and SPIN. > To post to this group, send email to > topbraid-users@googlegroups.com > To unsubscribe from this group, send email to > topbraid-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "TopBraid Suite Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/topbraid-users/ZaNQHxgAGsQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > topbraid-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to topbraid-users@googlegroups.com To unsubscribe from this group, send email to topbraid-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.