Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

503 Service Unavailable #28

Open
adit-hotstar opened this issue Jan 4, 2021 · 1 comment
Open

503 Service Unavailable #28

adit-hotstar opened this issue Jan 4, 2021 · 1 comment

Comments

@adit-hotstar
Copy link

Consider the following request to http://www.nice2predict.org/query.

curl 'http://www.nice2predict.org/query' \
  -H 'Connection: keep-alive' \
  -H 'Pragma: no-cache' \
  -H 'Cache-Control: no-cache' \
  -H 'Accept: */*' \
  -H 'X-Requested-With: XMLHttpRequest' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36' \
  -H 'Content-Type: application/json' \
  -H 'Origin: http://www.nice2predict.org' \
  -H 'Referer: http://www.nice2predict.org/' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Cookie: _ga=GA1.2.248161625.1609733510; _gid=GA1.2.453242178.1609733510; _gat=1' \
  --data-binary $'{"jsonrpc":"2.0","method":"showgraph","id":1,"params":{"query":[{"a":0,"b":1,"f2":"[0]:Call[2]"},{"a":2,"b":1,"f2":"String-[1]:Call[2]"},{"a":1,"b":3,"f2":"[2]:Call[3]-Bool"},{"a":4,"b":0,"f2":"[0]:Dot[0]"},{"a":4,"b":2,"f2":"[0]Dot[0]:Call[1]-String"},{"a":4,"b":1,"f2":"[0]Dot[0]:Call[2]"},{"a":4,"b":3,"f2":"[0]Dot[0]:Call[3]-Bool"},{"a":5,"b":6,"f2":"[0]:Call[1]"},{"a":4,"b":5,"f2":"[0]:Dot[0]"},{"a":4,"b":6,"f2":"[0]Dot[0]:Call[1]"},{"a":7,"b":1,"f2":"FNPAR"},{"a":7,"b":4,"f2":"FNPAR"},{"a":7,"b":6,"f2":"FNPAR"},{"cn":"\u0021=","n":[1,4,6,7]}],"assign":[{"v":0,"giv":"open"},{"v":1,"inf":"a"},{"v":2,"giv":"GET"},{"v":3,"giv":"false"},{"v":4,"inf":"b"},{"v":5,"giv":"send"},{"v":6,"inf":"c"},{"v":7,"giv":"f"}],"version":"0.9.5"}}' \
  --compressed \
  --insecure

The server responds with a 503 Service Unavailable message.

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at www.nice2predict.org Port 80</address>
</body></html>

If the service is under maintenance then could you please tell me when it will be back online?

@TommyLeong
Copy link

I'm guessing the server is no longer maintained?

While im running unuglify, I get error connecting to server too.

/usr/local/lib/node_modules/unuglify-js/bin/unuglifyjs:241
sys.error("ERROR: ".red + "connecting to server '" + HOST + ":" + PORT + "' " + err);

Maybe @vraychev can provide us some insights?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants