freme-project / e-services

Apache License 2.0
1 stars 1 forks source link

/current/ bad gateway #41

Closed bjdmeest closed 7 years ago

bjdmeest commented 7 years ago

both

curl 'http://api.freme-project.eu/current/e-entity/freme-ner/documents?informat=text%2Fhtml&outformat=text%2Fhtml&language=en&dataset=dbpedia&mode=all' -H 'Origin: http://localhost:63342' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-GB,en-US;q=0.8,en;q=0.6' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2864.0 Safari/537.36' -H 'Content-Type: text/html' -H 'Accept: text/n3' -H 'Referer: http://localhost:63342/CKEditor-Plugin/ckeditor/samples/freme.html?_ijt=pfc75g8q3vtncm3dup91o59877' -H 'Connection: keep-alive' --data-binary '<p>Dissident Chinese artist Ai Weiwei has been refused a six-month visa by the British government amid claims he lied on his visa application form. Ai posted a letter on Instagram stating his entry to the UK had been restricted because he failed to declare his "criminal conviction". But Ai, though detained in China for 81 days in 2011, has never been charged or convicted of a crime in China. The artist was granted a 20-day visa to attend the opening of his London show.</p>' --compressed

and

curl 'http://api.freme-project.eu/current/e-translation/tilde?informat=text&outformat=json-ld&source-lang=en&target-lang=de' -H 'Origin: http://localhost:63342' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: en-GB,en-US;q=0.8,en;q=0.6' -H 'User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2864.0 Safari/537.36' -H 'Content-Type: text/plain' -H 'Accept: application/json+ld' -H 'Referer: http://localhost:63342/CKEditor-Plugin/ckeditor/samples/freme.html?_ijt=pfc75g8q3vtncm3dup91o59877' -H 'Connection: keep-alive' --data-binary 'Dissident Chinese artist Ai Weiwei has been refused a six-month visa by the British government amid claims he lied on his visa application form. Ai posted a letter on Instagram stating his entry to the UK had been restricted because he failed to declare his "criminal conviction". But Ai, though detained in China for 81 days in 2011, has never been charged or convicted of a crime in China. The artist was granted a 20-day visa to attend the opening of his London show.' --compressed

return a 502 bad gateway

jnehring commented 7 years ago

i think it is this problem.

https://github.com/freme-project/FREMECommon/issues/22

i restarted freme live. can you please test again and check if the problem is solved?