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

Can not upload data from mainland, China #257

Closed
zyphs21 opened this issue Jul 23, 2020 · 4 comments
Closed

Can not upload data from mainland, China #257

zyphs21 opened this issue Jul 23, 2020 · 4 comments

Comments

@zyphs21
Copy link

zyphs21 commented Jul 23, 2020

Hello, We found that we can't upload data to Amplitude from mainland, China. Are there any solutions?

@haoliu-amp
Copy link
Contributor

haoliu-amp commented Jul 23, 2020

Please direct all the traffic to api2.amplitude.com by calling setServerUrl. If you wanna know more details about this issue, please create a ticket in our help center. https://help.amplitude.com/hc/en-us/requests/new

@grzegorzkrukowski
Copy link

grzegorzkrukowski commented Jul 24, 2020

In case anyone else will struggle with this, here is full working code:
[[Amplitude instance] setServerUrl:@"https://api2.amplitude.com/"];

Passing just api2.amplitude.com to setServerUrl is not working.

@Asupercat
Copy link

Asupercat commented Apr 25, 2021

It’s not working

@haoliu-amp
Copy link
Contributor

haoliu-amp commented Apr 26, 2021

@Asupercat May I know how do you set it up? I don't think api2 endpoint is blocked at this moment.

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

4 participants