ArchiveLabs / pragma.archivelab.org

An API for citing Wayback snapshots with OpenAnnotations
https://pragma.archivelab.org
GNU General Public License v3.0
22 stars 3 forks source link

500 Internal server error #7

Open amiri27 opened 5 years ago

amiri27 commented 5 years ago

Hi..

On Creating a Snapshot API method we receive 500 internal server error.. As I see it appears on some urls all the time and there's no difference on calling these urls after a while..

Some of urls which this problem exists with: mecapp.ir lilimall.ir

Could you please help us how to resolve this problem and why API returns 500 internal server error?!

Regards,

csarven commented 5 years ago

Quite likely a duplicate of https://github.com/ArchiveLabs/pragma.archivelab.org/issues/6

thinkjrs commented 4 years ago

I am experiencing this as well. Specifically, the example in the README fails:

curl -X POST -H "Content-Type: application/json" -d '{"url": "google.com", "annotation": {"id": "lst-ib", "message": "Theres a microphone button in the searchbox"}}' https://pragma.archivelab.org

with the following curl response on my machine:

<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.4.6 (Ubuntu)</center>
</body>
</html>
catharsis71 commented 2 years ago

Still happening for me as well

$ curl -X POST -H "Content-Type: application/json" -d '{"url": "https://google.com/"}}' https://pragma.archivelab.org/capture
<html>
<head><title>502 Bad Gateway</title></head>
<body bgcolor="white">
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.4.6 (Ubuntu)</center>
</body>
</html>