Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipelines for labels are failing #26

Closed
x-fran opened this issue Jul 28, 2016 · 9 comments
Closed

Pipelines for labels are failing #26

x-fran opened this issue Jul 28, 2016 · 9 comments
Assignees

Comments

@x-fran
Copy link
Member

x-fran commented Jul 28, 2016


curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: 56b5c444-1f20-63f5-4a19-d41b0762df83" -d '[
    {
      "method": "POST",
      "endpoint": "http://api.freme-project.eu/current/e-entity/freme-ner/documents",
      "parameters": {
        "language": "en",
        "dataset": "dbpedia"
      },
      "headers": {
        "content-type": "text/plain",
        "accept": "text/turtle"
      },
      "body": "Dublin is great!"
    },
    {
      "method": "POST",
      "endpoint": "http://api.freme-project.eu/current/e-link/documents/",
      "parameters": {
        "templateid": "4496"
      },
      "headers": {
        "content-type": "text/turtle",
        "accept": "application/json+ld"
      }
    }
  ]' "http://api.freme-project.eu/current/pipelining/chain"

This command worked before and now I get this error

{
  "exception": "eu.freme.bservices.filter.proxy.exception.BadGatewayException",
  "path": "/e-entity/freme-ner/documents",
  "message": "Proxy failed: org.apache.http.conn.HttpHostConnectException: Connect to rv2622.1blu.de:7002 [rv2622.1blu.de/178.254.20.8] failed: Verbindungsaufbau abgelehnt",
  "error": "Bad Gateway",
  "status": 502,
  "timestamp": 1469725210805
}

Any idea why?

This is urgent!! We use it in production.

@x-fran x-fran changed the title Pipeline for labels are failing Pipelines for labels are failing Jul 28, 2016
@jnehring jnehring self-assigned this Jul 29, 2016
@jnehring
Copy link
Member

I investigate on this

@jnehring
Copy link
Member

It works now. @Xfran please try again.

@jnehring jnehring assigned x-fran and unassigned jnehring Jul 29, 2016
@x-fran
Copy link
Member Author

x-fran commented Jul 29, 2016

It's working. Thank you @jnehring.

@x-fran x-fran closed this as completed Jul 29, 2016
@x-fran x-fran reopened this Aug 2, 2016
@jnehring
Copy link
Member

jnehring commented Aug 2, 2016

What is the problem? When I execute the CURL then I get status code 200 and json ld data so it looks fine to me.

@x-fran
Copy link
Member Author

x-fran commented Aug 2, 2016

I just reopen this issue because we have the same problem. The servers are failing.

You said you investigated on this. What is/was the problem?

@jnehring
Copy link
Member

jnehring commented Aug 2, 2016

I opened this issue here: freme-project/FREMECommon#22

@x-fran
Copy link
Member Author

x-fran commented Aug 2, 2016

Ok. so I close this one and I follow freme-project/FREMECommon#22

@x-fran x-fran closed this as completed Aug 2, 2016
@x-fran
Copy link
Member Author

x-fran commented Aug 5, 2016

The service is failing again.

"STATUS_CODE": 400,
"CONTENT": {
"exception": "eu.freme.common.exception.BadRequestException",
"path": "/pipelining/chain",
"message": "Request 0: java.net.UnknownHostException: api.freme-project.eu",
"error": "Bad Request",
"status": 400,
"timestamp": 1470439348896
}

@x-fran x-fran reopened this Aug 5, 2016
@jnehring
Copy link
Member

jnehring commented Aug 8, 2016

The problem is again freme-project/FREMECommon#22

I restarted FREME live. Is the problem solved? Can we close the issue?

@x-fran x-fran closed this as completed Aug 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants