GLORIA-project / reservations-interface

User interfaces for managing online experiment reservations.
GNU General Public License v3.0
0 stars 3 forks source link

Http 406 Status from Telescopes API #34

Open ghost opened 8 years ago

ghost commented 8 years ago

Hello. I couldn't use the telescope in my reservation interval so I searched for errors on the js console. I have this information:

GET https://ws.users.gloria-project.eu/api/teleoperation/dome/status/BOOTES-1A 406 (No Aceptable)

  • request information

Request URL:https://ws.users.gloria-project.eu/api/teleoperation/mount/status/BOOTES-1A Request Method:GET Status Code:406 No Aceptable Remote Address:161.72.1.10:443 Response Headers

Access-Control-Allow-Credentials:true Access-Control-Allow-Headers:origin, content-type, accept, authorization, x-requested-with Access-Control-Allow-Methods:GET, POST, PUT, DELETE, OPTIONS, HEAD Access-Control-Allow-Origin:* Access-Control-Max-Age:1209600 Connection:Keep-Alive Content-Type:application/json Date:Fri, 30 Sep 2016 21:25:39 GMT Keep-Alive:timeout=2, max=70 Server:Apache Transfer-Encoding:chunked Request Headers

Accept:application/json, text/plain, / Accept-Encoding:gzip, deflate, sdch, br Accept-Language:es,en-US;q=0.8,en;q=0.6 authorization:Basic bnVsbDpnOXJuaDEycjA5dWs1dWVrbmp1dGgxM3VjNA== Connection:keep-alive DNT:1 Host:ws.users.gloria-project.eu Origin:http://users.gloria-project.eu Referer:http://users.gloria-project.eu/reservations/ User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36

  • Response in browser
{
  "action": {
    "rt": "BOOTES-1A",
    "name": "GetStateOperation",
    "args": [
      "BOOTES-1A",
      "DOME1A"
    ]
  },
  "sender": "teleoperation",
  "client": "gloria-admin",
  "inner": {
    "name": "ServerNotAvailable",
    "host": "https://150.214.93.50",
    "port": "8443",
    "error": "WebServiceException"
  },
  "name": "DomeTeleoperation"
}

I also scan that ip and the port seems closed. Hope this information helps you

Regards!