Details
- 
        Type:
Monitor
 - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Done
 - 
            Affects Version/s: None
 - 
            Fix Version/s: 2021
 - 
            Component/s: FIWARE-TECH-HELP
 - 
            Labels:
 
- 
                        HD-Chapter:Data
 - 
                        HD-Enabler:Orion
 
Description
Created question in FIWARE Q/A platform on 11-06-2015 at 16:06
Please, ANSWER this question AT https://stackoverflow.com/questions/30783089/socket-hang-up-exception-sent-by-server-on-orion-querycontext-request
Question:
Socket hang up exception sent by server on Orion queryContext request
Description:
I'm trying to access FIWARE Orion Context Broker, with the following command, but I receive this error, sent by the remote context broker...
curl -d '{"entities":[
{"type":"","isPattern":"true","id":".*"}]}' \
     -H 'Content-type: application/json'\
     -H 'X-Auth-Token: .....'\
     'http://orion.lab.fiware.org:1026/ngsi10/queryContext?limit=5&details=on'
Error: socket hang up
    at createHangUpError (http.js:1453:15)
    at Socket.socketOnEnd [as onend] (http.js:1549:23)
    at Socket.g (events.js:175:14)
    at Socket.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:910:16
    at process._tickCallback (node.js:415:13)
Can someone help me ?
2017-05-28 12:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False