Forum Activity for @nate

nate
@nate
01/31/15 02:42:37PM
917 posts

Proxima Login fail


Proxima

Sent to 2 email addresses.
updated by @nate: 01/31/15 03:56:10PM
nate
@nate
01/31/15 01:41:45PM
917 posts

Proxima Login fail


Proxima

It's the client key. Same I used in the putData. I updated this morning.
nate
@nate
01/31/15 01:39:17PM
917 posts

Proxima Login fail


Proxima

App ID or client key?
updated by @nate: 01/31/15 01:39:45PM
nate
@nate
01/31/15 01:30:51PM
917 posts

Proxima Login fail


Proxima

My issue is if I create an account and just use that session it all works.
nate
@nate
01/31/15 01:27:06PM
917 posts

Proxima Login fail


Proxima

[code]
public static String postData(URI uri, String session_id){
AndroidHttpClient client = AndroidHttpClient.newInstance("AndroidAgent");
HttpPost request = new HttpPost(uri);
String credentials = ClientMap.PROXIMA_PASSWORD + ":" + session_id;
String base64EncodedCredentials = Base64.encodeToString(credentials.getBytes(), Base64.NO_WRAP);
request.addHeader("Authorization", "Basic " + base64EncodedCredentials);
HttpResponse response;

Log.i(TAG, "session id to payment is " +session_id);

try {
response = client.execute(request);
return EntityUtils.toString(response.getEntity());
} catch (IOException e) {
e.printStackTrace();
return null;
} finally {
client.close();
}

}
{/code]

Quote:
I/PaymentActivity﹕ <a href="http://n8flex.com/api/user/login?id=26&password=123456" target="_blank" rel="nofollow">http://n8flex.com/api/user/login?id=26&password=123456</a>
I/PaymentActivity﹕ {"code":200,"text":"OK","note":"session started","data":{"session_id":"f4c7e8eb9ac182b66329b78d2c1a4747"}}

Quote:
I/httpManager﹕ session id to payment is f4c7e8eb9ac182b66329b78d2c1a4747
I/PaymentActivity﹕ {"code":401,"text":"Unauthorized","note":"invalid user session"}

I use this method in the putData to update the user info. Of course this is with my original session.
nate
@nate
01/31/15 01:14:18PM
917 posts

Proxima Login fail


Proxima

OK.
nate
@nate
01/31/15 01:12:04PM
917 posts

Proxima Login fail


Proxima

Quote: I/PaymentActivity﹕ http://n8flex.com/api/user/login?id=26&password=123456
I/PaymentActivity﹕ {"code":200,"text":"OK","note":"session started","data":{"session_id":"daa20160466c08aae6b608c6a6eaa14c"}}
I/PaymentActivity﹕ http://n8flex.com/api/msone/checkout/tok_15R8UfEVo3ItZB1y6XOoYG5s/988/4242/27,23,29,6
I/PaymentActivity﹕ session id to payment is daa20160466c08aae6b608c6a6eaa14c
I/PaymentActivity﹕ {"code":401,"text":"Unauthorized","note":"invalid user session"}

No changes for me using 1.0.2.
updated by @nate: 01/31/15 01:13:59PM
nate
@nate
01/30/15 01:52:47PM
917 posts

Guitar Club


Off Topic

Man that really sucks. I hate to leave the house as it is.

I've never played a Les Paul. I considered getting one. They seem best suited for rock. While I tinker with rock, it's not my native style. I think it would go to waste.

My very first guitar was a Fender Jaguar. I have no idea what my dad was thinking. lol I later moved to bass and started with a Peavey T40. That sucker weighed about 15 lbs. After that, I bought an Ibanez and then a second Ibanez. So now I've returned home to Fender and I have all the guitars I plan to own.

I need at minimum an hour a day
nate
@nate
01/30/15 01:11:52PM
917 posts

Guitar Club


Off Topic

My current trio are the finest instruments I've ever owned. I figured one last time, go big.
nate
@nate
01/30/15 01:07:26PM
917 posts

Proxima Login fail


Proxima

Thanks, B.
  68