2024 and this video save me and my project, thanks man
@EChuTaa3 жыл бұрын
been bashing my head trying to integrate a WS server into my express project on glitch for a while now and the user-agent bit was very helpful, thanks!
@EChuTaa3 жыл бұрын
in case anyone is using a custom domain and cant get the connection to open fully, try connecting to glitch's url
@nicolaycifuentes38462 жыл бұрын
@@EChuTaa I am not able to use the link and I always get the 502 error, do you know how to fix this error?
@EChuTaa2 жыл бұрын
@@nicolaycifuentes3846 the github link in the description?
@batertv3 жыл бұрын
you are a legend, you saved me from so many complicated bs, i cannot thank you enough youre a god
@MichMcKeon2 жыл бұрын
I just want to say..... THANK YOU !!!!!!! **Instant upgrade to hero status**
@maketank3 жыл бұрын
The templates on Glitch (july 2021) no longer offer the Node / Express combo and have been replaced with a Node / Fastify template. It would be helpful to share your default Express template for the video. Great work!
@ParametricCamp3 жыл бұрын
Oh no! That sucks! Let's see what can we do about it...
@maketank3 жыл бұрын
@@ParametricCamp Maybe you can just make your version shareable? It's not linked above in the comments. Or perhaps there's another (older) version of Express template lying around the Glitch library for remixing. I guess these would be the quick and easy options rather than changing to Fastly. I would attempt using the Fastly template, but I don't want to waste time on debugging... I want to get to the later chapters related to grasshopper. Thanks!
@ParametricCamp3 жыл бұрын
@@maketank You can always look at the code here: glitch.com/edit/#!/simple-websocket-server-echo. And actually, the example doesn't use the Express part at all, so you can probably replicate the example with the new 'Hello Node' template. Have you tried?
@umaradkhamov6380 Жыл бұрын
@@ParametricCamp I have tried to replicate it using Hello-node example. In their log it shows that my server is running. But I am unable to connect to it throw a client. Can you help with it?
@justinspearlordАй бұрын
Thanks I had the same question. I will try to use the code in the example link provided.
@luckyjaiswal40 Жыл бұрын
Love from india
@Леонид-у7п Жыл бұрын
thanks man, you gave me right solution!
@matt112fly Жыл бұрын
if i want to deploy a website with a node backend running a websocket server, how can i connect the client to the glitch server ? (not from local host)
@Cagatay-gf8mp4 ай бұрын
Bro so fucking thank i almost lose my mind
@سیدسروشحسینی3 ай бұрын
Thanks :)❤
@prashantchoudhary4725 Жыл бұрын
Thank you so much
@xtime56663 жыл бұрын
THANKS :>
@EliasTenpo8 ай бұрын
great
@imalallawmkima80813 жыл бұрын
It display 'Upgrade required' does it have to be relate with ws PORT and http PORT.
@ParametricCamp3 жыл бұрын
That's just the web visualization, but the WS server works anyway.
@RasselDavid Жыл бұрын
ty
@chrisamuzie4013 жыл бұрын
Is there any way I can host the project on namecheap hosting server?
@minedeath_gt3 жыл бұрын
I keep getting protocol error, [Object] object is invalid. at the user agent part. pls help thx
@umaradkhamov6380 Жыл бұрын
I am getting that too. Have you fixed it?
@lawre_173 жыл бұрын
Hello, What if i want to host my node js app on my own domain not glitch, hw do i go about it am stuck here
@ParametricCamp3 жыл бұрын
That will depend on the services available to you from your hosting provider...
@lawre_173 жыл бұрын
Thank you...my provider has support for node js but running the code from the terminal has been a headache for me bt ill try and figure out a way
@dafibh2 жыл бұрын
is it possible to do this with free tier of glitch?
@RonyEfendy2 жыл бұрын
Headers is not required anymore to connect with Glitch.
@yassoytessaim9297 Жыл бұрын
can i host a websocket in ratchet on glitch?
@rohandagleАй бұрын
you my god, been crying over sockets since past 3 months
@itsmakar24122 жыл бұрын
can i run both express and websocket server on glitch?