Message from discussion
Node.js/Socket.io hosting
Received: by 10.52.24.68 with SMTP id s4mr38463247vdf.3.1342006842693;
Wed, 11 Jul 2012 04:40:42 -0700 (PDT)
X-BeenThere: socket_io@googlegroups.com
Received: by 10.220.157.82 with SMTP id a18ls129863vcx.3.gmail; Wed, 11 Jul
2012 04:40:38 -0700 (PDT)
Received: by 10.52.68.141 with SMTP id w13mr929024vdt.18.1342006837995;
Wed, 11 Jul 2012 04:40:37 -0700 (PDT)
Date: Wed, 11 Jul 2012 04:40:37 -0700 (PDT)
From: Shekhar Suman <shekharsumanr...@gmail.com>
To: socket_io@googlegroups.com
Message-Id: <bb765778-0e83-4a9f-b741-d5a0b7401b9b@googlegroups.com>
In-Reply-To: <CAAPeUNnamtgoAY1_z4rHmef5McYXMNSk54d4FW-_f9tOT0zeOw@mail.gmail.com>
References: <c3bda768-2e32-4365-8545-d975b2ece193@i18g2000vbx.googlegroups.com>
<CAAp+hv+YPOH4w-G4e5gLaaxuYbtZzmS8p-UAcyquPgmVunV0Cw@mail.gmail.com>
<CAJdaFb1Qm=94Jq47R=mr+rLrAN7O-wJUKz=T5Q7n4zcVmYCzAA@mail.gmail.com>
<e4a94cd0-ae88-4728-ac5e-d5a33125d466@googlegroups.com>
<CAAPeUNksghYJ-gRowHASJjqCLNyMOP1WGxTBQ04wo1qeFng8zA@mail.gmail.com>
<4e7c0594-ed46-49fe-b307-79da519cbf01@googlegroups.com>
<CAAPeUNn1j3se3azkJMLwSzv17EHBr0ez+48wO=fgiT+6N_ixZw@mail.gmail.com>
<c632f681-bb92-4b06-8810-65f177f83418@googlegroups.com>
<CAAPeUNm-L+U=OMgXFa4_0mSmeHJhY3njTx_79-HMTznDAmwbgQ@mail.gmail.com>
<79ef4fea-21e4-4c4f-b35d-24b8dab27bc4@googlegroups.com>
<CAAPeUNn43v28p+WNvs0S-6423muqprY5gO09Uxcsb+HTR2aE+w@mail.gmail.com>
<06709baa-81b0-4083-b465-4b7ac647a3ba@googlegroups.com>
<CAAPeUNnamtgoAY1_z4rHmef5McYXMNSk54d4FW-_f9tOT0zeOw@mail.gmail.com>
Subject: Re: Node.js/Socket.io hosting
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_191_18068415.1342006837677"
------=_Part_191_18068415.1342006837677
Content-Type: multipart/alternative;
boundary="----=_Part_192_8244072.1342006837677"
------=_Part_192_8244072.1342006837677
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
No. I didn't make any modifications on boilerplate applications. I'm trying
to deploy a simple chat application.
And YES I'm trying to listen on port 80.
On Wednesday, July 11, 2012 5:03:45 PM UTC+5:30, Marak Squires wrote:
>
> Did you make any modifications to the boilerplate application that was
> installed?
>
> Are you trying to listen on port 80?
>
> If you need more help email supp...@nodejitsu.com or visit #nodejitsu in
> irc.freenode.net.
>
> On Wed, Jul 11, 2012 at 4:23 AM, Shekhar Suman <shekharsumanr...@gmail.com
> > wrote:
>
>> After a lot of time I get this ----
>> error: Error running command deploy
>> error: socket hang up
>> error: Error: socket hang up
>> error: at createHangUpError (http.js:1253:15)
>> error: at Socket.socketOnEnd [as onend] (http.js:1341:23)
>> error: at TCP.onread (net.js:419:26)
>> info: Nodejitsu not ok
>>
>> On Wednesday, July 11, 2012 2:15:55 PM UTC+5:30, Marak Squires wrote:
>>>
>>> If you still can't figure it out try supp...@nodejitsu.com or the
>>> #nodejitsu room on irc.freenode.net
>>>
>>> On Wed, Jul 11, 2012 at 1:38 AM, Shekhar Suman <
>>> shekharsumanr...@gmail.com> wrote:
>>>
>>>> Okay. But it's still stuck after 5 minutes.
>>>> Anyways thanks for your help. :)
>>>>
>>>>
>>>> On Wednesday, July 11, 2012 2:05:30 PM UTC+5:30, Marak Squires wrote:
>>>>>
>>>>> I just tried the exact same process here and it worked.
>>>>>
>>>>> Maybe you caught some bad luck / didn't wait long enough.
>>>>>
>>>>> I'd just try again.
>>>>>
>>>>> On Wed, Jul 11, 2012 at 1:26 AM, Shekhar Suman <
>>>>> shekharsumanr...@gmail.com> wrote:
>>>>>
>>>>>> My package.json file looks like this ------->
>>>>>> {
>>>>>> "name": "nodeapps-socket.io",
>>>>>> "author": {
>>>>>> "name": "Nodejitsu Inc.",
>>>>>> "email": "supp...@nodejitsu.com"
>>>>>> },
>>>>>> "scripts": {
>>>>>> "start": "./bin/server.js"
>>>>>> },
>>>>>> "version": "0.1.0-1",
>>>>>> "dependencies": {
>>>>>> "socket.io": "v0.8.x",
>>>>>> "express": "v2.5.x"
>>>>>> },
>>>>>> "subdomain": "chat-awesome-ss",
>>>>>> "analyze": false,
>>>>>> "devDependencies": {},
>>>>>> "optionalDependencies": {},
>>>>>> "engines": {
>>>>>> "node": "v0.6.x"
>>>>>> },
>>>>>> "dist": {
>>>>>> "shasum": "**03503b0a27a0e47ce60bea5c87424**3**f074974056"
>>>>>> }
>>>>>> }
>>>>>>
>>>>>> I then type jitsu deploy. Everything works fine until this line shows
>>>>>> up on command prompt --
>>>>>> info: Starting app nodeapps-socket.io
>>>>>>
>>>>>> and then it's stuck there.
>>>>>>
>>>>>> What the command prompt shows ---
>>>>>> C:\Users\Shekhar\myapp\socket.****io <http://socket.io>>jitsu deploy
>>>>>> info: Welcome to Nodejitsu shekharsuman
>>>>>> info: It worked if it ends with Nodejitsu ok
>>>>>> info: Executing command deploy
>>>>>> info: Skipping require-analyzer because noanalyze option is set
>>>>>> info: Skipping require-analyzer because noanalyze option is set
>>>>>> warn: Local version appears to be old
>>>>>> warn: Your package.json version will be incremented for you
>>>>>> automatically
>>>>>> warn: About to write C:\Users\Shekhar\myapp\socket.****io<http://socket.io>
>>>>>> \package.json
>>>>>> data:
>>>>>> data: {
>>>>>> data: dist: { shasum: '**03503b0a27a0e47ce60bea5c87424**3**f074974056'
>>>>>> },
>>>>>> data: name: 'nodeapps-socket.io',
>>>>>> data: version: '0.1.0-2',
>>>>>> data: subdomain: 'chat-awesome-ss',
>>>>>> data: analyze: false,
>>>>>> data: optionalDependencies: {},
>>>>>> data: engines: { node: 'v0.6.x' },
>>>>>> data: scripts: { start: './bin/server.js' },
>>>>>> data: author: { name: 'Nodejitsu Inc.', email: '
>>>>>> supp...@nodejitsu.com' },
>>>>>>
>>>>>> data: dependencies: { express: 'v2.5.x', socket.io: 'v0.8.x'
>>>>>> },
>>>>>> data: devDependencies: {}
>>>>>> data: }
>>>>>> data:
>>>>>> prompt: Is this ok?: (yes)
>>>>>> info: Creating snapshot 0.1.0-2
>>>>>> info: Updating app nodeapps-socket.io
>>>>>> info: Activating snapshot 0.1.0-2 for nodeapps-socket.io
>>>>>> info: Starting app nodeapps-socket.io
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wednesday, July 11, 2012 1:33:53 PM UTC+5:30, Marak Squires wrote:
>>>>>>>
>>>>>>> Running:
>>>>>>>
>>>>>>> *jitsu install socket.io
>>>>>>> *
>>>>>>> will create a folder on your local harddrive with a sample socket.ioapplication and correctly formatted package.json.
>>>>>>>
>>>>>>> On Wed, Jul 11, 2012 at 12:58 AM, Shekhar Suman <
>>>>>>> shekharsumanr...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Thank a lot!!! I have one more question -- I want to deploy a
>>>>>>>> simple chat app on nodejitsu. I have two files -- "client.html" and
>>>>>>>> "server.js". What should be the package.json file to deploy the app on
>>>>>>>> nodejitsu. I added the line
>>>>>>>> "dependencies": {
>>>>>>>> "socket.io": "0.9.6"
>>>>>>>> },
>>>>>>>>
>>>>>>>> I successfully deployed the app on nodejitsu but when I run it in
>>>>>>>> the browser nothing happens. It should prompt me for a username. It works
>>>>>>>> fine locally.
>>>>>>>>
>>>>>>>> On Wednesday, July 11, 2012 1:01:02 PM UTC+5:30, Marak Squires
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> If you type:
>>>>>>>>>
>>>>>>>>> * jitsu install socket.io*
>>>>>>>>>
>>>>>>>>> you will be prompted to install and start socket.io app for
>>>>>>>>> node.js
>>>>>>>>>
>>>>>>>>> You can then type:
>>>>>>>>>
>>>>>>>>> * jitsu deploy*
>>>>>>>>>
>>>>>>>>> if you want to deploy.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jul 10, 2012 at 3:26 PM, Shekhar Suman <
>>>>>>>>> shekharsumanr...@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Can you please help to install a socket.io app on node.js??
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Saturday, March 10, 2012 5:16:47 PM UTC+5:30, karth wrote:
>>>>>>>>>>>
>>>>>>>>>>> atlast successfully installed socket.io :P :D
>>>>>>>>>>>
>>>>>>>>>>> now i could start wit proramming :)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>
>>>
>
------=_Part_192_8244072.1342006837677
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
No. I didn't make any modifications on boilerplate applications. I'm trying to deploy a simple chat application.<div>And YES I'm trying to listen on port 80. <br><br>On Wednesday, July 11, 2012 5:03:45 PM UTC+5:30, Marak Squires wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Did you make any modifications to the boilerplate application that was installed?<div><br></div><div>Are you trying to listen on port 80?</div><div><br></div><div>If you need more help email <a href="mailto:supp...@nodejitsu.com" target="_blank">supp...@nodejitsu.com</a> or visit #nodejitsu in <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a>.</div>
<div><br></div><div><div class="gmail_quote">On Wed, Jul 11, 2012 at 4:23 AM, Shekhar Suman <span dir="ltr"><<a href="mailto:shekharsumanr...@gmail.com" target="_blank">shekharsumanr...@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After a lot of time I get this ----<div><div>error: Error running command deploy</div><div>error: socket hang up</div>
<div>error: Error: socket hang up</div><div>error: at createHangUpError (http.js:1253:15)</div><div>error: at Socket.socketOnEnd [as onend] (http.js:1341:23)</div><div>error: at TCP.onread (net.js:419:26)</div>
<div>info: Nodejitsu not ok</div><div><div><br>On Wednesday, July 11, 2012 2:15:55 PM UTC+5:30, Marak Squires wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
If you still can't figure it out try <a href="mailto:supp...@nodejitsu.com" target="_blank">supp...@nodejitsu.com</a> or the #nodejitsu room on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a><br>
<br><div class="gmail_quote">On Wed, Jul 11, 2012 at 1:38 AM, Shekhar Suman <span dir="ltr"><<a href="mailto:shekharsumanr...@gmail.com" target="_blank">shekharsumanr...@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Okay. But it's still stuck after 5 minutes.<div>Anyways thanks for your help. :)<div><div><br><br>On Wednesday, July 11, 2012 2:05:30 PM UTC+5:30, Marak Squires wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
I just tried the exact same process here and it worked.<div><br></div><div>Maybe you caught some bad luck / didn't wait long enough.</div><div><br></div><div>I'd just try again.<br><br><div class="gmail_quote">On Wed, Jul 11, 2012 at 1:26 AM, Shekhar Suman <span dir="ltr"><<a href="mailto:shekharsumanr...@gmail.com" target="_blank">shekharsumanr...@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>My package.json file looks like this -------></div><div>{</div><div> "name": "<a href="http://nodeapps-socket.io" target="_blank">nodeapps-socket.io</a>",</div>
<div> "author": {</div><div> "name": "Nodejitsu Inc.",</div><div> "email": "<a href="mailto:supp...@nodejitsu.com" target="_blank">supp...@nodejitsu.com</a>"</div>
<div>
},</div><div> "scripts": {</div><div> "start": "./bin/server.js"</div><div> },</div><div> "version": "0.1.0-1",</div><div> "dependencies": {</div><div>
"<a href="http://socket.io" target="_blank">socket.io</a>": "v0.8.x",</div>
<div> "express": "v2.5.x"</div><div> },</div><div> "subdomain": "chat-awesome-ss",</div><div> "analyze": false,</div><div> "devDependencies": {},</div><div>
"optionalDependencies": {},</div><div> "engines": {</div><div> "node": "v0.6.x"</div><div> },</div><div> "dist": {</div><div> "shasum": "<u></u>03503b0a27a0e47ce60bea5c87424<u></u><wbr>3<u></u>f074974056"</div>
<div> }</div><div>}</div><div><br></div>I then type jitsu deploy. Everything works fine until this line shows up on command prompt -- <div>info: Starting app <a href="http://nodeapps-socket.io" target="_blank">nodeapps-socket.io</a></div>
<div><br></div><div>and then it's stuck there.</div><div><br></div><div>What the command prompt shows ---</div><div><div>C:\Users\Shekhar\myapp\<a href="http://socket.io" target="_blank">socket.<u></u><u></u><wbr>io</a>>jitsu deploy</div>
<div>info: Welcome to Nodejitsu shekharsuman</div><div>info: It worked if it ends with Nodejitsu ok</div><div>info: Executing command deploy</div><div>info: Skipping require-analyzer because noanalyze option is set</div>
<div>info: Skipping require-analyzer because noanalyze option is set</div><div>warn: Local version appears to be old</div><div>warn: Your package.json version will be incremented for you automatically</div><div>
warn: About to write C:\Users\Shekhar\myapp\<a href="http://socket.io" target="_blank">socket.<u></u><u></u><wbr>io</a>\package.json</div>
<div>data:</div><div>data: {</div><div>data: dist: { shasum: '<u></u>03503b0a27a0e47ce60bea5c87424<u></u><wbr>3<u></u>f074974056' },</div><div>data: name: '<a href="http://nodeapps-socket.io" target="_blank">nodeapps-socket.io</a>',</div>
<div>data: version: '0.1.0-2',</div><div>data: subdomain: 'chat-awesome-ss',</div><div>data: analyze: false,</div><div>data: optionalDependencies: {},</div><div>data: engines: { node: 'v0.6.x' },</div>
<div>data: scripts: { start: './bin/server.js' },</div><div>data: author: { name: 'Nodejitsu Inc.', email: '<a href="mailto:supp...@nodejitsu.com" target="_blank">supp...@nodejitsu.com</a>' },</div>
<div><br></div><div>data: dependencies: { express: 'v2.5.x', <a href="http://socket.io" target="_blank">socket.io</a>: 'v0.8.x' },</div><div>data: devDependencies: {}</div><div>data: }</div>
<div>data:</div><div>prompt: Is this ok?: (yes)</div><div>info: Creating snapshot 0.1.0-2</div><div>info: Updating app <a href="http://nodeapps-socket.io" target="_blank">nodeapps-socket.io</a></div><div>info: Activating snapshot 0.1.0-2 for <a href="http://nodeapps-socket.io" target="_blank">nodeapps-socket.io</a></div>
<div>info: Starting app <a href="http://nodeapps-socket.io" target="_blank">nodeapps-socket.io</a></div></div><div><div><div><br></div><div><br></div><div><br>On Wednesday, July 11, 2012 1:33:53 PM UTC+5:30, Marak Squires wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
Running:<div><br></div><div><b>jitsu install <a href="http://socket.io" target="_blank">socket.io</a><br></b><br>will create a folder on your local harddrive with a sample <a href="http://socket.io" target="_blank">socket.io</a> application and correctly formatted package.json.<br>
<br><div class="gmail_quote">On Wed, Jul 11, 2012 at 12:58 AM, Shekhar Suman <span dir="ltr"><<a href="mailto:shekharsumanr...@gmail.com" target="_blank">shekharsumanr...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank a lot!!! I have one more question -- I want to deploy a simple chat app on nodejitsu. I have two files -- "client.html" and "server.js". What should be the package.json file to deploy the app on nodejitsu. I added the line <div>
"dependencies": {<div> "<a href="http://socket.io" target="_blank">socket.io</a>": "0.9.6"</div><div> },</div><div><br></div><div>I successfully deployed the app on nodejitsu but when I run it in the browser nothing happens. It should prompt me for a username. It works fine locally.</div>
<div><div><br>On Wednesday, July 11, 2012 1:01:02 PM UTC+5:30, Marak Squires wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">If you type:<div>
<br></div><div><b> jitsu install <a href="http://socket.io" target="_blank">socket.io</a></b></div><div><br></div><div>you will be prompted to install and start <a href="http://socket.io" target="_blank">socket.io</a> app for node.js</div>
<div><br></div><div>You can then type:</div><div><br></div><div><b> jitsu deploy</b></div><div><br></div><div>if you want to deploy.</div><div><br></div><div><br><div class="gmail_quote">On Tue, Jul 10, 2012 at 3:26 PM, Shekhar Suman <span dir="ltr"><<a href="mailto:shekharsumanr...@gmail.com" target="_blank">shekharsumanr...@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you please help to install a <a href="http://socket.io" target="_blank">socket.io</a> app on node.js??<div>
<div><br><br>On Saturday, March 10, 2012 5:16:47 PM UTC+5:30, karth wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">atlast successfully installed <a href="http://socket.io" target="_blank">socket.io</a> :P :D<br>
<br> now i could start wit proramming :)
</blockquote></div></div></blockquote></div><br></div>
</blockquote></div></div></div></blockquote></div><br></div>
</blockquote></div></div></div></blockquote></div><br></div>
</blockquote></div></div></div></blockquote></div><br>
</blockquote></div></div></div></blockquote></div><br></div>
</blockquote></div>
------=_Part_192_8244072.1342006837677--
------=_Part_191_18068415.1342006837677--