Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-2222

ACS - Event.Query suddenly returns Internal 500 response

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Appcelerator ACS, Titanium 3.1.2GA, iOS 6.1.3

      Description

      The following query returns Internal Server Error 500 since 2013-08-27 01:32:58 UTC. This query was working fine until 2013-08-26 23:25:28 UTC and no code changes occurred.

      Cloud.Events.query({
          order : {
      	lnglat : {
      	    '$nearSphere' : [currentlat, currentlon],
      	}
          }
      }, function(e) {
      ...
      }

      Request Time	2013-08-27 01:32:58 UTC
      Request Name	GET /v1/events/query.json
      Response Status	500
      Response Message	Error: Internal Server Error
      Parameters	 { "oauth_consumer_key" => "oA7...a9L", "_session_id" => "Vtb-aHJbcIH0k0syT08CjDgL2E0", "order" => "{"lnglat":{"$nearSphere":[40.42369079589844,-79.92929077148438]}}", "suppress_response_codes" => "true", "controller" => "events", "action" => "query", "version" => "v1", "format" => "json" }
      Authorization	OAuth realm="",oauth_version="1.0",oauth_consumer_key="oA7...a9L",oauth_signature_method="HMAC-SHA1",oauth_nonce="TGKlzI22QnrEA23",oauth_timestamp="1377567177",oauth_signature="4IBNrfxaeRVEL%2BWt0bClDeWzSto%3D"
      User Agent	Appcelerator Titanium/3.1.2.GA (iPhone/6.1.3; iPhone OS; en_US;)
      Source IP	71.206.237.230
      Response Size	135 bytes
       
      Request Time	2013-08-26 23:25:28 UTC
      Request Name	GET /v1/events/query.json
      Response Status	200
      Parameters	 { "oauth_consumer_key" => "oA7...a9L", "_session_id" => "ZLEH6hH4qixFpbXKfH8x-H3ShdY", "order" => "{"lnglat":{"$nearSphere":[40.305538177490234,-79.99760437011719]}}", "suppress_response_codes" => "true", "controller" => "events", "action" => "query", "version" => "v1", "format" => "json" }
      Authorization	OAuth realm="",oauth_version="1.0",oauth_consumer_key="oA7...a9L",oauth_signature_method="HMAC-SHA1",oauth_nonce="72fLOFlpvzG3OrO",oauth_timestamp="1377559528",oauth_signature="YyBJI%2BM7%2FXBUNqwj9Ldf6TJJVsw%3D"
      User Agent	Appcelerator Titanium/3.1.2.GA (iPhone/6.1.3; iPhone OS; en_US;)
      Source IP	166.137.81.166
      Response Size	5844 bytes

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain (Inactive)
              Reporter:
              dsefton Daniel Sefton
            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Integration