Page 1 of 1

Problems with the data usage API?

Posted: Mon Jul 06, 2015 10:53 am
by Chris Every
Hi there,

when we perform our integration tests against your data-usa API they fail, telling us the request is forbidden. We deliver a bearer token with the request, that response comes nevertheless.

When using the developer console you offer, we get a json-response that the service is currently not available.

So we think there is currently some issue ... ?

Kind Regards
-- Chris

Re: Problems with the data usage API?

Posted: Mon Jul 06, 2015 3:33 pm
by EPO / OPS Support
Dear Chris,

We checked our services and can confirm that the data usage API is currently working as expected and the developer's portal is returning valid responses. Should you still have issues with the services, please provide us with more details to allow further analysis and investigation.

Kind regards,

OPS Support

Re: Problems with the data usage API?

Posted: Tue Jul 07, 2015 5:58 pm
by thomasst
Dear OPS Team,
since monday 29/06/2015 we have exactly the same issue with the data usage API. The days befor there was no problem and we could receive a valid request. Ther was no change at all on our side. Even our client using the interface complain this isssue. So please check again if there was some changes on your side!

Kind regards
Thomas Stiefvater

Re: Problems with the data usage API?

Posted: Wed Jul 08, 2015 9:36 am
by Chris Every
Hi there,

the problem is still valid. Here is how I try to request the statistics on the API console.

The message I recieve is

Code: Select all

HTTP/1.1 503 Service Unavailable

Content-Length:    139
Connection:    keep-alive
Content-Type:    application/json
{
  "fault": {
    "faultstring": "The Service is temporarily unavailable",
    "detail": {
      "errorcode": "messaging.adaptors.http.flow.ServiceUnavailable"
    }
  }
}
Image
Here a link to the full image: http://imgur.com/hZzgL9M

Kind Regards
-- Chris

Re: Problems with the data usage API?

Posted: Thu Jul 09, 2015 1:04 pm
by EPO / OPS Support
Dear users,

The certificate has changed on 29.06.2015. We are investigating on our side if this could be the cause of the problem.

Please be so kind as to check at your end whether it is the expired certificate that is maybe blocking the traffic.

Kind regards,

OPS Support

Re: Problems with the data usage API?

Posted: Tue Jul 21, 2015 10:18 am
by thomasst
Dear OPS Team,
after some days beeing able to access the "usage API" today 21.07.2015 the problem seems to return again. On our side I can not find any problem with a SSL certificate as we put only the https protocoll (port 443) into the request address. Everything else is done by the standard HTTP library package in ASP.NET or JAVA. So please analyse again the traffice on your side to find out the place where a blocking with "HTTP status" 404 can occure.

My request was:

Code: Select all

https://ops.epo.org/3.1/developers/me/stats/usage?timeRange=10/06/2015
The response from the OPS server is:

Code: Select all

Tue Jul 21 11:04:28 CEST 2015:DEBUG:>> "GET /3.1/developers/me/stats/usage?timeRange=10/06/2015 HTTP/1.1[\r][\n]"
Tue Jul 21 11:04:28 CEST 2015:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Tue Jul 21 11:04:28 CEST 2015:DEBUG:>> "Authorization: Bearer U0VWsq4F31KUx8Xw0K3UagzRp9rS[\r][\n]"
Tue Jul 21 11:04:28 CEST 2015:DEBUG:>> "Accept: application/json[\r][\n]"
Tue Jul 21 11:04:28 CEST 2015:DEBUG:>> "Host: ops.epo.org[\r][\n]"
Tue Jul 21 11:04:28 CEST 2015:DEBUG:>> "Connection: Keep-Alive[\r][\n]"
Tue Jul 21 11:04:28 CEST 2015:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
Tue Jul 21 11:04:28 CEST 2015:DEBUG:>> "[\r][\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "HTTP/1.1 404 Server Error[\r][\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "Content-Type: application/json[\r][\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "Content-Length: 75[\r][\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "Connection: keep-alive[\r][\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "[\r][\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "{[\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "    "code": "Forbidden",[\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "    "message": "Forbidden",[\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "    "contexts": [][\n]"
Tue Jul 21 11:04:29 CEST 2015:DEBUG:<< "}"
Kind regards
Thomas Stiefvater

Re: Problems with the data usage API?

Posted: Tue Jul 21, 2015 1:28 pm
by EPO / OPS Support
Hi,

Thank you for informing us. We've already informed our IT and hopefully they will be able to fix it soon.

Regards,
OPS support

Re: Problems with the data usage API?

Posted: Thu Jul 23, 2015 1:10 pm
by EPO / OPS Support
Dear users,

Our technical team claims the issue is now solved. Please be so kind as to try again.
We apologise for the inconvenience.

Kind regards,

OPS Support

Re: Problems with the data usage API?

Posted: Mon Aug 10, 2015 12:38 pm
by Chris Every
The issue is fixed for us now.

Thank you very much.