[developers] logon demo giving 502 proxy error
Joshua Crowgey
jcrowgey at u.washington.edu
Mon Oct 19 22:21:50 CEST 2015
Dear developers,
I'm getting a 502 "Proxy Error" when I try to use the on-line demo for
the ERG:
http://erg.delph-in.net/logon
The page loads just fine, but if I try to submit anything in the box, I
get the reply:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /logon.
Reason: Error reading from remote server
---
For fun, I tried submitting the request with CURL and only two
parameters and I didn't get a proxy error, it seems that I got 5
invisible results instead.
===BEGIN-TERMINAL-OUTPUT===
jcrowgey at quercus:~/Desktop$ curl -X POST -d "text=Sandy
runs&task=Analyze" http://erg.delph-in.net/logon
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=utf-8"><title>English Resource Grammar (ERG) LOGON On-Line
Demonstrator (Analysis)</title>
<link TYPE="text/css" REL="stylesheet" HREF="/logon.css">
<link TYPE="image/gif" REL="icon" HREF="/icon.gif">
<script SRC="/logon.js" LANGUAGE="javascript"
TYPE="text/javascript"></script><script SRC="/custom.js"
LANGUAGE="javascript" TYPE="text/javascript"></script><script
SRC="/prototype.js" LANGUAGE="javascript"
TYPE="text/javascript"></script><script SRC="/scriptaculous.js"
LANGUAGE="javascript" TYPE="text/javascript"></script>
<script SRC="/alttxt.js" LANGUAGE="javascript"
TYPE="text/javascript"></script>
<script>__transferP__ = false;
__generateP__ = true;
__translateP__ = false;
</script>
<script>window.name = 'default'</script>
</head>
<body ONLOAD="messenger()">
<center><form ACTION="/logon" METHOD="post" ID="main"
ONSUBMIT="submitter('main')" ACCEPT-CHARSET="utf-8" TARGET="_self">
<input TYPE="button" CLASS="bright" VALUE="Sample"
ONCLICK="showSample('main', 'input');"> <input TYPE="button"
CLASS="bright" VALUE="Reset" ONCLICK="clearElement('main',
'input');"> <input TYPE="text" NAME="input" CLASS="bright"
VALUE="Try pressing return in this window!" SIZE="70"> <input
TYPE="submit" NAME="task" CLASS="bright" ID="analyze" VALUE="Analyze"
DISABLED 'ONCLICK="setTarget('main', '_self');"> <input
TYPE="submit" NAME="task" CLASS="bright" ID="translate"
VALUE="Translate" DISABLED 'ONCLICK="setTarget('main', '_self');"><br>
<table border="0" cellspacing="0">
<tr>
<td CLASS="buttons">allow:</td><td CLASS="buttons"><input
TYPE="checkbox" NAME="roots" VALUE="sentences" CHECKED></td><td
CLASS="buttons">sentences</td><td CLASS="buttons"><input TYPE="checkbox"
NAME="roots" VALUE="fragments"></td><td
CLASS="buttons">fragments</td><td CLASS="buttons"><input TYPE="checkbox"
NAME="roots" VALUE="less ambiguity"></td><td CLASS="buttons">less
ambiguity</td><td CLASS="buttons"><input TYPE="checkbox" NAME="roots"
VALUE="minor errors"></td><td CLASS="buttons">minor errors</td>
<td class="buttons"> | unknown words:</td><td
CLASS="buttons"><input TYPE="checkbox" NAME="genericsp"
VALUE="yes"></td></tr></table>
<table BORDER=0 CELLSPACING=0><tr><td CLASS="buttons">search:</td><td
CLASS="buttons"><input TYPE="RADIO" NAME="exhaustivep"
VALUE="all"></td><td CLASS="buttons">all</td><td CLASS="buttons"><input
TYPE="RADIO" NAME="exhaustivep" VALUE="best" CHECKED></td><td
CLASS="buttons">best</td><td
CLASS="buttons"> | output:</td><td
CLASS="buttons"><input TYPE="checkbox" NAME="output"
VALUE="tree"></td><td CLASS="buttons">tree</td><td
CLASS="buttons"><input TYPE="checkbox" NAME="output"
VALUE="eds"></td><td CLASS="buttons">eds</td><td CLASS="buttons"><input
TYPE="checkbox" NAME="output" VALUE="mrs"></td><td
CLASS="buttons">mrs</td><td
CLASS="buttons"> | show: </td><td
CLASS="buttons"><select SIZE=1 NAME="nresults"><option
VALUE="1">1</option><option VALUE="5" SELECTED>5</option><option
VALUE="10">10</option><option VALUE="50">50</option><option
VALUE="100">100</option><option VALUE="500">500</option><option
VALUE="all">all</option></select></td><td
CLASS="buttons"> results</td></tr></table>
</form></center><center>
<div id=summary>[5 of 5 analyses; processing time: 0.13 seconds; 439
edges]</div>
<br>
<form action="/browse" method=post id="browse"
onsubmit="synchronize('main', 'browse')" accept-charset="utf-8"
target="_blank">
<input type=hidden name=item value=9729>
<input type=hidden name=results value=9730>
<input type=hidden name=exhaustivep value="best">
<input type=hidden name=nresults value="5">
<div id=action>
<input type=submit name=action class="bright" value=latex>
<input type=submit name=action class="bright" value=compare>
<select name=set size=1>
<option value=all>all analyses</option>
<option value=active selected>selection</option>
</select>
|
<input type=submit name=action class="bright" value="transfer"
disabled onclick="setTarget('main', 'transfer')">
<input type=submit name=action class="bright" value="generate"
onclick="setTarget('main', 'generate')">
<input type=submit name=action value=avm disabled>
<input type=submit name=action value=scope disabled>
</div>
<div id=input>Try pressing return in this window!</div>
<table class=results>
<tr>
<td class=resultsNavigation>
<table class=resultsNavigation>
<tr><td class=center>
<div class=resultsNavigation># 0</div></td></tr>
<tr><td class=center><input type=checkbox name=selection
value="0"></td></tr>
</table></td>
</tr><tr>
<td class=resultsNavigation>
<table class=resultsNavigation>
<tr><td class=center>
<div class=resultsNavigation># 1</div></td></tr>
<tr><td class=center><input type=checkbox name=selection
value="1"></td></tr>
</table></td>
</tr><tr>
<td class=resultsNavigation>
<table class=resultsNavigation>
<tr><td class=center>
<div class=resultsNavigation># 2</div></td></tr>
<tr><td class=center><input type=checkbox name=selection
value="2"></td></tr>
</table></td>
</tr><tr>
<td class=resultsNavigation>
<table class=resultsNavigation>
<tr><td class=center>
<div class=resultsNavigation># 3</div></td></tr>
<tr><td class=center><input type=checkbox name=selection
value="3"></td></tr>
</table></td>
</tr><tr>
<td class=resultsNavigation>
<table class=resultsNavigation>
<tr><td class=center>
<div class=resultsNavigation># 4</div></td></tr>
<tr><td class=center><input type=checkbox name=selection
value="4"></td></tr>
</table></td>
</tr></table></form>
</center>
<center>
<div id=version>[<a href="http://www.emmtee.net/">LOGON</a> (2014-08-09
12:04:28 +0200) — <a href="http://www.delph-in.net/erg">ERG
(1214)</a> — <a href="http://www.delph-in.net/erg">ERG
(1214)</a>]</div></center>
<center><hr>
<small><i>(This on-line demonstrator is hosted at the
<a href=http://www.mn.uio.no/ifi/english/research/groups/ltg/>University
of Oslo</a>)</i></small></center>
<div id="navtxt" class="navtext" style="position: absolute; top: -100px;
left: 0px; visibility:
hidden"></div></body></html>jcrowgey at quercus:~/Desktop$
===END-TERMINAL-OUTPUT===
Thanks in advance for any advice!
--
Joshua Crowgey
More information about the developers
mailing list