I have installed the new Prey version (this is posted in the right place, right?) on my 13-inch, Mid 2009 MacBook Pro running OS X Lion 10.7.5. I have tested it by marking it as missing on the Control Panel and verifying that reports work (with photos enabled and showing in the reports). The iSight camera lights turns on when taking the photo, as I expect.
But after I have unmarked my computer as missing, the green iSight light still comes on at regular intervals. I have not timed it, but it is probably the 5 minute interval that I set reports to be sent at. I see no reason why this should be happening, and this was not occurring before I installed the new Prey client on this computer. I suspect that this is a bug.
By googling I have found references to this issue in other places. From what I understand from the threads, Prey initially receives a 404 error but by the time it sends the report (after taking a photo) it has received a 200 error.
Look here (they are all at least a year old and on Macs):
I haven't rebooted this computer yet since installing, but this shouldn't be happening anyway (right?). I will update this after I reboot it.
This is also my first post on Github! I have no idea if I have done this the proper way, but I hope I have.
Hi @TheAwer and thanks for the bug report!
Can you send over the output of your Prey log file? You can get it by opening a terminal and running:
$ cat /var/log/prey.log
Here's the log, @tomas. It's extremely long, and I have no idea how to put it in a quote, code box, or something else to shorten it. If someone will tell me, I will gladly edit it to shorten the page.
It was actually so long that i exceeded the 65535 character limit and I had to put it on Pastebin (edit: I moved it to Gist)
I also have a couple (unrelated) recommendations for the iOS version and the Control Panel. What should I do with those?
Oh my, this looks like the report is not getting canceled when it should! Will take a look at it ASAP.
Thanks again for reporting!
As for the recommendations, please send them over!
@TheAwer Would you mind running a single command on the terminal and sharing the output? It'd really help to find out the cause of the problem.
$ ps aux | grep prey
It's just to verify that only a single instance of the process is running.
After diving deep into the matrix, I think I know what may have happened. Did you by any chance flag your device missing twice? (One requesting reports every 2 minutes and another requesting reports every 5 minutes)?
Here's the Gist for the command.
And the short answer to your question is not to requesting reports 2 and 5 minutes. I don't have a Pro account, so I can't request reports every 2 minutes. I'll expand on what I did later.
@tomas after installing the current old version (from the download on the website), and signing into the Control Panel, I received the notification about the new Prey version. I immediately downloaded and installed the new version (this one). Then I went to the Control Panel and marked my computer as missing to test prey, with reports coming every 5 minutes.
I confirmed that it was working, including taking pictures. Then I unmarked it as missing.
After that, I noticed that the camera light was turning on for about one second every few minutes (probably 5 minutes, but I didn't time it).
I went to the Control Panel, and verified that it was not marked as missing and that no reports were coming in. I also turned off the webcam module.
I saw that the light was continuing to turn on. I went to the Control Panel and set it to missing, changed the interval to 50 minutes, and saved. I then immediately set it to not missing. I did this to try to reduce how often the light flashes.
But right after that I changed my mind and decided to set it back to 5 minutes so I could keep track of this issue and try to resolve it. This was accomplished by marking it as missing, setting the interval back to 5 minutes, saving, and then turning it back to not missing.
I have no idea if those two things I tried worked, because they were marked as missing for such a short time.
So that's the story of what I've done recently. There was also an old (0.3.something I think) version on the computer that I uninstalled before I installed the new version. I did the check mode and it said that Prey was not working.
Does that help? This is what happened to the best of my memory, and I only did this two days ago.
@KAIECHI, what the heck? This computer is not stolen. And if I did indeed steal it (which I didn't), I would have uninstalled Prey and not mentioned anything about it. There is no reason a thief would leave Prey on the computer if the thief knew how to uninstall it, or even mention that to anybody. Use your head!
@KAIECHI I bought it a few days ago in the black market beneath the FBI building in Antarctica. I had to wear a black trenchcoat and mask, and I passed the money to the Barack Obama beneath the table. I returned to my home on Mars through a teleportation device. When I found that the tracking software that was installed was failing to help the original owner track me, I headed right over to Github via my faster-than-light internet and started trying to resolve this issue so that original owner can find me and get me arrested.
I will be glad to give your computer back, just head on over to the tuesunidiota crater here on Mars and I will personally hand it over to you. I will also give you a account to Rosetta Stone because it seems that you need it to learn English.
In case you cannot come visit me on Mars to get the Rosetta Stone account, this website will be useful for you. www.duolingo.com It will help you learn proper English that others will be able to understand.
@KAIECHI can you please stop spamming this now?
And it's annoying when there's a bunch of extra stuff in your comment.
Yes @KAIECHI you're not really helping out.
@TheAwer I think the issue is now solved -- we'll be pushing an update tomorrow morning (PST) so this behaviour should no longer happen.
Ok @KAIECHI I will remove any further non constructive comments.
@tomas is 1.0.7 the new version? My Mac is still on that version according to the old Control Panel, even though I've set updating to on under configuration (I don't have a Pro account, but that should still work, right?).
And it's still blinking.
Hi @TheAwer, sorry for not getting back to you. 1.0.8 is the latest version (pushed two days ago), but you need to restart your laptop for the client to get updated. Please let me know if that fixes the problem or not.
@tomas, I have restarted my computer twice, and the Control Panel still says it is on 1.0.7. However, the green light has stopped turning on.
Glad to know the green light stopped flashing, but the client should have updated to 1.0.8. I'll contact you directly during the week in order to take a deeper look into this and get it fixed.
I'm closing this issue since this bug has long been closed. Feel free to reopen any issues if you encounter any other problems. Thanks again!