Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Node.js/Socket.io hosting

Received: by 10.52.24.68 with SMTP id s4mr38426718vdf.3.1342005801658;
        Wed, 11 Jul 2012 04:23:21 -0700 (PDT)
X-BeenThere: socket_io@googlegroups.com
Received: by 10.220.230.193 with SMTP id jn1ls131026vcb.8.gmail; Wed, 11 Jul
 2012 04:23:16 -0700 (PDT)
Received: by 10.52.67.71 with SMTP id l7mr3124222vdt.12.1342005796766;
        Wed, 11 Jul 2012 04:23:16 -0700 (PDT)
Date: Wed, 11 Jul 2012 04:23:16 -0700 (PDT)
From: Shekhar Suman <shekharsumanr...@gmail.com>
To: socket_io@googlegroups.com
Message-Id: <06709baa-81b0-4083-b465-4b7ac647a3ba@googlegroups.com>
In-Reply-To: <CAAPeUNn43v28p+WNvs0S-6423muqprY5gO09Uxcsb+HTR2aE+w@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>
Subject: Re: Node.js/Socket.io hosting
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_213_17830069.1342005796371"

------=_Part_213_17830069.1342005796371
Content-Type: multipart/alternative; 
	boundary="----=_Part_214_28903092.1342005796371"

------=_Part_214_28903092.1342005796371
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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": "**03503b0a27a0e47ce60bea5c874243**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: '**03503b0a27a0e47ce60bea5c874243**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_214_28903092.1342005796371
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

After a lot of time I get this ----<div><div>error: &nbsp; Error running co=
mmand deploy</div><div>error: &nbsp; socket hang up</div><div>error: &nbsp;=
 Error: socket hang up</div><div>error: &nbsp; &nbsp; &nbsp; at createHangU=
pError (http.js:1253:15)</div><div>error: &nbsp; &nbsp; &nbsp; at Socket.so=
cketOnEnd [as onend] (http.js:1341:23)</div><div>error: &nbsp; &nbsp; &nbsp=
; at TCP.onread (net.js:419:26)</div><div>info: &nbsp; &nbsp;Nodejitsu not =
ok</div><br>On Wednesday, July 11, 2012 2:15:55 PM UTC+5:30, Marak Squires =
wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8=
ex;border-left: 1px #ccc solid;padding-left: 1ex;">If you still can't figur=
e it out try <a href=3D"mailto:supp...@nodejitsu.com" target=3D"_blank">sup=
p...@nodejitsu.com</a> or the #nodejitsu room on <a href=3D"http://irc.free=
node.net" target=3D"_blank">irc.freenode.net</a><br><br><div class=3D"gmail=
_quote">On Wed, Jul 11, 2012 at 1:38 AM, Shekhar Suman <span dir=3D"ltr">&l=
t;<a href=3D"mailto:shekharsumanr...@gmail.com" target=3D"_blank">shekharsu=
manr...@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #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=3D"gmail_=
quote" style=3D"margin:0;margin-left:0.8ex;border-left:1px #ccc solid;paddi=
ng-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></d=
iv><div>I'd just try again.<br><br><div class=3D"gmail_quote">On Wed, Jul 1=
1, 2012 at 1:26 AM, Shekhar Suman <span dir=3D"ltr">&lt;<a href=3D"mailto:s=
hekharsumanr...@gmail.com" target=3D"_blank">shekharsumanr...@gmail.com</a>=
&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>My package.json file looks like this --=
-----&gt;</div><div>{</div><div>&nbsp; "name": "<a href=3D"http://nodeapps-=
socket.io" target=3D"_blank">nodeapps-socket.io</a>",</div>

<div>&nbsp; "author": {</div><div>&nbsp; &nbsp; "name": "Nodejitsu Inc.",</=
div><div>&nbsp; &nbsp; "email": "<a href=3D"mailto:supp...@nodejitsu.com" t=
arget=3D"_blank">supp...@nodejitsu.com</a>"</div>
<div>
&nbsp; },</div><div>&nbsp; "scripts": {</div><div>&nbsp; &nbsp; "start": ".=
/bin/server.js"</div><div>&nbsp; },</div><div>&nbsp; "version": "0.1.0-1",<=
/div><div>&nbsp; "dependencies": {</div><div>
&nbsp; &nbsp; "<a href=3D"http://socket.io" target=3D"_blank">socket.io</a>=
": "v0.8.x",</div>
<div>&nbsp; &nbsp; "express": "v2.5.x"</div><div>&nbsp; },</div><div>&nbsp;=
 "subdomain": "chat-awesome-ss",</div><div>&nbsp; "analyze": false,</div><d=
iv>&nbsp; "devDependencies": {},</div><div>

&nbsp; "optionalDependencies": {},</div><div>&nbsp; "engines": {</div><div>=
&nbsp; &nbsp; "node": "v0.6.x"</div><div>&nbsp; },</div><div>&nbsp; "dist":=
 {</div><div>&nbsp; &nbsp; "shasum": "<u></u>03503b0a27a0e47ce60bea5c87424<=
wbr>3<u></u>f074974056"</div>

<div>&nbsp; }</div><div>}</div><div><br></div>I then type jitsu deploy. Eve=
rything works fine until this line shows up on command prompt --&nbsp;<div>=
info: &nbsp; &nbsp;Starting app <a href=3D"http://nodeapps-socket.io" targe=
t=3D"_blank">nodeapps-socket.io</a></div>

<div><br></div><div>and then it's stuck there.</div><div><br></div><div>Wha=
t the command prompt shows ---</div><div><div>C:\Users\Shekhar\myapp\<a hre=
f=3D"http://socket.io" target=3D"_blank">socket.<u></u><wbr>io</a>&gt;jitsu=
 deploy</div>

<div>info: &nbsp; &nbsp;Welcome to Nodejitsu shekharsuman</div><div>info: &=
nbsp; &nbsp;It worked if it ends with Nodejitsu ok</div><div>info: &nbsp; &=
nbsp;Executing command deploy</div><div>info: &nbsp; &nbsp;Skipping require=
-analyzer because noanalyze option is set</div>

<div>info: &nbsp; &nbsp;Skipping require-analyzer because noanalyze option =
is set</div><div>warn: &nbsp; &nbsp;Local version appears to be old</div><d=
iv>warn: &nbsp; &nbsp;Your package.json version will be incremented for you=
 automatically</div><div>
warn: &nbsp; &nbsp;About to write C:\Users\Shekhar\myapp\<a href=3D"http://=
socket.io" target=3D"_blank">socket.<u></u><wbr>io</a>\package.json</div>
<div>data:</div><div>data: &nbsp; &nbsp;{</div><div>data: &nbsp; &nbsp; &nb=
sp; &nbsp;dist: { shasum: '<u></u>03503b0a27a0e47ce60bea5c87424<wbr>3<u></u=
>f074974056' },</div><div>data: &nbsp; &nbsp; &nbsp; &nbsp;name: '<a href=
=3D"http://nodeapps-socket.io" target=3D"_blank">nodeapps-socket.io</a>',</=
div>

<div>data: &nbsp; &nbsp; &nbsp; &nbsp;version: '0.1.0-2',</div><div>data: &=
nbsp; &nbsp; &nbsp; &nbsp;subdomain: 'chat-awesome-ss',</div><div>data: &nb=
sp; &nbsp; &nbsp; &nbsp;analyze: false,</div><div>data: &nbsp; &nbsp; &nbsp=
; &nbsp;optionalDependencies: {},</div><div>data: &nbsp; &nbsp; &nbsp; &nbs=
p;engines: { node: 'v0.6.x' },</div>

<div>data: &nbsp; &nbsp; &nbsp; &nbsp;scripts: { start: './bin/server.js' }=
,</div><div>data: &nbsp; &nbsp; &nbsp; &nbsp;author: { name: 'Nodejitsu Inc=
.', email: '<a href=3D"mailto:supp...@nodejitsu.com" target=3D"_blank">supp=
o...@nodejitsu.com</a>' },</div>

<div><br></div><div>data: &nbsp; &nbsp; &nbsp; &nbsp;dependencies: { expres=
s: 'v2.5.x', <a href=3D"http://socket.io" target=3D"_blank">socket.io</a>: =
'v0.8.x' },</div><div>data: &nbsp; &nbsp; &nbsp; &nbsp;devDependencies: {}<=
/div><div>data: &nbsp; &nbsp;}</div>

<div>data:</div><div>prompt: Is this ok?: (yes)</div><div>info: &nbsp; &nbs=
p;Creating snapshot 0.1.0-2</div><div>info: &nbsp; &nbsp;Updating app <a hr=
ef=3D"http://nodeapps-socket.io" target=3D"_blank">nodeapps-socket.io</a></=
div><div>info: &nbsp; &nbsp;Activating snapshot 0.1.0-2 for <a href=3D"http=
://nodeapps-socket.io" target=3D"_blank">nodeapps-socket.io</a></div>

<div>info: &nbsp; &nbsp;Starting app <a href=3D"http://nodeapps-socket.io" =
target=3D"_blank">nodeapps-socket.io</a></div></div><div><div><div><br></di=
v><div><br></div><div><br>On Wednesday, July 11, 2012 1:33:53 PM UTC+5:30, =
Marak Squires wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0;mar=
gin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">

Running:<div><br></div><div><b>jitsu install <a href=3D"http://socket.io" t=
arget=3D"_blank">socket.io</a><br></b><br>will create a folder on your loca=
l harddrive with a sample <a href=3D"http://socket.io" target=3D"_blank">so=
cket.io</a> application and correctly formatted package.json.<br>


<br><div class=3D"gmail_quote">On Wed, Jul 11, 2012 at 12:58 AM, Shekhar Su=
man <span dir=3D"ltr">&lt;<a href=3D"mailto:shekharsumanr...@gmail.com" tar=
get=3D"_blank">shekharsumanr...@gmail.com</a>&gt;</span> wrote:<br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">


Thank a lot!!! I have one more question -- I want to deploy a simple chat a=
pp on nodejitsu. I have two files -- "client.html" and "server.js". What sh=
ould be the package.json file to deploy the app on nodejitsu. I added the l=
ine&nbsp;<div>


&nbsp;"dependencies": {<div>&nbsp; &nbsp; "<a href=3D"http://socket.io" tar=
get=3D"_blank">socket.io</a>": "0.9.6"</div><div>&nbsp;},</div><div><br></d=
iv><div>I successfully deployed the app on nodejitsu but when I run it in t=
he browser nothing happens. It should prompt me for a username. It works fi=
ne locally.</div>


<div><div><br>On Wednesday, July 11, 2012 1:01:02 PM UTC+5:30, Marak Squire=
s wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8=
ex;border-left:1px #ccc solid;padding-left:1ex">If you type:<div>
<br></div><div><b>&nbsp; &nbsp;jitsu install <a href=3D"http://socket.io" t=
arget=3D"_blank">socket.io</a></b></div><div><br></div><div>you will be pro=
mpted to install and start <a href=3D"http://socket.io" target=3D"_blank">s=
ocket.io</a> app for node.js</div>



<div><br></div><div>You can then type:</div><div><br></div><div><b>&nbsp; &=
nbsp;jitsu deploy</b></div><div><br></div><div>if you want to deploy.</div>=
<div><br></div><div><br><div class=3D"gmail_quote">On Tue, Jul 10, 2012 at =
3:26 PM, Shekhar Suman <span dir=3D"ltr">&lt;<a href=3D"mailto:shekharsuman=
r...@gmail.com" target=3D"_blank">shekharsumanr...@gmail.com</a>&gt;</span>=
 wrote:<br>



<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Can you please help to install a <a href=3D"=
http://socket.io" target=3D"_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=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border=
-left:1px #ccc solid;padding-left:1ex">atlast successfully installed <a hre=
f=3D"http://socket.io" target=3D"_blank">socket.io</a> :P :D<br>



<br>&nbsp;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>
------=_Part_214_28903092.1342005796371--

------=_Part_213_17830069.1342005796371--