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

Estimote dont connect to cloud service #23

Closed
Alexdelgadodiaz opened this issue Aug 1, 2018 · 8 comments
Closed

Estimote dont connect to cloud service #23

Alexdelgadodiaz opened this issue Aug 1, 2018 · 8 comments
Assignees
Labels

Comments

@Alexdelgadodiaz
Copy link

Alexdelgadodiaz commented Aug 1, 2018

I have my iBeacon set and I get this error. I am using cocoapods pod 'EstimoteProximitySDK', '~> 1.0' and my beacons have tags, what am I doing wrong?

Ooops! Error Domain=EPXProximityObserverErrorDomain Code=1 "Fetching tags from Cloud failed." UserInfo={NSUnderlyingError=0x1c00a83a0 {Error Domain=EstimoteProximitySDK.PersistentTagsRepository.Error Code=2 "When running offline, internet connection is required when starting the observer for the first time."}, NSLocalizedDescription=Fetching tags from Cloud failed., NSLocalizedRecoverySuggestion=Make sure your cloud credentials are correct and you have a valid internet connection. See CloudCredentials for more.}

@karthironald
Copy link

Did you check internet connection at when you add listener? Because I hope adding listener using tags needs internet connection to get beacons details from estimote cloud.

@Alexdelgadodiaz
Copy link
Author

Yep, my phone is connected to internet at all times... I tried with 4G and wifi connection. The rest of the app connects correctly to services but this one says that there is no internet connection, it´s weird and this is the reason I am asking here :D

@chwastek chwastek added the bug label Aug 13, 2018
@chwastek
Copy link
Contributor

My first guess is that it is mishandling of error and probably no devices are assigned to provided tags. Basically this case could happen when downloading tags from Cloud fails (no devices assigned, requests not coming through) and you have no cached info so far.

  1. Are you sure you assigned tags (that you wrapped within EPXProximityZones and added to EPXProximityObserver!) to devices?
  2. Are you sure your requests are coming back with 200?
  3. Can you check up what is exactly under NSUnderlyingErrorKey of returned error from EPXProximityObserver?

@chwastek chwastek self-assigned this Aug 13, 2018
@chwastek
Copy link
Contributor

how's it going @Alexdelgadodiaz ? ;)

@chwastek
Copy link
Contributor

Hey @Alexdelgadodiaz
can you confirm if everything is ok?

@chwastek
Copy link
Contributor

Closing for long inactivity

@huynhpeter
Copy link

I have the same error. I'm running the @estimote/react-native-proximity. Then I built the iOS example app and am running it in dev mode on my iphone. I'm seeing the exact error that's described in this ticket. Where do i go to assign the tags? My requests seem to be coming back with status code 200 from what the terminal in VSCode is saying.

I'm pretty new to react native and beacon tech. Any help would be great! Thanks!

@chwastek
Copy link
Contributor

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

No branches or pull requests

4 participants