dkt-projekt / e-SMT

Web service for the Moses Statistical Machine Translation
1 stars 0 forks source link

e-SMT currently not usable #7

Closed davidwabnitz closed 8 years ago

davidwabnitz commented 8 years ago

Currently it is not possible to use e-SMT services (neither prod nor dev versions of the endpoint are usable). For example, I got the following responses a few minutes ago (~11:50am):

➜  in curl -X POST --header "Content-type:text/plain" -d 'Click on the right button.' "http://api.digitale-kuratierung.de/api/e-smt?source-lang=en&target-lang=de"
curl: (52) Empty reply from server
➜  in curl -X POST --header "Content-type:text/plain" -d 'Click on the right button.' "http://api.digitale-kuratierung.de/api/e-smt?source-lang=en&target-lang=de"
curl: (7) Failed to connect to api.digitale-kuratierung.de port 80: Connection refused
➜  in curl -X POST --header "Content-type:text/plain" --header "Accept:application/ld+json" -d 'Click on the right button.' "http://dev.digitale-kuratierung.de/api/e-smt?source-lang=en&target-lang=de"
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request <em><a href="/api/e-smt">POST&nbsp;/api/e-smt</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at dev.digitale-kuratierung.de Port 80</address>
</body></html>
➜  in curl -X POST --header "Content-type:text/plain" --header "Accept:application/ld+json" -d 'Click on the right button.' "http://api.digitale-kuratierung.de/api/e-smt?source-lang=en&target-lang=de"
curl: (7) Failed to connect to api.digitale-kuratierung.de port 80: Connection refused
➜  in curl -X POST --header "Content-type:text/plain" --header "Accept:application/ld+json" -d 'Click on the right button.' "https://api.digitale-kuratierung.de/api/e-smt?source-lang=en&target-lang=de"
ankitks commented 8 years ago

The server seems to be down. So all services are affected. We are looking into it and will restart it.

PeterBourgonje commented 8 years ago

Fixed.

davidwabnitz commented 8 years ago

still not working:

in curl -X POST --header "Content-type:text/plain" --header "Accept:application/ld+json" -d 'Click on the right button.' "http://api.digitale-kuratierung.de/api/e-smt?source-lang=en&target-lang=de"
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request <em><a href="/api/e-smt">POST&nbsp;/api/e-smt</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at api.digitale-kuratierung.de Port 80</address>
</body></html>
davidwabnitz commented 8 years ago

Hi Ankit,

thanks for the quick response. Could it be that the dkt-codebase is also affected by the issue described in https://github.com/freme- project/FREMECommon/issues/22 This seemingly crashes the servers on a regular basis.

Cheers' David

kreuzwerker GmbH - we touch running systems kreuzwerker.de | twitter.com/kreuzwerker | kreuzwerker.de/blog fon +49 160 7437419 | fax +49 30 609 83 88 99 Ritterstr. 12-14, 10969 Berlin | david.wabnitz@kreuzwerker.de HR B 129427 B | AG Charlottenburg | Geschäftsführer: Tilmann Eing

2016-09-20 12:09 GMT+02:00 Ankit Srivastava notifications@github.com:

The server seems to be down. So all services are affected. We are looking into it and will restart it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dkt-projekt/e-SMT/issues/7#issuecomment-248259379, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWL3m-0jTc7gy_nWb1h0fnNM1_bDv-jks5qr7DAgaJpZM4KBcGL .