Stardog connection error to localhost on Windows 7 when no internet connection

4 views
Skip to first unread message

jrh...@thematix.com

unread,
Aug 19, 2015, 6:37:21 PM8/19/15
to Stardog
Running on Windows 7.
While trying to do a demo on my laptop in a situation where there was no WiFi or Lan connection available, my node.js application is experiencing a connection error.
The endpoint is localhost:5820.
The attached screen capture shows the stack trace in my code and an error message that my code is not generating.
The web console does not experience this error, but that is using Stardog.js in the browser configuration, where my application is using Stardog.js in node.js.

StardogConnError.PNG

Edgar Rodriguez

unread,
Aug 20, 2015, 10:25:30 AM8/20/15
to sta...@clarkparsia.com
Hi,

On Aug 19, 2015, at 6:37 PM, jrh...@thematix.com wrote:

Running on Windows 7.
While trying to do a demo on my laptop in a situation where there was no WiFi or Lan connection available, my node.js application is experiencing a connection error.
The endpoint is localhost:5820.

How are you setting the connection endpoint in stardog.js? [1] Shows a test case and how the connection is configured.
I just ran the test suite in stardog.js v0.3.0, using localhost and no network connection, and it's passing. I’m using node.js v0.12.4. 

The attached screen capture shows the stack trace in my code and an error message that my code is not generating.
The web console does not experience this error, but that is using Stardog.js in the browser configuration, where my application is using Stardog.js in node.js.


That underlying error message shows that node.js was not able to establish a connection with the endpoint. I wonder if this could be a platform issue.
What version of node.js and stardog.js are you using?

Cheers,
Edgar

jrh...@thematix.com

unread,
Aug 21, 2015, 3:28:46 PM8/21/15
to Stardog
I am running node.js  @ 0.12.0 and stardog.js @ 0.2.0. I'll upgrade and see if that cures the problem. What version of Windows are you on? I am running Windows 7.
Jim 
 

Edgar Rodriguez

unread,
Aug 21, 2015, 3:39:33 PM8/21/15
to sta...@clarkparsia.com
On Aug 21, 2015, at 3:28 PM, jrh...@thematix.com wrote:

I am running node.js  @ 0.12.0 and stardog.js @ 0.2.0. I'll upgrade and see if that cures the problem. What version of Windows are you on? I am running Windows 7.
Jim 
 


I’m using Mac OS X 10.10.5, hence I thought it could be a platform issue.

Cheers,
Edgar

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Reply all
Reply to author
Forward
0 new messages