• Join - It's Free

Data for testing

Started by Private User on Tuesday, August 15, 2017
Problem with this page?

Participants:

Related Projects:

Showing all 10 posts

Is there any testing platform or any data avaialble for performing testing tasks or shall live data be used for that purpose?

I think https://sandbox.geni.com/ still is available

Sorry for not testing before.
So I am trying to access using a token. When trying to use access a single profile (the code works wiht production) I am getting the following error message:

Max retries exceeded with url: /api/profile-gxxxxxx?access_token=mytoken (Caused by SSLError(CertificateError("hostname 'www.sandbox.geni.com' doesn't match either of '*.geni.com', 'geni.com')

So... I tried to make the connection without verifying the certificate and works, so sandbox is operational (great!), but I am not comfortable with this.

Is there any path to a certification file? How any of you fixed this issue?

I think access key have to come from the sandbox as well https://sandbox.geni.com/platform/developer/apps

Personally I prefer using Authorization in the request header:
https://github.com/bpbrox/GeniApiSample/blob/master/GeniApiSample/J...

Um... which authorization method are you using?

https://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-21

I prefer this method because it let me add Authorization in the base code independent of URL arguments, and of course hide the accesscode.

Um... that's the protocol behind, not the the method (flow actually in geni naming, I might have introduced some confusion here with my wrong question: https://www.geni.com/platform/developer/help/oauth_intro?version=1)

Essentially all methods require accessing to an oauth webpage where you authorize the third party application to proceed with a given token.

Ideally I would prefer to load in my desktop app a webpage...

Anyhow, I am one step further... I already have a token for the sandbox (or geni itself), the problem that appears happening here is that the api available in the sandbox is missing the proper certificate so that only unsecure connection can be created.

So, the problem is not getting and oauth token, the problem is the certificate of the api. Likely you should have the same problem wiht your code if using sandbox.

I see that within GENI, we have the ability to execute translation. Does that include GEEK ????

Rick Simon: GEEK is definitely not included in the suite of translated languages. <smile>

Thanks for the quick response <smile>

Showing all 10 posts

Create a free account or login to participate in this discussion