-
Notifications
You must be signed in to change notification settings - Fork 7
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
Looking for Tivos #46
Comments
Thanks for the bug report. I've been trying to replicate this by trying different Java security settings and user/administrative privileges on my Mac, but I can't seem to do so. My guess is that somehow, your system is configured to prevent Java from accessing a network socket in multicast mode (hence the permission denied error when it tries to write to that socket). My testing has been on a Macbook with 10.11.1 and Oracle Java 1.8.0_66; I've tried both standard and administrative user accounts, and set my Java security settings to High and Very High, but Archivo can still find my TiVo correctly. It may be worth playing around with some of those settings yourself to see if they make a difference. Firewall settings may be something else to try. I'll keeping looking into this, but for the moment, I'm not sure what the issue is. |
Hi, I thought it was a strange error. BTW I work for IBM on WebSphere so I'll see what other Mac apps use multicast mode and see if any correlation. On Sun, Dec 6, 2015 at 2:04 PM, Todd Kulesza notifications@github.com
|
Thanks Alex! I'm wondering if the Plex server, or something else listening on the mDNS port, might be the issue. Archivo uses the SO_REUSEPORT socket option to allow other processes to share the mDNS socket, but if another process opens that socket (before Archivo) without that option, then Archivo won't be able to access it. You can test this hypothesis by shutting down anything listening on UDP port 5353 (except for Apple's mDNSResponder service, that one definitely plays nice with Archivo) and then starting Archivo again. |
I have a similar issue on a Mac with latest OS and Java 11:23:31.567 [pool-2-thread-1] INFO n.s.archivo.net.TivoSearchTask - Starting search for TiVo devices... |
@aspexil-alex and @stevehoek : Can either of you let me know if Archivo 1.0.1 is still failing to find your TiVos? You can find the latest release at http://straylightlabs.net/archivo/#download. Thanks! |
I have 2 Mac's and 1 Windows machine here. Here is the log from the Windows machine. It looks to be getting hung up 23:24:09.186 [JavaFX Application Thread] INFO at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) On Tue, Apr 12, 2016 at 11:01 PM, Todd Kulesza notifications@github.com
|
Here is the log from one of the Macs 23:29:13.072 [JavaFX Application Thread] INFO n.s.archivo.model.UserPrefs
On Tue, Apr 12, 2016 at 11:29 PM, Steve Hoek steve.hoek@gmail.com wrote:
|
I'm away on business but will try this weekend. From my mobile Nexus 6
|
Thanks @stevehoek! That's odd that 1.0 worked but 1.0.1 doesn't; nothing changed in the networking code between the releases, so in your case, this issue might indicate a multicast problem on your local network. That fact that this happens intermittently from three different machines also suggests a network issue. Can you describe how your computers and your TiVos are networked together? The log file exceptions about your optical drives are normal if the drive is empty; I should squash those to keep them out of the logs, but they don't indicate that anything's wrong. |
Network here is pretty standard (PC's and TiVo's connected to the same On Thu, Apr 14, 2016 at 3:31 PM, Todd Kulesza notifications@github.com
|
Alright, thanks for the update! I'll keep looking into what might be causing this... you're not alone, but I haven't been able to reproduce this problem on my own network (yet). |
I think I finally have a fix for this. Could you try downloading the attached hola-0.1.3.jar.zip file, unzip it, and replace the hola-0.1.3.jar file in C:\Program Files (x86)\Archivo with it? On a Mac, you'll need to right-click /Applications/Archivo, select "Show Package Contents", and navigate to Contents->Java to find the place to paste this file. Let me know if it helps. |
Thanks Todd. On Thu, Apr 21, 2016 at 1:09 AM, Todd Kulesza notifications@github.com
|
Thanks Steve, I found a problem with my Mac detecting TiVos this past weekend and fixed it, hopefully it's the same issue you're seeing. I should have some time to roll a new Archivo release this weekend to improve the reliability of TiVo discovery. |
... and the new release is available at https://github.com/fflewddur/archivo/releases/tag/v1.0.2. Can you let me know if this resolves the problem? |
Hi, I tried 1.0.3 on my Mac and it could not find any TiVo's and had this error 17:20:51.673 [pool-2-thread-1] ERROR net.straylightlabs.hola.sd.Query - On Sun, May 1, 2016 at 5:18 PM, Todd Kulesza notifications@github.com
|
Jut a quick note.. 1.0.3 DOES work on my Windows PC again. Thx! On Wed, May 4, 2016 at 5:23 PM, Steve Hoek steve.hoek@gmail.com wrote:
|
@stevehoek I just released 1.0.4, which should find TiVos reliably on Mac OS X. The one exception I've noticed is that if VMware is running, it won't work; this appears to be an issue with Java itself, which tries to use the VMware network interface instead of the Mac's. |
Sorry I've been busy on business travel. I'll try this out later this week On Sun, May 15, 2016 at 10:13 PM, Todd Kulesza notifications@github.com
|
@aspexil-alex and @stevehoek : I just released Archivo 1.1, which allows you to specify the network Archivo to use when searching for TiVos, or manually specify the IP address of your TiVo. Does this this resolve the problem for you? The new version is available at https://straylightlabs.net/archivo/#download. |
I'm travelling on business but will give this a shot later. Thanks, -Alex On Wed, Jul 13, 2016 at 11:35 PM, Todd Kulesza notifications@github.com
|
This latest version solved all the problems for me on both Windows and Mac. I like the new preference for network specification... I have 2 other On Thu, Jul 14, 2016 at 8:07 AM, Alexandre Polozoff <
|
So I'm just catching up here now. Archivo 1.1.0 does not start for me on my ~ $ java -version java version "1.8.0_71" Java(TM) SE Runtime Environment (build 1.8.0_71-b15) Java HotSpot(TM) 64-Bit Server VM (build 25.71-b15, mixed mode) [alexandrepolozoff@Alexandres-MacBook-Air ~] 2016-08-25 12:43:38 On Mon, Jul 25, 2016 at 3:01 PM, stevehoek notifications@github.com wrote:
|
Mac OS X 10.10.5
Put my MAK # in and the spinner stays on Looking for Tivos... I have Tivo Bolt
Any thoughts what I should try next?
Ah from the log
12:34:38.014 [pool-2-thread-1] ERROR n.s.archivo.net.TivoSearchTask - Error searching for TiVo devices:
java.io.IOException: Permission denied
at java.net.PlainDatagramSocketImpl.send(Native Method) ~[na:1.8.0_66]
at java.net.DatagramSocket.send(DatagramSocket.java:693) ~[na:1.8.0_66]
at net.straylightlabs.hola.dns.Question.askWithGroup(Question.java:114) ~[hola-0.1.2.jar:na]
at net.straylightlabs.hola.dns.Question.askOn(Question.java:105) ~[hola-0.1.2.jar:na]
at net.straylightlabs.hola.sd.Query.runOnce(Query.java:84) ~[hola-0.1.2.jar:na]
at net.straylightlabs.archivo.net.TivoSearchTask.startSearch(TivoSearchTask.java:68) [Archivo.jar:na]
at net.straylightlabs.archivo.net.TivoSearchTask.call(TivoSearchTask.java:59) [Archivo.jar:na]
at net.straylightlabs.archivo.net.TivoSearchTask.call(TivoSearchTask.java:41) [Archivo.jar:na]
at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) [jfxrt.jar:na]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_66]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_66]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_66]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_66]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_66]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_66]
The text was updated successfully, but these errors were encountered: