question

Upvotes
Accepted
2 0 0 3

https://api.thohttps://api.thomsonreuters.com/permid/calaismsonreuters.com/permid/calais

Dear Sir or Madam,

since morning early I have 502 error in my demo application for one of Microservices of my master thesis. please inform me if the url is changed or how can I fix that problem because I have presentation in one week. :-S

java.io.IOException: Server returned HTTP response code: 502 for URL: https://api.thomsonreuters.com/permid/calais at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1913) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1509) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:245) at opencalais.OpenCalaisImpl.getTag(OpenCalaisImpl.java:41) at dkproparent.DKProparentImpl.getText(DKProparentImpl.java:26) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:359) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200) at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196) at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

on the url we have:

An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

intelligent-tagging-apierrorpermid-apiintelligent-taggingopen-calais-apisemantic-metadata-taggingextractionerror-502
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvote
Accepted
23k 22 9 14

Hello @Aprin.freddy and all,

Please be informed that there was a confirmed issue in apiGarden yesterday for external and internal users. That has been resolved now.

@Aprin.freddy kindly confirm on your side, if you not seeing the issue anymore?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

Hello @Aprin.freddy,

I have just tested https://api.thomsonreuters.com/permid/calais via

Swagger Dev Portal Tool

The response came back as expected, status 200 and tagged.

It looks like the issue, that you have experienced, was transient and is now gone?

Please confirm that you are currently able to request from OpenPermid Calais, if you still

experience the issue in your custom application, try testing with the swagger tool, and let us know how that works for you?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
2 0 0 3

Dear farberov,

thanks for your time and answer.

today I got semantic tags but from 10 request I got 6 time code: 502 for URL: https://api.thomsonreuters.com/permid/calais. null

please click on :https://api.thomsonreuters.com/permid/calais

before this week Calais was reliable and I was thinking to add it to my project. but if it continue in this way I will switch to other knowledge extraction tool like .FRED

Best regards

farbod.aprin@stud.uni-due.de

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
2 0 0 3

I tired separately at Swagger Dev Portal Tool you can see the error


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Still not stable server response 502

Upvote
23k 22 9 14

Hello @Aprin.freddy,

Could you please describe how often you are requesting?

You are aware that your user is allowed to make only one Calais request per second, right?

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
2 0 0 3

Problem is Solved I am not getting 502 anymore ! thanks TH developer team for quick response. 20.03.2019

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea