Bug 1083375

Summary: Etherpad can not create pad and hang at "loading"
Product: OpenShift Online Reporter: weiwei jiang <wjiang>
Component: TemplatesAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: jhadvig, wsun
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-24 21:38:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Hang at "loading" none

Description weiwei jiang 2014-04-02 05:05:07 UTC
Created attachment 881630 [details]
Hang at "loading"

Description of problem:
After create a etherpad quickstart, the page hang at "loading" when creating a pad.

and in app-root/logs/nodejs.log:
[2014-04-01 23:04:55.335] [INFO] http - 200, GET /p/sdfasdf
[2014-04-01 23:04:56.071] [INFO] http - 200, GET /static/js/require-kernel.js
[2014-04-01 23:04:56.110] [INFO] http - 404, GET /socket.io/socket.io.js
[2014-04-01 23:04:56.642] [ERROR] console - CLIENT SIDE JAVASCRIPT ERROR: {"msg":"Uncaught ReferenceError: io is not defined","url":"http://etherpad-y.dev.rhcloud.com/minified/pad.js","linenumber":3,"userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36"}
[2014-04-01 23:04:56.646] [INFO] http - 200, POST /jserror


Version-Release number of selected component (if applicable):
devenv_4612

How reproducible:
always

Steps to Reproduce:
1. Create a etherpad quickstart with nodejs-0.6 or nodejs-0.10;
2. Create a pad on etherpad;
3.

Actual results:
Hang at "loading" during creating a pad


Expected results:
The pad should be created successfully.

Additional info:

Comment 1 weiwei jiang 2014-04-04 08:46:47 UTC
Tried with etherpad 1.3.0 quickstart https://github.com/wshearn/etherpad-example.git for nodejs-0.10, it can work well.
And will verify this after checked with https://github.com/openshift/etherpad-example.git for nodejs-0.6.

Comment 2 Jakub Hadvig 2014-04-07 12:14:56 UTC
Revert the changes in the etherpad-1.0 quickstart.

Putting on ON_QA

Comment 3 weiwei jiang 2014-04-08 03:08:37 UTC
Checked on devenv_4636, both https://github.com/wshearn/etherpad-example.git for nodejs-0.10 and https://github.com/openshift/etherpad-example.git for nodejs-0.6 got 503, and the log display "there is a syntax error in your settings.json file" when I check the app-root/nodejs.log.

Comment 4 weiwei jiang 2014-04-08 03:38:41 UTC
Sorry for forget to add mongodb cartridge to the app, and after mongodb added, both work well, so verify this.