-
Notifications
You must be signed in to change notification settings - Fork 25
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
trouble setting up photon - app fails/crashes on submitting WiFi credentials #48
Comments
has anyone had a chance to look at this? We have multiple users that can't get their devices online. |
I would be happy to provide more information about the users that encounter this error. More and more people are encountering this situation. Users seem to repeatedly get the following error from the SDK: SparkSetupMainControllerResultFailureConfigure For example, some users have more than 10 errors, with the same result each time. We have at least 4 users that never got online, and that we can provide concrete times on when they attempted and failed. We do know the particle ID for these users. Even though the photon stays in listening mode, and returns an error, we do get the particle ID back. Would this information help you trouble shoot what the problem is? If we get into specific customer emails or particle IDs, should we switch to a more private channel? |
For example, here is one customer that continues to have the Configuration failure during setup. (in our org, their photon id starts with: 3400200009473434) On the dashboard the photon shows as "never connected." Initially we thought this might be a phone-hardware specific error. Given the increased occurrence of these errors across many phones, we don't think thats as likely any more. |
😞 -- this is rough. I've definitely seen failures like this in the field, but nothing that caused an iOS crash or immediate error exits. One of the more common failures I've seen is the app spinning forever, trying to connect the device online. For that, we have customers power cycle our devices (which I'm sure you have tried). Have you tried typing the SSID in manually (even though it shows up in the list)? I've used that trick to fix a few issues before. I'm curious, are you using enterprise accounts? |
I don't think it has something to do with enterprise account or with manual SSID entry.. I'd love to get a better understand / conditions on how to recreate this scenario so we can debug it better - this will probably involve a firmware AND mobile app/SDK update that we plan to roll out after we improve on setup reliability - but this is tricky to recreate and debug. |
Hey @crenwick Thanks for the tips -- we'll keep them in mind -- and for the commiseration :) To be honest, we've had hundreds of setups that go smoothly, these edge cases are bound to happen - the key for us is responding quickly and getting the customers online as quickly as we can. @idokleinman thanks for checking this issue out. As @philipmeier mentioned above, we've got a bunch more data we've been collecting from users about who/when/how often; much of it based around the error codes you added to the SDK as of 0.5.0, hopefully sharing some of this data will help us figure out what's going on. I'll reiterate that we've seen similar behavior happen with the Particle app for some of these users - it crashes on attempting to provide credentials at the same point that our app does. We agree that it's tricky to recreate and debug, our ability to do this might benefit from some tips from you guys on which variables are likely to matter, and which do not. For example, should we be focusing on the app, the phone device, the firmware, the router, or even possibly the particle device hardware itself? We've tried each of these in most cases (well, we have not yet swapped out their particle devices in most cases - that's quite expensive for us, though an option if it's indicated. The couple of times we tried that for some different symptoms, it turned out to be their router after all...). Based on your comments, it seems like What information do you think would help most? We will provide it if we have it, and try to collect it if we don't already. |
Hi guys, many thanks for your patience on this matter. A quick update: @m-mcgowan & myself will try to make an effort to find the root cause of these issues this sprint. As a general idea our effort will include creating a verbose debug logging version of the 0.4.9 firmware as well as the iOS app (with verbose logging of the Soft AP process) and try to recreate the issues in the SF office and at Mat's place (he's in Europe) and analyze the data we get from the debug info. We might also try to run photons with 0.5.0+ firmware to see if there's an improvement in reliability once we can dependably reproduce the original issues. Let us know if by now you have collected additional information that might help the investigation. |
We have multiple (3, currently) customers who are unable to give WiFi credentials to their photon using our app (CleverPet - using the spark-setup-ios v 0.5.0), and all are failing in a very similar way. Digging in, we found that all of them were on iOS 9.3.2 on an iPhone 6S+ One very helpful customer downloaded the latest Particle app and experienced similar behavior attempting to set up.
Here's the behavior:
Things tried:
Things not tried:
Additional information:
We have many (hundreds) of users who are able to set up just fine with the same firmware running on the photon and the same app. I do not know the numbers, but assume some of them might be using iPhone 6S+ on 9.3.2
The things ctmorrison describes in this post have some similarities to our situation.
I'm not sure if this is the right place to post this sort of troubleshooting - in the spark-setup-ios issues list, so please let me know if it belongs elsewhere.
The text was updated successfully, but these errors were encountered: