on 2011 Mar 04 3:45 PM
var gravityURL = "http://" + gravityHost + ":8080/gravity/";
var params = {};
params[streamwork.io.RequestParameters.CONTENT_TYPE] = streamwork.io.ContentType.TEXT;
params[streamwork.io.RequestParameters.METHOD] = streamwork.io.MethodType.GET;
params[streamwork.io.RequestParameters.AUTHORIZATION] = streamwork.io.AuthorizationType.NONE
streamwork.io.makeRequest(gravityURL, handler.callback, params);
When the server (gravity url) is in normal system, it works fine, but when we put the server on Amazon Cloud System, the request always gets timed out.
Does anybody know when a streamwork makeRequest gets timed out ? Do we have to open any ports specifically on the Cloud System for the makeRequest to work ?
Thanks for your time.
Request clarification before answering.
Hi Sreekanth,
as far as I know you need to specifically open ports for your instance and Amazon's default policy is quite strict (i.e. only a few ports are open). Make sure you have openened port 80 for HTTP and port 443 for HTTPS. Also, in case your node is running on Linux, double check whether there are any restrictive iptables rules in effect.
Cheers
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No response back from author
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
21 | |
9 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.