FatFractal customer forums



Recent Posts

Pages: 1 [2] 3 4 ... 10
11
NoServer Questions and Answers / Re: Registering New User: Error 1
« Last post by metakite on September 11, 2015, 04:43:21 PM »
Gary helped me offline and found my problem.

For the benefit of anyone who comes after me, this error was a result of initializing the FatFractal object with the wrong base URL. A simple typo.

Thanks Gary!
12
NoServer Questions and Answers / Registering New User: Error 1
« Last post by metakite on September 11, 2015, 03:04:32 PM »
I'm trying to spin up a new app, and I think I might have something configured incorrectly in my FatFractal NoServer installation.

I'm trying to use the iOS SDK to register a new user with this FatFractal method:

Code: [Select]
- (void) registerUser:(id<FFUserProtocol>)user password:(NSString *)password onComplete:(FFHttpMethodCompletion)onComplete;
When I do, I get back an error:
Code: [Select]
Error Domain=FatFractal
Error Code=1
Localized Description="HTTP POST returned no data, but no error was set ..."

I can't really tell what's wrong from reading the reported error message, so I am hoping that you can clue me in.

For your reference, here is my app info:
subdomain: metakite
app: metatax

And below are the contents of my Xcode console log when I enable debug logging in the FatFractal SDK:
Code: [Select]
2015-09-11 14:52:03.304 MetaTax[60801:9521265] Reachability Flag Status: -R -----l- networkStatusForFlags
2015-09-11 14:52:03.307 MetaTax[60801:9521265] Application URL: https://metakite.fatfractal.com/metakite
2015-09-11 14:52:03.308 MetaTax[60801:9521631] Loading queued operations from local storage
2015-09-11 14:52:03.308 MetaTax[60801:9521631] No local queued operation store found!
2015-09-11 14:52:38.819 MetaTax[60801:9521265] Reachability Flag Status: -R -----l- networkStatusForFlags
2015-09-11 14:52:38.819 MetaTax[60801:9521265] Attempting to register new user FFUser[ guid[(null)] active[0], userName[test],firstName[(null)],lastName[(null)],email[charles@metakite.com], authDomain[(null)], scriptAuthService[(null)], groupsLoaded[0],groups[{
}]] to https://metakite.fatfractal.com/metakite/ff/register
2015-09-11 14:52:38.820 MetaTax[60801:9521265] getClazzFromClass:FFUser returning FFUser
2015-09-11 14:52:38.820 MetaTax[60801:9521265] classToClazzDict is {
}
2015-09-11 14:52:38.820 MetaTax[60801:9521265] dictionaryFromObject: Got property attributes T@"NSString",&,N,VlastName for key lastName
2015-09-11 14:52:38.821 MetaTax[60801:9521265] dictionaryFromObject: Setting [NSNull null] for lastName
2015-09-11 14:52:38.821 MetaTax[60801:9521265] dictionaryFromObject: Got property attributes T@"NSString",&,N,Vguid for key guid
2015-09-11 14:52:38.821 MetaTax[60801:9521265] dictionaryFromObject: Setting [NSNull null] for guid
2015-09-11 14:52:38.821 MetaTax[60801:9521265] dictionaryFromObject: Got property attributes T@"NSString",&,N,VfirstName for key firstName
2015-09-11 14:52:38.830 MetaTax[60801:9521265] dictionaryFromObject: Setting [NSNull null] for firstName
2015-09-11 14:52:38.830 MetaTax[60801:9521265] dictionaryFromObject: Got property attributes Tc,N,Vactive for key active
2015-09-11 14:52:38.831 MetaTax[60801:9521265] dictionaryFromObject: Got property attributes T@"NSString",&,N,VauthDomain for key authDomain
2015-09-11 14:52:38.831 MetaTax[60801:9521265] dictionaryFromObject: Setting [NSNull null] for authDomain
2015-09-11 14:52:38.831 MetaTax[60801:9521265] dictionaryFromObject: Got property attributes T@"NSString",&,N,VuserName for key userName
2015-09-11 14:52:38.831 MetaTax[60801:9521265] dictionaryFromObject: Got property attributes T@"NSString",&,N,Vemail for key email
2015-09-11 14:52:38.831 MetaTax[60801:9521265] dictionaryFromObject: Got property attributes T@"NSString",&,N,VscriptAuthService for key scriptAuthService
2015-09-11 14:52:38.831 MetaTax[60801:9521265] dictionaryFromObject: Setting [NSNull null] for scriptAuthService
2015-09-11 14:52:38.839 MetaTax[60801:9521265] metaDataForObj: Did not find in-memory metadata for object FFUser[ guid[(null)] active[0], userName[test],firstName[(null)],lastName[(null)],email[charles@metakite.com], authDomain[(null)], scriptAuthService[(null)], groupsLoaded[0],groups[{
}]]
2015-09-11 14:52:38.839 MetaTax[60801:9521265] dictionaryFromObject created dictionary {
    active = 0;
    authDomain = "<null>";
    clazz = FFUser;
    email = "charles@metakite.com";
    firstName = "<null>";
    guid = "<null>";
    lastName = "<null>";
    scriptAuthService = "<null>";
    userName = test;
} from object FFUser[ guid[(null)] active[0], userName[test],firstName[(null)],lastName[(null)],email[charles@metakite.com], authDomain[(null)], scriptAuthService[(null)], groupsLoaded[0],groups[{
}]]
2015-09-11 14:52:38.839 MetaTax[60801:9521265] invokeHttpMethod: Will send HTTP POST to url: https://metakite.fatfractal.com/metakite/ff/register in thread <NSThread: 0x78894440>{number = 1, name = main}
2015-09-11 14:52:38.861 MetaTax[60801:9521265] invokeHttpMethod:

HTTP request body (pretty-print):

{
  "clazz" : "FFUser",
  "lastName" : null,
  "guid" : null,
  "firstName" : null,
  "password" : "thePassword",
  "active" : false,
  "authDomain" : "LOCAL",
  "userName" : "test",
  "email" : "charles@metakite.com",
  "scriptAuthService" : null
}

2015-09-11 14:52:38.864 MetaTax[60801:9521265] Started (from main thread <NSThread: 0x78894440>{number = 1, name = main}) NSURLConnection for POST to https://metakite.fatfractal.com/metakite/ff/register
2015-09-11 14:52:38.996 MetaTax[60801:9521265] canAuthenticateAgainstProtectionSpace <NSURLProtectionSpace: 0x78b39ce0>: Host:metakite.fatfractal.com, Server:https, Auth-Scheme:NSURLAuthenticationMethodServerTrust, Realm:(null), Port:443, Proxy:NO, Proxy-Type:(null) called
2015-09-11 14:52:39.128 MetaTax[60801:9521265] FFHttpDelegate calling onComplete for POST to https://metakite.fatfractal.com/metakite/ff/register from main thread <NSThread: 0x78894440>{number = 1, name = main}
13
NoServer Questions and Answers / Re: NoServer install not responding
« Last post by metakite on September 11, 2015, 02:39:26 PM »
This appears to be fixed. (Resolved over Twitter.) Thanks for the help.
14
NoServer Questions and Answers / NoServer install not responding
« Last post by metakite on September 11, 2015, 01:51:36 PM »
I'm trying to spin up a new app using the NoServer product and I migrated my app from SandBox to my Bronze account. I received an email saying that the migration was complete, but now nothing works.

When I log into the console, the app's logs are empty. When I open the data browser, I'm immediately greeted with the error "Error retrieving app metadata (error code 0)". When I try to login to the data browser using my console credentials, I get the error "Error logging in: You may not directly login as the system user". When I go to http://metakite.fatfractal.com/metatax, I'm presented with a blank page.

Any idea what's wrong?

Additional information:
subdomain: metakite
app: metatax

Thanks for your help.
15
NoServer Questions and Answers / Re: When are websockets going to be added?
« Last post by gkc on July 21, 2015, 02:13:20 AM »
Update: We're in alpha testing now - please contact us if you would like to participate.
16
NoServer Questions and Answers / Re: Facebook Login with Fatfractal
« Last post by dave on March 25, 2015, 01:08:47 PM »
You are very welcome :)
17
Ahh, cheers, thanks for letting me know. I too were initially suspicious of the creation of the FFGeoLocation, though it was returning the correct objects.
18
NoServer Questions and Answers / Re: Unity with FatFractal
« Last post by Vaan on March 24, 2015, 09:10:21 PM »
I use it, when I can get the time. I'm more of a tourist atm, though I have previous experience OpenGL and D3D from a few years ago.
19
NoServer Questions and Answers / Re: Facebook Login with Fatfractal
« Last post by manjonn on March 20, 2015, 03:30:20 PM »
Thank you!!
20
NoServer Questions and Answers / Re: Facebook Login with Fatfractal
« Last post by dave on March 20, 2015, 02:00:57 PM »
If you get the access token yourself, login is then very simple. I don't know what platform you're targeting, but in iOS you would do this:

Code: [Select]
FatFractal *ff;
NSString *accessToken;
// ...
[ff setToken:accessToken forScriptAuthService:FF_SCRIPT_AUTH_SERVICE_FACEBOOK];
[ff loginWithScriptAuthService:FF_SCRIPT_AUTH_SERVICE_FACEBOOK];

Dave
Pages: 1 [2] 3 4 ... 10
Copyright © FatFractal customer forums