Estimote / iOS-Proximity-SDK

Estimote Proximity SDK for iOS
https://developer.estimote.com
Apache License 2.0
61 stars 26 forks source link

Fetching devices attached to provided tags failed! #36

Closed nanli closed 5 years ago

nanli commented 5 years ago

I just started using the SDK, I am using the latest version (1.12.0) and I always have this problem when starting the App. By the way, I connect my iPhone to my Mac with cable and load the App from Xcode directly (I have no paid Apple development account, so I am using it on my own phone only).

Fetching devices attached to provided tags failed! When running offline, internet connection is required when starting the observer for the first time. proximity observer error: Error Domain=EPXProximityObserverErrorDomain Code=1 "Fetching tags from Cloud failed." UserInfo={NSUnderlyingError=0x2822f8120 {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.}

This looks like that it is reporting no internet connection. But I have internet connection, I am browsing the web at the same time. and there is nothing blocking the internet. I also have set up tag names, and the tag names have more than 4 characters. If you need my AppID to check what is going on. Here it is : dashboard-3y1

Please let me know what the problem might be.

nanli commented 5 years ago

Tried for some hours, and it suddenly worked ..... I don't even know the reason... This issue can be closed.

jordansnyder commented 5 years ago

I noticed that this happened when I tried to set up a zone for a tag that didn't exist. I fixed the tag in the web dashboard and instantly stopped getting this error. I think the real problem is the generic error message and IMO this should be re-opened to fix that.

huynhpeter commented 5 years ago

This is also happening to me and I'm not sure why. Where do you go to set the tags? I'm new to beacon technology, so any advice would help. Thanks!

chwastek commented 5 years ago

@jordansnyder noted and added to the backlog! @huynhpeter https://github.com/Estimote/iOS-Proximity-SDK#setting-up-tags

thewizster commented 5 years ago

Receiving same error. I found that the tags are case sensitive. Made sure case matched and error is gone.