Created
July 15, 2016 09:46
-
-
Save ijunaid8989/8c9bfc3325ab0e15fcaced4e920454d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rror] #PID<0.806.0> running EvercamMedia.Endpoint terminated | |
Server: localhost:4000 (http) | |
Request: GET /v1/public/cameras?within_distance=26571.402417023513&is_near_to=dublin&geojson=true | |
** (exit) an exception was raised: | |
** (FunctionClauseError) no function clause matching in Plug.Conn.resp/3 | |
(plug) lib/plug/conn.ex:455: Plug.Conn.resp(%Plug.Conn{adapter: {Plug.Adapters.Cowboy.Conn, :...}, assigns: %{geojson_cameras: [%Camera{__meta__: #Ecto.Schema.Metadata<:loaded, "cameras">, access_rights: #Ecto.Association.NotLoaded<association :access_rights is not loaded>, cloud_recordings: #Ecto.Association.NotLoaded<association :cloud_recordings is not loaded>, config: %{"auth" => %{"basic" => %{"password" => "aoife", "username" => "aoifemcd"}}, "external_host" => "www.nci.ie", "external_http_port" => 80, "external_rtsp_port" => "", "snapshots" => %{"jpg" => "/ispy/cam2/webcam2.jpg"}}, created_at: #Ecto.DateTime<2014-10-02 13:09:05.795039>, discoverable: true, exid: "gardiner2", id: 3262, is_online: true, is_online_email_owner_notification: false, is_public: true, last_online_at: #Ecto.DateTime<2016-07-13 22:46:24>, last_polled_at: #Ecto.DateTime<2016-07-14 05:17:45>, location: %Geo.Point{coordinates: {-6.2544413, 53.3506917}, srid: 4326}, mac_address: nil, model_id: nil, motion_detections: #Ecto.Association.NotLoaded<association :motion_detections is not loaded>, name: "Gardiner2", owner: %User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, access_tokens: #Ecto.Association.NotLoaded<association :access_tokens is not loaded>, api_id: "ae22f256", api_key: "55aaef7f87342174f6e8abc97e996a2a", billing_id: nil, camera_shares: #Ecto.Association.NotLoaded<association :camera_shares is not loaded>, cameras: #Ecto.Association.NotLoaded<association :cameras is not loaded>, confirmed_at: #Ecto.DateTime<2014-02-20 08:18:00>, country: #Ecto.Association.NotLoaded<association :country is not loaded>, country_id: 100, created_at: #Ecto.DateTime<2014-02-07 08:33:50.758519>, email: "[email protected]", firstname: "Vinnie", id: 49, lastname: "Quinn", password: "$2a$10$sfZ3zYofwIKjpUqzFbmNvee0iIB5rbzoHOU9MyNk8cfsNMSA7l5p2", stripe_customer_id: "cus_77BkU27vwUUyks", token_expires_at: #Ecto.DateTime<2015-07-15 14:17:52.016169>, updated_at: #Ecto.DateTime<2016-07-15 05:28:44.823610>, username: "vinniequinn"}, owner_id: 49, shares: #Ecto.Association.NotLoaded<association :shares is not loaded>, thumbnail_url: "https://evercam-camera-assets.s3.amazonaws.com/gardiner2/snapshots/1450485199.jpg?AWSAccessKeyId=AKIAIDHRNJZGIN6IG4FA&Signature=ovEsVxXxXZS%2FiIq9wKFGJsa7oAs%3D&Expires=1550485199", timezone: "Etc/UTC", updated_at: #Ecto.DateTime<2016-07-14 05:17:52>, vendor_model: nil}, %Camera{__meta__: #Ecto.Schema.Metadata<:loaded, "cameras">, access_rights: #Ecto.Association.NotLoaded<association :access_rights is not loaded>, cloud_recordings: #Ecto.Association.NotLoaded<association :cloud_recordings is not loaded>, config: %{"external_host" => "www.dublincity.ie", "external_http_port" => 80, "snapshots" => %{"jpg" => "/dublintraffic/site16Camera111.jpg"}}, created_at: #Ecto.DateTime<2014-07-30 09:13:57.177236>, discoverable: true, exid: "m1-drynam", id: 2825, is_online: true, is_online_email_owner_notification: false, is_public: true, last_online_at: #Ecto.DateTime<2015-11-02 03:22:33>, last_polled_at: #Ecto.DateTime<2016-01-04 16:27:23>, location: %Geo.Point{coordinates: {-6.2060738, 53.4427748}, srid: 4326}, mac_address: nil, model_id: nil, motion_detections: #Ecto.Association.NotLoaded<association :motion_detections is not loaded>, name: "M1 - Drynam", owner: %User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, access_tokens: #Ecto.Association.NotLoaded<association :access_tokens is not loaded>, api_id: "f8233898", api_key: "25d0c576360213800e847fe2252ec3e4", billing_id: nil, camera_shares: #Ecto.Association.NotLoaded<association :camera_shares is not loaded>, cameras: #Ecto.Association.NotLoaded<association :cameras is not loaded>, confirmed_at: #Ecto.DateTime<2015-02-16 16:58:27.863925>, country: #Ecto.Association.NotLoaded<association :country is not loaded>, country_id: 187, created_at: #Ecto.DateTime<2014-07-30 08:12:32.140376>, email: "[email protected]", firstname: "Dublin", id: 1162, lastname: "Traffic", password: "$2a$10$f.dXeVGm7MVHkYYEDOFddOFxioCRBwrKuSUX1.bx5ZFnvk1kHEmBu", stripe_customer_id: nil, token_expires_at: nil, updated_at: #Ecto.DateTime<2016-07-11 10:13:41.816366>, username: "evercamdublintraffic"}, owner_id: 1162, shares: #Ecto.Association.NotLoaded<association :shares is not loaded>, thumbnail_url: "https://media.evercam.io/v1/cameras/m1-drynam/thumbnail/2016-02-23T08:36:22.000Z?token=LXER2DC90d9QX-VIZ0-zp6iLKq8pKvVXb_ya-zfV-J2w45v8bGgvzDoE-_Bfkr-2", timezone: nil, updated_at: #Ecto.DateTime<2015-11-17 22:54:48.354441>, vendor_model: nil}, %Camera{__meta__: #Ecto.Schema.Metadata<:loaded, "cameras">, access_rights: #Ecto.Association.NotLoaded<association :access_rights is not loaded>, cloud_recordings: #Ecto.Association.NotLoaded<association :cloud_recordings is not loaded>, config: %{"external_host" => "www.dublincity.ie", "external_http_port" => 80, "snapshots" => %{"jpg" => "/dublintraffic/site16Camera77.jpg"}}, created_at: #Ecto.DateTime<2014-07-30 08:50:20.095431>, discoverable: true, exid: "m50-tallaght", id: 2811, is_online: true, is_online_email_owner_notification: false, is_public: true, last_online_at: #Ecto.DateTime<2015-11-03 08:54:55>, last_polled_at: #Ecto.DateTime<2016-01-04 19:22:20>, location: %Geo.Point{coordinates: {-6.343201, 53.30208}, srid: 4326}, mac_address: nil, model_id: nil, motion_detections: #Ecto.Association.NotLoaded<association :motion_detections is not loaded>, name: "M50 - Tallaght", owner: %User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, access_tokens: #Ecto.Association.NotLoaded<association :access_tokens is not loaded>, api_id: "f8233898", api_key: "25d0c576360213800e847fe2252ec3e4", billing_id: nil, camera_shares: #Ecto.Association.NotLoaded<association :camera_shares is not loaded>, cameras: #Ecto.Association.NotLoaded<association :cameras is not loaded>, confirmed_at: #Ecto.DateTime<2015-02-16 16:58:27.863925>, country: #Ecto.Association.NotLoaded<association :country is not loaded>, country_id: 187, created_at: #Ecto.DateTime<2014-07-30 08:12:32.140376>, email: "[email protected]", firstname: "Dublin", id: 1162, lastname: "Traffic", password: "$2a$10$f.dXeVGm7MVHkYYEDOFddOFxioCRBwrKuSUX1.bx5ZFnvk1kHEmBu", stripe_customer_id: nil, token_expires_at: nil, updated_at: #Ecto.DateTime<2016-07-11 10:13:41.816366>, username: "evercamdublintraffic"}, owner_id: 1162, shares: #Ecto.Association.NotLoaded<association :shares is not loaded>, thumbnail_url: "https://media.evercam.io/v1/cameras/m50-tallaght/thumbnail/2016-02-23T08:36:30.000Z?token=gwUp7kkQFltSH3HBA9Ei65_OMO7Gl5xWpOnHpboIFLmbOJ-l79TGfnwUzAsB7Ab1", timezone: nil, updated_at: #Ecto.DateTime<2015-11-17 22:54:48.078418>, vendor_model: nil}, %Camera{__meta__: #Ecto.Schema.Metadata<:loaded, "cameras">, access_rights: #Ecto.Association.NotLoaded<association :access_rights is not loaded>, cloud_recordings: #Ecto.Association.NotLoaded<association :cloud_recordings is not loaded>, config: %{"external_host" => "www.dublincity.ie", "external_http_port" => 80, "snapshots" => %{"jpg" => "/dublintraffic/site16Camera110.jpg"}}, created_at: #Ecto.DateTime<2014-07-30 09:12:38.901537>, discoverable: true, exid: "m1-airport-exit", id: 2824, is_online: true, is_online_email_owner_notification: false, is_public: true, last_online_at: #Ecto.DateTime<2015-11-02 04:38:40>, last_polled_at: #Ecto.DateTime<2016-01-04 19:22:20>, location: %Geo.Point{coordinates: {-6.2177467, 53.4272305}, srid: 4326}, mac_address: nil, model_id: nil, motion_detections: #Ecto.Association.NotLoaded<association :motion_detections is not loaded>, name: "M1 - Airport Exit", owner: %User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, access_tokens: #E |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment