Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Would like the option to set EU datacenter baseURI during client configuration. #72

Closed
themistoklik opened this issue Sep 3, 2019 · 1 comment

Comments

@themistoklik
Copy link

Following docs while setting up a basic connection to client like so

return UrbanAirshipClient.newBuilder()
                .setKey(airshipProperties.key)
                .setSecret(airshipProperties.secret)
                .build()

Kept getting 401s. My mobile app developer colleagues were facing the same issue and got an email from support urging them (in the SDK) to set datacenter to EU programmatically. The client was invoking the US datacenter and our data was in EU, resulting in said errors. I thought I had to replicate the proposed solution in my server application. I can overwrite the client and use

.setClient(..)

but this is a little bit cryptic. I'd expect setting the correct baseUri to be exposed as configuration in the AsyncRequestClient or the docs referring to the client ovewrite specifically.

@themistoklik themistoklik changed the title Would like the option to set EU datacenter base URI during client configuration. Would like the option to set EU datacenter baseURI during client configuration. Sep 3, 2019
@krubasaur
Copy link
Contributor

Hi there! Thanks for bringing this to our attention. We're looking into this and will post updates here as we have them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants