Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Running clean drupal 7.3 with node.js integration 7.x-1.13+5-dev and node.js v7.9.0
Trying to test system with a broadcast message. Cant see any visible action in browser but message appears to send correctly. see output below. i note there is no client socketid. does this indicate a problem?
async1@virtualmin:~/public_html/drupal-nodejs$ node app.js
Started http server.
# sending broadcast message from browser here #
[2017/05/02 16:29:07] Route callback: checkServiceKey
[2017/05/02 16:29:07] Route callback: healthCheck
[2017/05/02 16:29:07] Route callback: checkServiceKey
[2017/05/02 16:29:07] Route callback: publishMessage
[2017/05/02 16:29:07] Body
{ broadcast: true,
data: { subject: 'test', body: 'test' },
channel: 'nodejs_notify',
clientSocketId: '' }
[2017/05/02 16:29:07] broadcastMessage
{ broadcast: true,
data: { subject: 'test', body: 'test' },
channel: 'nodejs_notify',
clientSocketId: '' }
Comments
Comment #2
Syntapse CreditAttribution: Syntapse as a volunteer commentedComment #3
Syntapse CreditAttribution: Syntapse as a volunteer commented#my nodejs.config.js settings file
#both node and apache running on localhost
#port 8001 responds in browser correctly
#service key matches drupal config
Comment #4
Syntapse CreditAttribution: Syntapse as a volunteer commentedComment #5
Syntapse CreditAttribution: Syntapse commentedwhat is the best value of node.js to use to give me proven results?
Comment #6
Syntapse CreditAttribution: Syntapse commentedrunning in debug
Comment #7
Syntapse CreditAttribution: Syntapse commentedi've switched to node 4.0 based on github instructions and completely reinstalled nodejserver with npm install. im seeing exact same output and no clientSocketId. I would certainly appreciate a some advice or assistance as i'm making little progress on a seemingly simple install procedure. i can try and run the test and report: can you tell me correct command/setup to run the test.js file.
thanks
Comment #8
Syntapse CreditAttribution: Syntapse commentedive installed and run mocha. all tests pass. how is this possible with no clientSocketId. passing comment: no errors are showing and all tests passing but system is not working and no client socket. I have hit a wall but prefer not to rewrite from scratch. i am willing to pay for time to fix this issue quickly as i have no idea what is wrong. any takers/suggestions?
Comment #9
Syntapse CreditAttribution: Syntapse commentedComment #10
Syntapse CreditAttribution: Syntapse commented