Forum Activity for @nate

nate
@nate
02/04/15 07:07:54PM
917 posts

Proxima Login fail


Installation and Configuration

Note. it's not being recorded but it is returning a session_id. As if it is being recorded.
nate
@nate
02/04/15 07:05:10PM
917 posts

Proxima Login fail


Installation and Configuration

Ok so what's going on is, if a user with an existing session logs in the session is not being recorded. If I delete all sessions, I can log in and everything works. I can try to set my expiration date to match yours. Is it 7 exact days?
nate
@nate
02/04/15 06:47:07PM
917 posts

Proxima Login fail


Installation and Configuration

I just did another log in, got back a session_id, checked the db and there is no session recorded.

I did this twice with no session recorded now.
updated by @nate: 02/04/15 06:53:14PM
nate
@nate
02/04/15 05:48:12PM
917 posts

Proxima Login fail


Installation and Configuration

Quote: cd33784ce52dce710d28bc60056e657e 2 38 39 1423702283

{"session_id":"4476e810c631dece12aa398bd73f7b00"}

Quote: 6ee36a4827fddc202b0cdb654cc023dc 2 39 40 1423702429

{"_id":39,"session_id":"6ee36a4827fddc202b0cdb654cc023dc","location":"http:\/\/n8flex.com\/api\/user\/39"}
nate
@nate
02/04/15 05:44:42PM
917 posts

Proxima Login fail


Installation and Configuration

When I create a user, I get the same session_id returned as the session_key recorded. When I later try to log in as an existing user, the session_id returned does not match the session_key in the DB.

Are you saying somehow the data is being read wrong by my app? Only on log in and not when I create a user? I'm logging it as a raw string before I do anything to it. They use the same handler upon return.
nate
@nate
02/04/15 05:18:16PM
917 posts

Proxima Login fail


Installation and Configuration

So that we're clear, the error is happening at log in, not at the payment post. The session returned does not match the session recorded.
nate
@nate
02/04/15 05:07:34PM
917 posts

Proxima Login fail


Installation and Configuration

Yes, if the user goes to make a payment beyond 6 days the app logs in to have a valid session. For testing, I've changed it to 10 seconds.

I deleted all proxima sessions and these are the only 2 present. The first was a log in attempt by user 38.

Quote:I/PaymentActivity﹕ {"code":200,"text":"OK","note":"session started","data":{"session_id":"4476e810c631dece12aa398bd73f7b00"}}

recorded
Quote: cd33784ce52dce710d28bc60056e657e

On the second one, I created a new user, 39.

Quote: {"code":201,"text":"Created","note":"user created and session started","data":{"_id":39,"session_id":"6ee36a4827fddc202b0cdb654cc023dc","location":"http:\/\/n8flex.com\/api\/user\/39"}}

recorded
Quote:6ee36a4827fddc202b0cdb654cc023dc

updated by @nate: 02/04/15 05:13:50PM
nate
@nate
02/04/15 04:56:38PM
917 posts

Proxima Login fail


Installation and Configuration

So it's something on my server?
nate
@nate
02/04/15 04:55:20PM
917 posts

Proxima Login fail


Installation and Configuration

When I create a user I get a match

Quote:I/GCMMain﹕ {"code":201,"text":"Created","note":"user created and session started","data":{"_id":39,"session_id":"6ee36a4827fddc202b0cdb654cc023dc","location":"http:\/\/n8flex.com\/api\/user\/39"}}

Quote:6ee36a4827fddc202b0cdb654cc023dc
nate
@nate
02/04/15 04:39:44PM
917 posts

Proxima Login fail


Installation and Configuration

This is what's returned

Quote:I/PaymentActivity﹕ {"code":200,"text":"OK","note":"session started","data":{"session_id":"4476e810c631dece12aa398bd73f7b00"}}

This is what's in the jr_jrproximacore_session table
Quote:cd33784ce52dce710d28bc60056e657e
  66