ivesdebruycker / maxcube

eQ-3 Max! Cube interface
Other
22 stars 23 forks source link

Connection troubles #5

Closed andig closed 10 years ago

andig commented 10 years ago

I'm having trouble connecting to the MaxCube:

node test.js

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect EINVAL
    at errnoException (net.js:904:11)
    at connect (net.js:766:19)
    at net.js:845:9
    at dns.js:72:18
    at process._tickCallback (node.js:419:13)

At the same time the logfile shows:

[2014-11-21T16:38:43+01:00] MaxCube initialized
[2014-11-21T16:38:50+01:00] Heartbeat

Any ideas? It does seem to work from time to time...

ivesdebruycker commented 10 years ago

Perhaps you're also connected to the cube via the MAX! application? If that's the case, could you close that application and try again? It seems there can only be one connection to the cube at the same time.

andig commented 10 years ago

It seems there can only be one connection to the cube at the same time.

Confirmed. Strange behaviour for a tcp-based system...