Skip to content

Orion-LD crashes when using pick parameter on query -- container stops unexpectedly #1849

@dncampo

Description

@dncampo

I encountered an unexpected crash when using the pick parameter in an entity query.

Environment:

  • Orion 1.10.0
  • Mongo 6.0
  • Dataset used: Smart Farm located here

When using a FIWARE MCP Server to access data in the CB, a query is performed with a pick parameter:

{
  `params`: `GET /ngsi-ld/v1/entities?type=Animal&q=ownedBy==\"urn:ngsi-ld:Person:person001\";sex==\"Female\";species==\"dairy cattle\"&pick=name,weight,sex,species`
}

It returns:
{"status": 200, "headers": {"Date": "Wed, 29 Oct 2025 09:27:47 GMT", "Content-Type": "application/json", "Content-Length": "2"}, "body": []}
But after doing some pick again:

{
  params: GET /ngsi-ld/v1/entities?type=Animal&q=ownedBy==\"urn:ngsi-ld:Person:person001\"&pick=name,weight,sex,species
}

It crashes:

Response
{"error": "('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))", "url": "http://localhost:1026/ngsi-ld/v1/entities?type=Animal&q=ownedBy==\"urn:ngsi-ld:Person:person001\"&pick=name,weight,sex,species"}

Killing the container. You can see the "conversation" with the LLM here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions