All 'RedwoodHQ fails to start up for me' posts go here (common fix steps as well)

2,983 views
Skip to first unread message

PrimaTestInc

unread,
Apr 9, 2015, 11:58:26 AM4/9/15
to primatest-...@googlegroups.com
We did various tests of RedwoodHQ on different OS's: Win 2012, 2012R2, 8, 8.1, 7, etc. and never ran in to issues where the simple fix din't work. In fact we know a lot of other companies and people that have deployed various versions of RedwoodHQ successfully on different environments and working no problems. Sooo, this means we need to tackle this one case at a time to discover a pattern in which instances it is not working and what is installed there (or the type of environment it has) and fix it. I'll also specify common steps bellow which typically fix the install problems.

If RedwoodHQ Doesn't Work After Install, then Try This
  1. Restart the computer, wait for few minutes and try to log in again
  2. Uninstall it and make sure you install it as an Administrator user (right click on installer and select 'Run as Administrator' as well)
  3. Make sure your firewall is Off
  4. Make sure your anti-virus is fully Off
  5. If after fresh install you get an error to login as admin user, then do the following and try to login again: Open command prompt, navigate to mongodb bin folder where RedwoodHQ is installed on (eg: c:\Program Files\RedwoodHQ\vendor\MongoDB\bin), run the following command: mongo ..\..\..\dbscripts\scripts.txt and then try to login again
  6. Make sure you are installing correct version of RedwoodHQ for your OS:
    1. 64-Bit version for Win7, 8, Server 2008R2, Server 2012 and above
    2. 64-Bit Legacy for Win Vista, Server 2003 and Server 2008
    3. 32-Bit for all 32 bit OS systems
  7. Uninstall and install older version of RedwoodHQ and see if it works for you
If the above steps still din't work then please provide the following information in this thread
  1. Your OS you are trying to install on
  2. Which version of RedwoodHQ you installed
  3. What is the exact failure you are having (can't login with admin user, execution doesn't work on local box, execution doesn't work from another agent, error you get etc.). The more details you give us here, the easier it'll be to analyze and fix for us.
  4. Attach all log files (<RedwoodHQ install folder>\logs). Best way is to uninstall and install RedwoodHQ again and get us to exact error state immediately so as to get us exact failure logs.
  5. Any other environment information you can provide (are you running this as a VM, or in a cloud, etc.)

levin....@gmail.com

unread,
Apr 14, 2015, 2:17:46 PM4/14/15
to primatest-...@googlegroups.com
Am Donnerstag, 9. April 2015 17:58:26 UTC+2 schrieb PrimaTestInc:
> We did various tests of RedwoodHQ on different OS's: Win 2012, 2012R2, 8, 8.1, 7, etc. and never ran in to issues where the simple fix din't work. In fact we know a lot of other companies and people that have deployed various versions of RedwoodHQ successfully on different environments and working no problems. Sooo, this means we need to tackle this one case at a time to discover a pattern in which instances it is not working and what is installed there (or the type of environment it has) and fix it. I'll also specify common steps bellow which typically fix the install problems.
>
>
> If RedwoodHQ Doesn't Work After Install, then Try This
> Restart the computer, wait for few minutes and try to log in again
> Uninstall it and make sure you install it as an Administrator user (right click on installer and select 'Run as Administrator' as well)
> Make sure your firewall is OffMake sure your anti-virus is fully OffIf after fresh install you get an error to login as admin user, then do the following and try to login again: Open command prompt, navigate to mongodb bin folder where RedwoodHQ is installed on (eg: c:\Program Files\RedwoodHQ\vendor\MongoDB\bin), run the following command: mongo ..\..\..\dbscripts\scripts.txt and then try to login againMake sure you are installing correct version of RedwoodHQ for your OS:64-Bit version for Win7, 8, Server 2008R2, Server 2012 and above64-Bit Legacy for Win Vista, Server 2003 and Server 200832-Bit for all 32 bit OS systemsUninstall and install older version of RedwoodHQ and see if it works for you
> If the above steps still din't work then please provide the following information in this thread
> Your OS you are trying to install onWhich version of RedwoodHQ you installedWhat is the exact failure you are having (can't login with admin user, execution doesn't work on local box, execution doesn't work from another agent, error you get etc.). The more details you give us here, the easier it'll be to analyze and fix for us.Attach all log files (<RedwoodHQ install folder>\logs). Best way is to uninstall and install RedwoodHQ again and get us to exact error state immediately so as to get us exact failure logs.Any other environment information you can provide (are you running this as a VM, or in a cloud, etc.)


Thanks, It works.

The Dude

unread,
Apr 30, 2015, 11:23:01 PM4/30/15
to primatest-...@googlegroups.com
Thanks for that. Not sure what caused the fix but I guess third times the charm.
-Cheers

mbano...@gmail.com

unread,
Dec 6, 2015, 11:31:26 PM12/6/15
to PrimaTest Automation
Hi,

I've tried following the above steps but I can't get Redwood running on Server 2012. Although I was able to get it running on Win 7. Details as requested:

1. Windows Server 2012 R2

2. Version 2.2 Windows 64-bit

3. Failure: can't login with default admin user. After running the mongo command, the login functionality no longer appears to work. Clicking the login button results in no action.

4. Only log file populated is server_errors.log with the following entry repeated:

{"date":"Mon Dec 07 2015 04:13:30 GMT+0000 (Coordinated Universal Time)","process":{"pid":2732,"uid":null,"gid":null,"cwd":"C:\\Program Files\\RedwoodHQ","execPath":"C:\\Program Files\\RedwoodHQ\\vendor\\nodejs\\node.exe","version":"v0.10.24","argv":["C:\\Program Files\\RedwoodHQ\\vendor\\nodejs\\node.exe","C:\\Program Files\\RedwoodHQ\\app.js"],"memoryUsage":{"rss":37126144,"heapTotal":30927616,"heapUsed":16318620}},"os":{"loadavg":[0,0,0],"uptime":1108.5872388},"trace":[{"column":50,"file":"Files\\RedwoodHQ\\routes\\auth.js","function":"C:\\Program","line":47,"method":null,"native":false},{"column":21,"file":"Files\\RedwoodHQ\\routes\\projects.js","function":"C:\\Program","line":184,"method":null,"native":false},{"column":11,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"C:\\Program","line":171,"method":null,"native":false},{"column":35,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"C:\\Program","line":463,"method":null,"native":false},{"column":5,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"Cursor.close (C:\\Program","line":682,"method":"close (C:\\Program","native":false},{"column":17,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"Cursor.nextObject (C:\\Program","line":463,"method":"nextObject (C:\\Program","native":false},{"column":12,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"commandHandler (C:\\Program","line":451,"method":null,"native":false},{"column":16,"file":"events.js","function":"g","line":180,"method":null,"native":false},{"column":17,"file":"events.js","function":"EventEmitter.emit","line":106,"method":"emit","native":false},{"column":25,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\db.js","function":"Db._callHandler (C:\\Program","line":1292,"method":"_callHandler (C:\\Program","native":false}],"stack":["TypeError: Cannot read property 'name' of undefined"," at C:\\Program Files\\RedwoodHQ\\routes\\auth.js:47:50"," at C:\\Program Files\\RedwoodHQ\\routes\\projects.js:184:21"," at C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:171:11"," at C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:463:35"," at Cursor.close (C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:682:5)"," at Cursor.nextObject (C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:463:17)"," at commandHandler (C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:451:12)"," at g (events.js:180:16)"," at EventEmitter.emit (events.js:106:17)"," at Db._callHandler (C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\db.js:1292:25)"],"level":"error","message":"uncaughtException: Cannot read property 'name' of undefined","timestamp":"2015-12-07T04:13:30.547Z"}

5. This is running in an Azure cloud environment.

allabout...@gmail.com

unread,
Dec 7, 2015, 6:41:32 PM12/7/15
to PrimaTest Automation, mbano...@gmail.com
As an update to this issue, I completely removed the Redwood install and tried reinstalling this time with Windows Firewall turned off. There is no anti-virus program installed. I get the same result. After running the mongo command, login no longer responds.

allabout...@gmail.com

unread,
Dec 7, 2015, 9:09:01 PM12/7/15
to PrimaTest Automation
So tried the legacy 64-bit install for version 2.2 and it's working fine now. So problem seems to be with the recommended install. Will continue using the legacy install and will report back if further problems are encountered.

crispin...@principal.com

unread,
Aug 29, 2016, 10:11:41 AM8/29/16
to PrimaTest Automation
Hi,
I'm trying to run a RedwoodHQ poc on a virtual desktop. I can get the software installed on the server and download the agent. When I get into the agent, I can see the local and the server in the 'machines' section. However, when I go to run it, it stalls out on 'starting execution' and I never get any further.
I've reviewed the notes, but not seeing anything that I could have missed. What would you recommend trying?
Thank you,
nc
Message has been deleted

martin

unread,
Sep 2, 2016, 9:06:55 AM9/2/16
to PrimaTest Automation
Hello,

I can confirm the same issue as crispin...@principal.com. I can't run the sample test case.
First I installed latest 2.4 64bit version on Windows 10 without VNC, but when I tried to execute the sample test case, there was "Starting execution" pop up for a long time and after a while it disappeared and message that "Test case is already running" was shown instead. However the browser didn't even start. Status of the test case was still "Not Run". I tried restarting computer, I tried stopping and starting the server and agent, I tried disabling firewall, but nothing helped. I saw 2 nodejs.exe processes running.

Then I decided to try different version, someone here had luck with legacy 64bit 2.2 version, so I installed it with VNC. Again no luck, so I tried the same, restarting computer, disabling firewall, stopping and starting both server and agent, but now when I try to execute the sample test case, I am stuck on "Starting execution" without any progress, without browser even starting. I can see 6 instances of process "Evented I/O for V8 JavaScript" running. This time more logs were generated with some error (added at the end).

OS: Windows 10
Browser: tried latest Chrome, latest Firefox, IE11
Machine: 127.0.0.1 with default port settings

Error:

{"date":"Fri Sep 02 2016 15:00:48 GMT+0200 (W. Europe Daylight Time)","process":{"pid":14308,"uid":null,"gid":null,"cwd":"C:\\Program Files\\RedwoodHQ\\agent","execPath":"C:\\Program Files\\RedwoodHQ\\vendor\\nodejs\\node.exe","version":"v0.10.24","argv":["C:\\Program Files\\RedwoodHQ\\vendor\\nodejs\\node.exe","C:\\Program Files\\RedwoodHQ\\agent\\app.js"],"memoryUsage":{"rss":19529728,"heapTotal":11259264,"heapUsed":5959720}},"os":{"loadavg":[0,0,0],"uptime":3010.7891207},"trace":[{"column":11,"file":"net.js","function":"errnoException","line":901,"method":null,"native":false},{"column":14,"file":"net.js","function":"Server._listen2","line":1039,"method":"_listen2","native":false},{"column":10,"file":"net.js","function":"listen","line":1061,"method":null,"native":false},{"column":5,"file":"net.js","function":"Server.listen","line":1127,"method":"listen","native":false},{"column":24,"file":"Files\\RedwoodHQ\\agent\\node_modules\\express\\lib\\application.js","function":"Function.app.listen (C:\\Program","line":534,"method":"app.listen (C:\\Program","native":false},{"column":9,"file":"Files\\RedwoodHQ\\agent\\app.js","function":"C:\\Program","line":45,"method":null,"native":false},{"column":13,"file":"Files\\RedwoodHQ\\agent\\common.js","function":"C:\\Program","line":20,"method":null,"native":false},{"column":null,"file":null,"function":"Array.forEach","line":null,"method":"forEach","native":true},{"column":12,"file":"Files\\RedwoodHQ\\agent\\common.js","function":"Object.exports.parseConfig (C:\\Program","line":14,"method":"exports.parseConfig (C:\\Program","native":false},{"column":8,"file":"Files\\RedwoodHQ\\agent\\app.js","function":"Object.<anonymous> (C:\\Program","line":44,"method":"<anonymous> (C:\\Program","native":false}],"stack":["Error: listen EADDRINUSE"," at errnoException (net.js:901:11)"," at Server._listen2 (net.js:1039:14)"," at listen (net.js:1061:10)"," at Server.listen (net.js:1127:5)"," at Function.app.listen (C:\\Program Files\\RedwoodHQ\\agent\\node_modules\\express\\lib\\application.js:534:24)"," at C:\\Program Files\\RedwoodHQ\\agent\\app.js:45:9"," at C:\\Program Files\\RedwoodHQ\\agent\\common.js:20:13"," at Array.forEach (native)"," at Object.exports.parseConfig (C:\\Program Files\\RedwoodHQ\\agent\\common.js:14:12)"," at Object.<anonymous> (C:\\Program Files\\RedwoodHQ\\agent\\app.js:44:8)"],"level":"error","message":"uncaughtException: listen EADDRINUSE","timestamp":"2016-09-02T13:00:48.289Z"}

stance...@gmail.com

unread,
Sep 2, 2016, 9:31:18 AM9/2/16
to PrimaTest Automation, stance...@gmail.com
Additional info from logs:
agent.log:
{"level":"error","message":"problem with request: connect ECONNREFUSED","timestamp":"2016-09-02T12:28:41.452Z"}

agent_errors.log: (this one is mentioned in post above and is logged over and over again 3 times per minute, only with different pid)
{"date":"Fri Sep 02 2016 15:28:44 GMT+0200 (W. Europe Daylight Time)","process":{"pid":9184,"uid":null,"gid":null,"cwd":"C:\\Program Files\\RedwoodHQ\\agent","execPath":"C:\\Program Files\\RedwoodHQ\\vendor\\nodejs\\node.exe","version":"v0.10.24","argv":["C:\\Program Files\\RedwoodHQ\\vendor\\nodejs\\node.exe","C:\\Program Files\\RedwoodHQ\\agent\\app.js"],"memoryUsage":{"rss":19525632,"heapTotal":11259264,"heapUsed":5959688}},"os":{"loadavg":[0,0,0],"uptime":4687.3680875},"trace":[{"column":11,"file":"net.js","function":"errnoException","line":901,"method":null,"native":false},{"column":14,"file":"net.js","function":"Server._listen2","line":1039,"method":"_listen2","native":false},{"column":10,"file":"net.js","function":"listen","line":1061,"method":null,"native":false},{"column":5,"file":"net.js","function":"Server.listen","line":1127,"method":"listen","native":false},{"column":24,"file":"Files\\RedwoodHQ\\agent\\node_modules\\express\\lib\\application.js","function":"Function.app.listen (C:\\Program","line":534,"method":"app.listen (C:\\Program","native":false},{"column":9,"file":"Files\\RedwoodHQ\\agent\\app.js","function":"C:\\Program","line":45,"method":null,"native":false},{"column":13,"file":"Files\\RedwoodHQ\\agent\\common.js","function":"C:\\Program","line":20,"method":null,"native":false},{"column":null,"file":null,"function":"Array.forEach","line":null,"method":"forEach","native":true},{"column":12,"file":"Files\\RedwoodHQ\\agent\\common.js","function":"Object.exports.parseConfig (C:\\Program","line":14,"method":"exports.parseConfig (C:\\Program","native":false},{"column":8,"file":"Files\\RedwoodHQ\\agent\\app.js","function":"Object.<anonymous> (C:\\Program","line":44,"method":"<anonymous> (C:\\Program","native":false}],"stack":["Error: listen EADDRINUSE"," at errnoException (net.js:901:11)"," at Server._listen2 (net.js:1039:14)"," at listen (net.js:1061:10)"," at Server.listen (net.js:1127:5)"," at Function.app.listen (C:\\Program Files\\RedwoodHQ\\agent\\node_modules\\express\\lib\\application.js:534:24)"," at C:\\Program Files\\RedwoodHQ\\agent\\app.js:45:9"," at C:\\Program Files\\RedwoodHQ\\agent\\common.js:20:13"," at Array.forEach (native)"," at Object.exports.parseConfig (C:\\Program Files\\RedwoodHQ\\agent\\common.js:14:12)"," at Object.<anonymous> (C:\\Program Files\\RedwoodHQ\\agent\\app.js:44:8)"],"level":"error","message":"uncaughtException: listen EADDRINUSE","timestamp":"2016-09-02T13:28:44.868Z"}

crispin...@principal.com

unread,
Sep 12, 2016, 1:18:05 PM9/12/16
to PrimaTest Automation, crispin...@principal.com

I have nothing in my log files and the aggregate report shows nothing has failed but nothing has run. It seems like it isn't connecting to the server, but the server ip is pulled into the agent, so it must be connecting.

crispin...@principal.com

unread,
Sep 29, 2016, 9:25:14 AM9/29/16
to PrimaTest Automation, crispin...@principal.com

Any updates?

dgku...@gmail.com

unread,
Oct 13, 2016, 7:01:17 AM10/13/16
to PrimaTest Automation
Hi,

Unable to login to RedwoodHQ server with default credentials. Following are the details -

Installed RedwoodHQ version - Server 2.2
Windows 10 - 64 bit
Browsers - IE, Chrome and Firefox
Used URLs -
127.0.0.1:3030
localhost:3030
<localIP>:3030

Server page is opened but no response from server when trying to login.

Error log:

{"date":"Thu Oct 13 2016 16:11:31 GMT+0530 (India Standard Time)","process":{"pid":7888,"uid":null,"gid":null,"cwd":"C:\\Program Files\\RedwoodHQ","execPath":"C:\\Program Files\\RedwoodHQ\\vendor\\nodejs\\node.exe","version":"v0.10.24","argv":["C:\\Program Files\\RedwoodHQ\\vendor\\nodejs\\node.exe","C:\\Program Files\\RedwoodHQ\\app.js"],"memoryUsage":{"rss":43278336,"heapTotal":31943296,"heapUsed":17017048}},"os":{"loadavg":[0,0,0],"uptime":2481.4700918},"trace":[{"column":50,"file":"Files\\RedwoodHQ\\routes\\auth.js","function":"C:\\Program","line":47,"method":null,"native":false},{"column":21,"file":"Files\\RedwoodHQ\\routes\\projects.js","function":"C:\\Program","line":184,"method":null,"native":false},{"column":11,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"C:\\Program","line":171,"method":null,"native":false},{"column":35,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"C:\\Program","line":463,"method":null,"native":false},{"column":5,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"Cursor.close (C:\\Program","line":682,"method":"close (C:\\Program","native":false},{"column":17,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"Cursor.nextObject (C:\\Program","line":463,"method":"nextObject (C:\\Program","native":false},{"column":12,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js","function":"commandHandler (C:\\Program","line":451,"method":null,"native":false},{"column":16,"file":"events.js","function":"g","line":180,"method":null,"native":false},{"column":17,"file":"events.js","function":"EventEmitter.emit","line":106,"method":"emit","native":false},{"column":25,"file":"Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\db.js","function":"Db._callHandler (C:\\Program","line":1292,"method":"_callHandler (C:\\Program","native":false}],"stack":["TypeError: Cannot read property 'name' of undefined"," at C:\\Program Files\\RedwoodHQ\\routes\\auth.js:47:50"," at C:\\Program Files\\RedwoodHQ\\routes\\projects.js:184:21"," at C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:171:11"," at C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:463:35"," at Cursor.close (C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:682:5)"," at Cursor.nextObject (C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:463:17)"," at commandHandler (C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\cursor.js:451:12)"," at g (events.js:180:16)"," at EventEmitter.emit (events.js:106:17)"," at Db._callHandler (C:\\Program Files\\RedwoodHQ\\node_modules\\mongodb\\lib\\mongodb\\db.js:1292:25)"],"level":"error","message":"uncaughtException: Cannot read property 'name' of undefined","timestamp":"2016-10-13T10:41:31.960Z"}

dmi...@primatest.net

unread,
Oct 13, 2016, 1:59:41 PM10/13/16
to PrimaTest Automation, dgku...@gmail.com
See if your mongod process is up and running. Looks like a db issue.

Dmitri

vive...@gmail.com

unread,
Oct 19, 2016, 6:10:08 AM10/19/16
to PrimaTest Automation
On Thursday, April 9, 2015 at 9:28:26 PM UTC+5:30, PrimaTestInc wrote:
> We did various tests of RedwoodHQ on different OS's: Win 2012, 2012R2, 8, 8.1, 7, etc. and never ran in to issues where the simple fix din't work. In fact we know a lot of other companies and people that have deployed various versions of RedwoodHQ successfully on different environments and working no problems. Sooo, this means we need to tackle this one case at a time to discover a pattern in which instances it is not working and what is installed there (or the type of environment it has) and fix it. I'll also specify common steps bellow which typically fix the install problems.
>
>
> If RedwoodHQ Doesn't Work After Install, then Try This
> Restart the computer, wait for few minutes and try to log in again
> Uninstall it and make sure you install it as an Administrator user (right click on installer and select 'Run as Administrator' as well)
> Make sure your firewall is OffMake sure your anti-virus is fully OffIf after fresh install you get an error to login as admin user, then do the following and try to login again: Open command prompt, navigate to mongodb bin folder where RedwoodHQ is installed on (eg: c:\Program Files\RedwoodHQ\vendor\MongoDB\bin), run the following command: mongo ..\..\..\dbscripts\scripts.txt and then try to login againMake sure you are installing correct version of RedwoodHQ for your OS:64-Bit version for Win7, 8, Server 2008R2, Server 2012 and above64-Bit Legacy for Win Vista, Server 2003 and Server 200832-Bit for all 32 bit OS systemsUninstall and install older version of RedwoodHQ and see if it works for you
> If the above steps still din't work then please provide the following information in this thread
> Your OS you are trying to install onWhich version of RedwoodHQ you installedWhat is the exact failure you are having (can't login with admin user, execution doesn't work on local box, execution doesn't work from another agent, error you get etc.). The more details you give us here, the easier it'll be to analyze and fix for us.Attach all log files (<RedwoodHQ install folder>\logs). Best way is to uninstall and install RedwoodHQ again and get us to exact error state immediately so as to get us exact failure logs.Any other environment information you can provide (are you running this as a VM, or in a cloud, etc.)

hik...@gmail.com

unread,
Oct 26, 2016, 7:14:22 PM10/26/16
to PrimaTest Automation, stance...@gmail.com
Hi,

I have exactly the same issue with Martin. Installed 64-bit latest 2.4 on Windows 10 and cannot run sample test case at all.
Any help on this would be appreciated.

Thank you very much.

dmi...@primatest.net

unread,
Oct 27, 2016, 1:47:37 PM10/27/16
to PrimaTest Automation, stance...@gmail.com
Do you also see EADDRINUSE issue? Do you have anything else that might be running on port 3000? Have you tried changing ports in properties.conf file?

crispin...@principal.com

unread,
Nov 3, 2016, 12:55:42 PM11/3/16
to PrimaTest Automation, stance...@gmail.com, dmi...@primatest.net
I went thru the process noted and am still having no luck with running. I am using a test VDI that was built specifically for this. I continue to get the following error as it keeps running with no success: {"level":"error","message":"problem with request: getaddrinfo ENOTFOUND atc3000 atc3000:3000","timestamp":"2016-11-03T16:51:41.989Z"}

I have not tried to install an old version.

dmi...@primatest.net

unread,
Nov 3, 2016, 2:01:30 PM11/3/16
to PrimaTest Automation, stance...@gmail.com, dmi...@primatest.net, crispin...@principal.com
On Thursday, November 3, 2016 at 9:55:42 AM UTC-7, crispin...@principal.com wrote:
> I went thru the process noted and am still having no luck with running. I am using a test VDI that was built specifically for this. I continue to get the following error as it keeps running with no success: {"level":"error","message":"problem with request: getaddrinfo ENOTFOUND atc3000 atc3000:3000","timestamp":"2016-11-03T16:51:41.989Z"}
>
> I have not tried to install an old version.

This looks like a basic networking issue. Can you ping atc3000 machine?

crispin...@principal.com

unread,
Nov 8, 2016, 1:58:46 PM11/8/16
to PrimaTest Automation, stance...@gmail.com, dmi...@primatest.net, crispin...@principal.com
I am connecting to the server because the agent is showing me both the server and the VDI in the options for the machine. I do see that it shows port 5009 in the options for the 2 machines (shows host name, threads, max threads, port, roles, state, etc etc) . I'm not sure if I need to connect to that or if that has an impact but I used port 3000 as instructed.
Thanks,
ncrispin

dmi...@primatest.net

unread,
Nov 8, 2016, 3:30:29 PM11/8/16
to PrimaTest Automation, stance...@gmail.com, dmi...@primatest.net, crispin...@principal.com

Port 3000 is only for the server, agent should run on 5009 instead.

ramesh.p...@ramyamlab.com

unread,
Nov 24, 2016, 7:53:53 AM11/24/16
to PrimaTest Automation
On Thursday, 9 April 2015 21:28:26 UTC+5:30, PrimaTestInc wrote:
> We did various tests of RedwoodHQ on different OS's: Win 2012, 2012R2, 8, 8.1, 7, etc. and never ran in to issues where the simple fix din't work. In fact we know a lot of other companies and people that have deployed various versions of RedwoodHQ successfully on different environments and working no problems. Sooo, this means we need to tackle this one case at a time to discover a pattern in which instances it is not working and what is installed there (or the type of environment it has) and fix it. I'll also specify common steps bellow which typically fix the install problems.
>
>
> If RedwoodHQ Doesn't Work After Install, then Try This
> Restart the computer, wait for few minutes and try to log in again
> Uninstall it and make sure you install it as an Administrator user (right click on installer and select 'Run as Administrator' as well)
> Make sure your firewall is OffMake sure your anti-virus is fully OffIf after fresh install you get an error to login as admin user, then do the following and try to login again: Open command prompt, navigate to mongodb bin folder where RedwoodHQ is installed on (eg: c:\Program Files\RedwoodHQ\vendor\MongoDB\bin), run the following command: mongo ..\..\..\dbscripts\scripts.txt and then try to login againMake sure you are installing correct version of RedwoodHQ for your OS:64-Bit version for Win7, 8, Server 2008R2, Server 2012 and above64-Bit Legacy for Win Vista, Server 2003 and Server 200832-Bit for all 32 bit OS systemsUninstall and install older version of RedwoodHQ and see if it works for you
> If the above steps still din't work then please provide the following information in this thread
> Your OS you are trying to install onWhich version of RedwoodHQ you installedWhat is the exact failure you are having (can't login with admin user, execution doesn't work on local box, execution doesn't work from another agent, error you get etc.). The more details you give us here, the easier it'll be to analyze and fix for us.Attach all log files (<RedwoodHQ install folder>\logs). Best way is to uninstall and install RedwoodHQ again and get us to exact error state immediately so as to get us exact failure logs.Any other environment information you can provide (are you running this as a VM, or in a cloud, etc.)

Hi

I have installed RedwoodServer in Linux cent os and it is installed successfully after that if i am trying to login then it is showing invalid username and password. I have followed the command: mongo ..\..\..\dbscripts\scripts.txt and then try to login again

but still same issue. Kindly let me know what could be the issue

Freddy Vega

unread,
Nov 29, 2016, 12:34:50 PM11/29/16
to PrimaTest Automation, ramesh.p...@ramyamlab.com

Akshay P

unread,
Mar 8, 2017, 7:56:07 AM3/8/17
to PrimaTest Automation, dgku...@gmail.com
Hi all,

I have been facing the same issue in Windows 2012 server.

Not able to login into Redwood HQ ,no actions are performed when I enter username , password and click Login.

Please help.

Thanks and Regards,
Akshay P

povilas...@gmail.com

unread,
Apr 19, 2017, 2:51:59 AM4/19/17
to PrimaTest Automation
2015 m. balandis 9 d., ketvirtadienis 18:58:26 UTC+3, PrimaTestInc rašė:
> We did various tests of RedwoodHQ on different OS's: Win 2012, 2012R2, 8, 8.1, 7, etc. and never ran in to issues where the simple fix din't work. In fact we know a lot of other companies and people that have deployed various versions of RedwoodHQ successfully on different environments and working no problems. Sooo, this means we need to tackle this one case at a time to discover a pattern in which instances it is not working and what is installed there (or the type of environment it has) and fix it. I'll also specify common steps bellow which typically fix the install problems.
>
>
> If RedwoodHQ Doesn't Work After Install, then Try This
> Restart the computer, wait for few minutes and try to log in again
> Uninstall it and make sure you install it as an Administrator user (right click on installer and select 'Run as Administrator' as well)
> Make sure your firewall is OffMake sure your anti-virus is fully OffIf after fresh install you get an error to login as admin user, then do the following and try to login again: Open command prompt, navigate to mongodb bin folder where RedwoodHQ is installed on (eg: c:\Program Files\RedwoodHQ\vendor\MongoDB\bin), run the following command: mongo ..\..\..\dbscripts\scripts.txt and then try to login againMake sure you are installing correct version of RedwoodHQ for your OS:64-Bit version for Win7, 8, Server 2008R2, Server 2012 and above64-Bit Legacy for Win Vista, Server 2003 and Server 200832-Bit for all 32 bit OS systemsUninstall and install older version of RedwoodHQ and see if it works for you
> If the above steps still din't work then please provide the following information in this thread
> Your OS you are trying to install onWhich version of RedwoodHQ you installedWhat is the exact failure you are having (can't login with admin user, execution doesn't work on local box, execution doesn't work from another agent, error you get etc.). The more details you give us here, the easier it'll be to analyze and fix for us.Attach all log files (<RedwoodHQ install folder>\logs). Best way is to uninstall and install RedwoodHQ again and get us to exact error state immediately so as to get us exact failure logs.Any other environment information you can provide (are you running this as a VM, or in a cloud, etc.)

Hi,

I have installed RedwoodHQ server at Windows server 2008 R2. When I am trying to execute test case from the server, everything goes fine. But when I am trying to run test on my local PC (I created machine with my local PC IP adress), the test case executes only first script/action of the test case and then it freezes. It shows that test case is still running, but nothing actually happens.
In this case, on my local PC, in the logs directory, in the server.log I see an error:
{"level":"error","message":"filesNotPushed stderr: fatal: ambiguous argument 'remotes/remoteRepo/admin': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n","timestamp":"2017-04-18T14:25:46.062Z"}
{"level":"error","message":"filesNotPushed stderr: fatal: ambiguous argument 'remotes/remoteRepo/admin': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n","timestamp":"2017-04-18T14:33:58.688Z"}
{"level":"error","message":"filesNotPushed stderr: fatal: ambiguous argument 'remotes/remoteRepo/admin': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n","timestamp":"2017-04-18T14:48:19.124Z"}
{"level":"error","message":"filesNotPushed stderr: fatal: ambiguous argument 'remotes/remoteRepo/admin': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git <command> [<revision>...] -- [<file>...]'\n","timestamp":"2017-04-18T15:02:48.468Z"}

Can this problem be related to the git repository? I didnt set up it on the server.

Vaibhav singh

unread,
Apr 21, 2017, 11:17:17 AM4/21/17
to PrimaTest Automation
Type: execution doesn't work on local box
Unable to run on  Agent, Also Looking glass utility always gives no agent connected error.

Machine: VM AWS
OS: Linux ip-10-0-9-46 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Server & Agent are hosted on the same System (Also if any one have tried Agent on seperate AWS machine, stuck due to nats firewall policy unable to run it on dynamic IP due to guidelines please suggest)


Agent Error Trace:
{"command":"cleanup","executionID":"582b9aecedffddc4ab6719ef","level":"info","message":"","timestamp":"2017-04-21T14:31:14.429Z"}
{"level":"info","message":"cleaning up","timestamp":"2017-04-21T14:31:14.430Z"}
{"level":"info","message":"/opt/RedwoodHQAgent/agent/executionfiles/582b9aecedffddc4ab6719ef/lib/Sample.jar","timestamp":"2017-04-21T14:31:14.719Z"}
{"command":"start launcher","executionID":"582b9aecedffddc4ab6719ef","threadID":0,"level":"info","message":"","timestamp":"2017-04-21T14:31:14.926Z"}
{"command":"run action","executionID":"582b9aecedffddc4ab6719ef","testcaseID":"582b9aecedffddc4ab6719ed","variables":{"Browser":"Chrome"},"name":"Open Browser","executionflow":"Record Error Stop Test Case","ignoreScreenshots":false,"allScreenshots":false,"returnValueName":"","testcaseName":"Add Star Trek to Cart","script":"actions.selenium.Browser.run","scriptLang":"Java/Groovy","resultID":"58fa17b2afa331754b20e168","parameters":[{"name":"URL","value":"www.amazon.com"},{"name":"Browser Type","value":"Chrome"}],"threadID":0,"level":"info","message":"","timestamp":"2017-04-21T14:31:14.929Z"}
{"level":"info","message":"running action","timestamp":"2017-04-21T14:31:14.930Z"}
{"level":"info","message":"starting port:4445","timestamp":"2017-04-21T14:31:14.936Z"}
{"level":"error","message":"launcher error:Starting ChromeDriver 2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3) on port 9518\n","timestamp":"2017-04-21T14:31:16.612Z"}
{"level":"error","message":"launcher error:Only local connections are allowed.\n","timestamp":"2017-04-21T14:31:16.626Z"}
{"level":"error","message":"launcher error:Apr 21, 2017 8:01:16 PM org.openqa.selenium.remote.ProtocolHandshake createSession\nINFO: Detected dialect: OSS\n","timestamp":"2017-04-21T14:31:16.964Z"}
{"level":"info","message":"sendActionResult result: {\n  \"success\": true\n}","timestamp":"2017-04-21T14:31:17.041Z"}
{"command":"cleanup","executionID":"582b9aecedffddc4ab6719ef","level":"info","message":"","timestamp":"2017-04-21T14:31:17.059Z"}
{"level":"info","message":"cleaning up","timestamp":"2017-04-21T14:31:17.059Z"}
{"level":"info","message":"sendLog result: {\n  \"success\": true\n}","timestamp":"2017-04-21T14:31:19.464Z"}


Server Error Trace:
{"level":"info","message":"","timestamp":"2017-04-21T14:31:14.417Z"}
{"command":"cleanup","executionID":"582b9aecedffddc4ab6719ef","level":"info","message":"","timestamp":"2017-04-21T14:31:14.419Z"}
{"command":"start launcher","executionID":"582b9aecedffddc4ab6719ef","threadID":0,"level":"info","message":"","timestamp":"2017-04-21T14:31:14.925Z"}
{"command":"run action","executionID":"582b9aecedffddc4ab6719ef","testcaseID":"582b9aecedffddc4ab6719ed","variables":{"Browser":"Chrome"},"name":"Open Browser","executionflow":"Record Error Stop Test Case","ignoreScreenshots":false,"allScreenshots":false,"returnValueName":"","testcaseName":"Add Star Trek to Cart","script":"actions.selenium.Browser.run","scriptLang":"Java/Groovy","resultID":"58fa17b2afa331754b20e168","parameters":[{"name":"URL","value":"www.amazon.com"},{"name":"Browser Type","value":"Chrome"}],"threadID":0,"level":"info","message":"","timestamp":"2017-04-21T14:31:14.927Z"}
{"0":{"host":"127.0.0.1","vncport":"6003","port":"6002","maxThreads":1,"threads":1,"tag":"","state":"","baseState":"","resultID":"","baseStateTCID":"1492784898789-13405-9200","result":"","description":"host name is:ip-10-0-9-46","machineVars":[],"roles":["Default"],"_id":"58fa1422bcc414975d865857","threadID":0,"runBaseState":true},"level":"info","message":"","timestamp":"2017-04-21T14:31:17.050Z"}
{"_id":{"_bsontype":"ObjectID","id":"Xú\u0014\"¼Ä\u0014—]†XW"},"roles":["Default"],"host":"127.0.0.1","vncport":"6003","machineVars":[],"port":"6002","maxThreads":1,"description":"host name is:ip-10-0-9-46","macAddress":"02:0c:d4:3e:42:ff","state":"Running 1 of 1","takenThreads":1,"level":"info","message":"","timestamp":"2017-04-21T14:31:17.054Z"}
{"level":"info","message":"now taken are:0","timestamp":"2017-04-21T14:31:17.055Z"}
{"command":"cleanup","executionID":"582b9aecedffddc4ab6719ef","level":"info","message":"","timestamp":"2017-04-21T14:31:17.057Z"}

P.S. Happy 420 ==~

On Thursday, 9 April 2015 21:28:26 UTC+5:30, PrimaTestInc wrote:

Vaibhav singh

unread,
Apr 21, 2017, 11:19:47 AM4/21/17
to PrimaTest Automation
Also the Exception: 
no such session
  (Driver info: chromedriver=2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3),platform=Linux 3.13.0-107-generic x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 11 milliseconds
Build info: version: '3.2.0', revision: '8c03df6b79', time: '2017-02-23 10:51:31 +0000'
System info: host: 'ip-10-0-9-46.eu-central-1.compute.internal', ip: '10.0.9.46', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-107-generic', java.version: '1.8.0_111'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{message=unknown error: cannot find Chrome binary
  (Driver info: chromedriver=2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3),platform=Linux 3.13.0-107-generic x86_64), platform=ANY}]
Session ID: bf0778ebc10d57d6f3c9ae6b3d342273

dmi...@primatest.net

unread,
Apr 21, 2017, 11:27:46 AM4/21/17
to PrimaTest Automation
> Make sure your firewall is OffMake sure your anti-virus is fully OffIf after fresh install you get an error to login as admin user, then do the following and try to login again: Open command prompt, navigate to mongodb bin folder where RedwoodHQ is installed on (eg: c:\Program Files\RedwoodHQ\vendor\MongoDB\bin), run the following command: mongo ..\..\..\dbscripts\scripts.txt and then try to login againMake sure you are installing correct version of RedwoodHQ for your OS:64-Bit version for Win7, 8, Server 2008R2, Server 2012 and above64-Bit Legacy for Win Vista, Server 2003 and Server 200832-Bit for all 32 bit OS systemsUninstall and install older version of RedwoodHQ and see if it works for you
> If the above steps still din't work then please provide the following information in this thread
> Your OS you are trying to install onWhich version of RedwoodHQ you installedWhat is the exact failure you are having (can't login with admin user, execution doesn't work on local box, execution doesn't work from another agent, error you get etc.). The more details you give us here, the easier it'll be to analyze and fix for us.Attach all log files (<RedwoodHQ install folder>\logs). Best way is to uninstall and install RedwoodHQ again and get us to exact error state immediately so as to get us exact failure logs.Any other environment information you can provide (are you running this as a VM, or in a cloud, etc.)

Looks like you are trying to run Chrome test without Chrome being installed.

Vaibhav singh

unread,
Apr 21, 2017, 11:50:52 AM4/21/17
to PrimaTest Automation
Tq Sir for quick response! have installed chrome now getting "launcher error:Only local connections are allowed.( I have never tried normal browser only headless browser on Aws instance not sure if it work, guidance will be great help ! )

Issue #1 :execution doesn't work on local box
Unable to run on  Agent.


Server Log:
{"level":"info","message":"/opt/RedwoodHQ/vendor/ant/bin/","timestamp":"2017-04-21T15:41:32.004Z"}
{"level":"info","message":"/opt/RedwoodHQ/public/automationscripts/Sample/admin","timestamp":"2017-04-21T15:41:32.005Z"}
{"level":"info","message":"staring at:0","timestamp":"2017-04-21T15:41:34.835Z"}
{"level":"info","message":"","timestamp":"2017-04-21T15:41:34.842Z"}
{"command":"cleanup","executionID":"582b9aecedffddc4ab6719ef","level":"info","message":"","timestamp":"2017-04-21T15:41:34.843Z"}
{"command":"start launcher","executionID":"582b9aecedffddc4ab6719ef","threadID":0,"level":"info","message":"","timestamp":"2017-04-21T15:41:35.284Z"}
{"command":"run action","executionID":"582b9aecedffddc4ab6719ef","testcaseID":"582b9aecedffddc4ab6719ed","variables":{"Browser":"Chrome"},"name":"Open Browser","executionflow":"Record Error Stop Test Case","ignoreScreenshots":false,"allScreenshots":false,"returnValueName":"","testcaseName":"Add Star Trek to Cart","script":"actions.selenium.Browser.run","scriptLang":"Java/Groovy","resultID":"58fa282eafa331754b20e176","parameters":[{"name":"URL","value":"www.amazon.com"},{"name":"Browser Type","value":"Chrome"}],"threadID":0,"level":"info","message":"","timestamp":"2017-04-21T15:41:35.286Z"}
{"0":{"host":"127.0.0.1","vncport":"6003","port":"6002","maxThreads":1,"threads":1,"tag":"","state":"","baseState":"","resultID":"","baseStateTCID":"1492784898789-13405-9200","result":"","description":"host name is:ip-10-0-9-46","machineVars":[],"roles":["Default"],"_id":"58fa1422bcc414975d865857","threadID":0,"runBaseState":true},"level":"info","message":"","timestamp":"2017-04-21T15:42:37.516Z"}
{"_id":{"_bsontype":"ObjectID","id":"Xú\u0014\"¼Ä\u0014—]†XW"},"roles":["Default"],"host":"127.0.0.1","vncport":"6003","machineVars":[],"port":"6002","maxThreads":1,"description":"host name is:ip-10-0-9-46","macAddress":"02:0c:d4:3e:42:ff","state":"Running 1 of 1","takenThreads":1,"level":"info","message":"","timestamp":"2017-04-21T15:42:37.519Z"}
{"level":"info","message":"now taken are:0","timestamp":"2017-04-21T15:42:37.524Z"}
{"command":"cleanup","executionID":"582b9aecedffddc4ab6719ef","level":"info","message":"","timestamp":"2017-04-21T15:42:37.525Z"}


Agent Error:
{"command":"cleanup","executionID":"582b9aecedffddc4ab6719ef","level":"info","message":"","timestamp":"2017-04-21T15:41:15.573Z"}
{"level":"info","message":"cleaning up","timestamp":"2017-04-21T15:41:15.573Z"}
{"command":"cleanup","executionID":"582b9aecedffddc4ab6719ef","level":"info","message":"","timestamp":"2017-04-21T15:41:34.845Z"}
{"level":"info","message":"cleaning up","timestamp":"2017-04-21T15:41:34.845Z"}
{"level":"info","message":"/opt/RedwoodHQAgent/agent/executionfiles/582b9aecedffddc4ab6719ef/lib/Sample.jar","timestamp":"2017-04-21T15:41:35.104Z"}
{"command":"start launcher","executionID":"582b9aecedffddc4ab6719ef","threadID":0,"level":"info","message":"","timestamp":"2017-04-21T15:41:35.285Z"}
{"command":"run action","executionID":"582b9aecedffddc4ab6719ef","testcaseID":"582b9aecedffddc4ab6719ed","variables":{"Browser":"Chrome"},"name":"Open Browser","executionflow":"Record Error Stop Test Case","ignoreScreenshots":false,"allScreenshots":false,"returnValueName":"","testcaseName":"Add Star Trek to Cart","script":"actions.selenium.Browser.run","scriptLang":"Java/Groovy","resultID":"58fa282eafa331754b20e176","parameters":[{"name":"URL","value":"www.amazon.com"},{"name":"Browser Type","value":"Chrome"}],"threadID":0,"level":"info","message":"","timestamp":"2017-04-21T15:41:35.287Z"}
{"level":"info","message":"running action","timestamp":"2017-04-21T15:41:35.287Z"}
{"level":"info","message":"starting port:4445","timestamp":"2017-04-21T15:41:35.290Z"}
{"level":"error","message":"launcher error:Starting ChromeDriver 2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3) on port 9518\n","timestamp":"2017-04-21T15:41:36.964Z"}
{"level":"error","message":"launcher error:Only local connections are allowed.\n","timestamp":"2017-04-21T15:41:36.964Z"}
{"level":"info","message":"sendLog result: {\n  \"success\": true\n}","timestamp":"2017-04-21T15:41:39.812Z"}




Agent Nohup Error:
info:  command=cleanup, executionID=582b9aecedffddc4ab6719ef
info: cleaning up
info:  command=cleanup, executionID=582b9aecedffddc4ab6719ef
info: cleaning up
info: /opt/RedwoodHQAgent/agent/executionfiles/582b9aecedffddc4ab6719ef/lib/Sample.jar
info:  command=start launcher, executionID=582b9aecedffddc4ab6719ef, threadID=0
info:  command=run action, executionID=582b9aecedffddc4ab6719ef, testcaseID=582b9aecedffddc4ab6719ed, Browser=Chrome, name=Open Browser, executionflow=Record Error Stop T
est Case, ignoreScreenshots=false, allScreenshots=false, returnValueName=, testcaseName=Add Star Trek to Cart, script=actions.selenium.Browser.run, scriptLang=Java/Groovy
, resultID=58fa282eafa331754b20e176, parameters=[name=URL, value=www.amazon.com, name=Browser Type, value=Chrome], threadID=0
info: running action
info: starting port:4445
error: launcher error:Starting ChromeDriver 2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3) on port 9518

error: launcher error:Only local connections are allowed.

info: sendLog result: {
  "success": true
}





Issue #2:Looking Glass gives error No Agent Connected:


Server Error Log file:
{"date":"Fri Apr 21 2017 21:14:21 GMT+0530 (IST)","process":{"pid":19317,"uid":1002,"gid":1003,"cwd":"/opt/RedwoodHQ","execPath":"/opt/RedwoodHQ/vendor/nodejs/node","version":"v4.2.4","argv":["/opt/RedwoodHQ/vendor/nodejs/node","/opt/RedwoodHQ/app.js"],"memoryUsage":{"rss":51482624,"heapTotal":29085024,"heapUsed":22855232}},"os":{"loadavg":[0.02001953125,0.064453125,0.06982421875],"uptime":6753659},"trace":[{"column":13,"file":"/opt/RedwoodHQ/routes/recorder.js","function":"","line":45,"method":null,"native":false},{"column":13,"file":"events.js","function":"emitOne","line":77,"method":null,"native":false},{"column":7,"file":"events.js","function":"ClientRequest.emit","line":169,"method":"emit","native":false},{"column":9,"file":"_http_client.js","function":"Socket.socketErrorListener","line":259,"method":"socketErrorListener","native":false},{"column":13,"file":"events.js","function":"emitOne","line":77,"method":null,"native":false},{"column":7,"file":"events.js","function":"Socket.emit","line":169,"method":"emit","native":false},{"column":8,"file":"net.js","function":"emitErrorNT","line":1257,"method":null,"native":false},{"column":9,"file":"node.js","function":"doNTCallback2","line":441,"method":null,"native":false},{"column":17,"file":"node.js","function":"process._tickCallback","line":355,"method":"_tickCallback","native":false}],"stack":["ReferenceError: callback is not defined","    at ClientRequest.<anonymous> (/opt/RedwoodHQ/routes/recorder.js:45:13)","    at emitOne (events.js:77:13)","    at ClientRequest.emit (events.js:169:7)","    at Socket.socketErrorListener (_http_client.js:259:9)","    at emitOne (events.js:77:13)","    at Socket.emit (events.js:169:7)","    at emitErrorNT (net.js:1257:8)","    at doNTCallback2 (node.js:441:9)","    at process._tickCallback (node.js:355:17)"],"level":"error","message":"uncaughtException: callback is not defined","timestamp":"2017-04-21T15:44:21.303Z"}


No Server/agent Logs, 

infup...@gmail.com

unread,
Feb 1, 2018, 9:24:04 AM2/1/18
to PrimaTest Automation
I think I may have a firewall issue: where can I find a list of all ports required by RedwoodHQ server?

Freddy Vega

unread,
Feb 1, 2018, 10:57:59 AM2/1/18
to PrimaTest Automation
Look in .\RedwoodHQ\properties.conf

infup...@gmail.com

unread,
Feb 2, 2018, 11:18:28 AM2/2/18
to PrimaTest Automation
Does anyone have any experience containerizing RedwoodHQ? I'm trying to run RedwoodHQ in a container and leave MongoDB on the same host, but outside of the container. I'm not getting any logging information back from the application at all so it's difficult to troubleshoot.

Freddy Vega

unread,
Feb 2, 2018, 6:05:26 PM2/2/18
to PrimaTest Automation
We have Execution agents running in Docker containers within Red Hat Open Shift. We had to redirect the ports into the cluster so that it can communicate properly.

infup...@gmail.com

unread,
Feb 5, 2018, 10:43:06 AM2/5/18
to PrimaTest Automation
Would you possibly be able to share the commands that you used?

infup...@gmail.com

unread,
Feb 5, 2018, 10:52:43 AM2/5/18
to PrimaTest Automation
is properties.conf used by both the node application and by MongoDB?

infup...@gmail.com

unread,
Feb 6, 2018, 9:02:11 AM2/6/18
to PrimaTest Automation
Is there some other place besides properties.conf for the application and the database to know about one another? I'm not having luck getting them to talk to each other remotely or in separate containers.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages