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

No Device found after some updates #2

Open
rhaamo opened this issue Jan 15, 2018 · 9 comments
Open

No Device found after some updates #2

rhaamo opened this issue Jan 15, 2018 · 9 comments

Comments

@rhaamo
Copy link

rhaamo commented Jan 15, 2018

nOnkyo GUI was working perfectly, didn't used for a few time then upgraded windows 10 (1709) and now my AV isn't detected anymore (TX-NR609).

I tryied to add to NOnkyoWpfGui.exe.config the following without success:

      <setting name="DevicePort" serializeAs="String">
        <value>60128</value>
      </setting>
      <setting name="DeviceIP" serializeAs="String">
        <value>192.168.10.25</value>
      </setting>
      <setting name="UsedFixedIP" serializeAs="String">
        <value>True</value>
      </setting>

The AV web-ui is accessible, and I can use ISCP from another host without issues. (I don't have another ISCP tool on the windows box)

Is there a log somewhere with more informations ?

@PinBack23
Copy link
Owner

The AV receiver allows only one connection via the ISCP protocol.
Try turning off all other transmitters and restarting the receiver.

I also installed the latest version of Windows 10. I think that shouldn't be the reason for your issue.
I hope this helps to solve the problem.

@syserr0r
Copy link

syserr0r commented Feb 21, 2018

I'm was having the same problem, also on Windows 10, while my wife's PC did not (both PCs running version 1709 build 16299.125).

After disabling the vEthernet (Default Switch) network adaptor on my PC the problem was resolved (a more permenant fix is to remove 'Hyper-V' from Control Panel > Programs and Features > Turn Windows Features on or off) nOnkyo started working again. My wife's PC did not have this network adaptor (nor the Hyper-V feature enabled).

I'm not entirely sure why my PC had Hyper-V added to it when my wife's did not 😕

It would appear nOnkyo possibly does not use the correct network when more than one is available?

@rhaamo
Copy link
Author

rhaamo commented Feb 22, 2018

@syserr0r I haven't think about that...
I just disabled "VirtualBox Host-Only Network" and nOnkyo works perfectly fine.

The protocol does support multiple client without issues, I think nOnkyo is picking the "first" network adapter it found and it isn't the right one :(

@syserr0r
Copy link

syserr0r commented Feb 22, 2018

The following SO post may be relevant: https://stackoverflow.com/questions/19623804/udp-networking-with-multiple-network

I'll attempt to make a patch if I get time

syserr0r added a commit to syserr0r/nonkyo that referenced this issue Feb 22, 2018
@PinBack23
Copy link
Owner

@syserr0r I cannot test your changes at the moment because my onkyo receiver is not connected. If that solves your problem, I'll take over the code.

@syserr0r
Copy link

I'll test tonight as I don't have a compiler to hand and I'm not at home with my receiver

@syserr0r
Copy link

syserr0r commented Feb 22, 2018

I set-up a VPN to home to test, it turns out all that is needed to make it connect was either increasing the 1000ms sleep to 3000ms or moving it into the for loop (increasing the delay for each network that is attempted; setting the sleep to 2000ms was not enough [this machine has 4 BroadcastAddresses as well as localhost])

It might be worth adding something like this to the Where() in AllBroadcastAddresses to exclude the IPv4 loopback interface:
&& !uaddress.Address.Address.ToString().StartsWith("127.")))

@PinBack23
Copy link
Owner

Sorry for the delay
I also installed Hyper V and now I additionally installed Virtual Box.
Now I have 6 network adapter but I still can't reproduce the error.

Nevertheless, I have now added a timeout for the device search.
Download: https://github.com/PinBack23/nonkyo/releases/tag/0.15
TimeoutDeviceSearch (Waiting for the reply in ms)

      <setting name="TimeoutDeviceSearch" serializeAs="String">
        <value>1000</value>
      </setting>

Could you give it a try? Increase the timeout and check again.

@syserr0r
Copy link

My receiver has died so I'm unable to preform any more testing for the moment.

I'll get back to you as soon as I can.

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

No branches or pull requests

3 participants