invernyx / smartcars-3-bugs

The bug tracker for the smartCARS 3 application
3 stars 0 forks source link

[BUG] - Session Invalid due to Expiry / Users Being Deleted when another user logs in / phpVMS5 API #174

Closed walkerairtrans closed 1 year ago

walkerairtrans commented 1 year ago

Describe the bug

I got a good one for you @turbofandude @GenericNerd!

One of my pilots was in flight and when he went to submit his PIREP; this is what showed up. The first record started at 23:53 UTC and it continued for over an hour. He was already flying 2 hours prior to this on a tour flight.

error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:53:04.727Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:53:34.747Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:54:04.893Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:54:34.765Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:55:04.824Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:55:34.812Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:56:04.877Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:56:34.845Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:57:04.893Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:57:34.922Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:58:04.917Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:58:34.910Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:59:04.980Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-06T23:59:34.956Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:00:04.935Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:00:34.988Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:01:04.999Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:01:34.999Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:02:05.073Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:02:35.031Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:03:05.053Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:03:35.209Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:04:05.130Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:04:35.108Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:05:05.153Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:05:35.166Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:06:05.163Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:06:35.154Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:07:05.200Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:07:35.234Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:08:05.215Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:08:35.223Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:09:05.223Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:09:35.245Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:10:05.284Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:10:35.293Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:11:05.286Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:11:35.312Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:12:05.314Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:12:35.293Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:13:05.325Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:13:35.347Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:14:05.335Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:14:35.348Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:15:05.360Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:15:35.440Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:16:05.443Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:16:35.454Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:17:05.440Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:17:35.514Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:18:05.508Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:18:35.525Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:19:05.528Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:19:35.507Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:20:05.525Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:20:35.561Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:21:05.533Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:21:35.582Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:22:05.655Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:22:35.644Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:23:05.646Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:23:35.690Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:24:05.645Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:24:35.684Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:25:05.749Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:25:35.737Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:26:05.725Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:26:35.759Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:27:05.813Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:27:35.833Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:28:05.795Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:28:35.851Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:29:05.828Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:29:35.890Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:30:05.911Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:30:35.904Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:31:05.933Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:31:35.920Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:32:05.990Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:32:35.939Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:33:06.002Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:33:36.019Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:34:06.095Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:34:36.046Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:35:06.145Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:35:36.144Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:36:06.131Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:36:36.236Z"} error: Error could not complete flight, error code: 401 with message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/complete","timestamp":"2023-05-07T00:37:03.743Z"} error: Failed to call local API {"endpoint":"api/com.tfdidesign.flight-tracking/complete","error":{"code":"ERR_BAD_RESPONSE","config":{"adapter":["xhr","http"],"data":"{}","env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","params":{},"timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"http://localhost:7172/api/com.tfdidesign.flight-tracking/complete","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n at http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243683\n at XMLHttpRequest.d (http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243831)","status":500},"timestamp":"2023-05-07T00:37:03.746Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:37:06.189Z"} error: Error could not complete flight, error code: 401 with message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/complete","timestamp":"2023-05-07T00:37:12.638Z"} error: Failed to call local API {"endpoint":"api/com.tfdidesign.flight-tracking/complete","error":{"code":"ERR_BAD_RESPONSE","config":{"adapter":["xhr","http"],"data":"{}","env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","params":{},"timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"http://localhost:7172/api/com.tfdidesign.flight-tracking/complete","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n at http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243683\n at XMLHttpRequest.d (http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243831)","status":500},"timestamp":"2023-05-07T00:37:12.639Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:37:36.198Z"} error: Error could not complete flight, error code: 401 with message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/complete","timestamp":"2023-05-07T00:37:36.550Z"} error: Failed to call local API {"endpoint":"api/com.tfdidesign.flight-tracking/complete","error":{"code":"ERR_BAD_RESPONSE","config":{"adapter":["xhr","http"],"data":"{}","env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","params":{},"timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"http://localhost:7172/api/com.tfdidesign.flight-tracking/complete","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n at http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243683\n at XMLHttpRequest.d (http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243831)","status":500},"timestamp":"2023-05-07T00:37:36.552Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:38:06.176Z"} error: Error could not complete flight, error code: 401 with message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/complete","timestamp":"2023-05-07T00:38:27.683Z"} error: Failed to call local API {"endpoint":"api/com.tfdidesign.flight-tracking/complete","error":{"code":"ERR_BAD_RESPONSE","config":{"adapter":["xhr","http"],"data":"{}","env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","params":{},"timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"http://localhost:7172/api/com.tfdidesign.flight-tracking/complete","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n at http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243683\n at XMLHttpRequest.d (http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243831)","status":500},"timestamp":"2023-05-07T00:38:27.686Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:38:36.243Z"} error: Error while getting aircraft list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/data/aircraft","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:02.187Z"} error: Error while getting airport list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/data/airports","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:02.187Z"} error: Error while getting booking list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/flights/bookings","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:02.202Z"} error: Error while getting airport list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/data/airports","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:02.326Z"} error: Error while getting booking list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/flights/bookings","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:02.345Z"} error: Error while getting aircraft list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/data/aircraft","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:02.364Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:39:06.257Z"} error: Error while getting aircraft list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/data/aircraft","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:18.476Z"} error: Error while getting booking list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/flights/bookings","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:18.480Z"} error: Error while getting airport list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/data/airports","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:18.508Z"} error: Error while getting aircraft list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/data/aircraft","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:18.626Z"} error: Error while getting booking list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/flights/bookings","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:18.665Z"} error: Error while getting airport list Request failed with status code 401 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjUwNiwiZXhwIjoxNjgzNDE3MDQxfQ.JhebwGee6uIgf08sWE88v40n0m1XOCZeXeiI5J9p4GM","User-Agent":"axios/1.3.5"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"https://crew.walkerair.us/appdata/api/phpvms5/data/airports","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","stack":"AxiosError: Request failed with status code 401\n at settle (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:1898:12)\n at IncomingMessage.handleStreamEnd (C:\\Users\\jeffh\\AppData\\Local\\TFDi Design\\smartCARS\\resources\\app\\dist\\plugins\\com.tfdidesign.flight-center\\background\\node_modules\\axios\\dist\\node\\axios.cjs:2950:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:83:21)","status":401,"timestamp":"2023-05-07T00:39:18.681Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:39:36.232Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:40:06.271Z"} error: could not update flight to va with error code 401 and message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/update","timestamp":"2023-05-07T00:40:36.317Z"} error: Error could not complete flight, error code: 401 with message: The session provided is not valid {"code":401,"name":"HttpClientError","response":{"message":"The session provided is not valid"},"sourceUri":"https://crew.walkerair.us/appdata/api/phpvms5/flights/complete","timestamp":"2023-05-07T00:40:41.944Z"} error: Failed to call local API {"endpoint":"api/com.tfdidesign.flight-tracking/complete","error":{"code":"ERR_BAD_RESPONSE","config":{"adapter":["xhr","http"],"data":"{}","env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","params":{},"timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"http://localhost:7172/api/com.tfdidesign.flight-tracking/complete","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n at http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243683\n at XMLHttpRequest.d (http://localhost:7172/plugins/com.tfdidesign.flight-tracking/static/js/main.47647d2e.js:2:243831)","status":500},"timestamp":"2023-05-07T00:40:41.946Z"}

Here's the funny part..... I logged in at 23:52 to do a test flight. When I hit the VA shortcut it told me my session was invalid and took me to the login page. I typed in my credentials and I logged in. At the exact same time I apparently wiped his session ID. I looked in the database table and everyone on my test team was in there, except him. After combing through server logs and your API code I discovered this.

login.php $database->execute('DELETE FROM smartCARS3_Sessions WHERE expiry < ?', array(time()));

I noticed that the session expiry does not increase when you auto-login (resume.php). I believe the reason he suddenly got booted was the command above was executed when I logged in. It makes sense because it all happened at the exact time I logged in and he suddenly lost communication.

His app never stopped. It never alerted him. He only realized it was a problem when he submitted his PIREP. When that happened it errored out with the screenshot showing the red toast. This whole time he was being spammed with session ID invalid and the app never thought differently.

How are we handling session exprie and/or increasing it? I see nothing in resume.php indicating an increase of expiry if a user is still valid.

How do you reproduce this bug?

  1. Start a flight
  2. Let it log for awhile
  3. Purge the users session ID (to simulate the user being deleted due to expiration)

Expected behavior

Definitely not what my tester experienced. :)

Screenshots

image

image

Operating system

Windows 11

Community airline

Walker Air Transport

smartCARS Version

Latest

Plugins installed

chat, map, flight center, flight tracker, logbook

Additional context

No response

turbofandude commented 1 year ago

This is fixed now with 0.9. The tokens are refreshed by logins, basically preventing this unless you're in one continous session for over a week.