Announcement

Collapse
No announcement yet.

Plugin seeing multiple IP's for same Kodi server

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Plugin seeing multiple IP's for same Kodi server

    I can't connect to Kodi via the plugin. For some reason it wants to connect to 10.32.27.240 which is an IP my second LAN card is connected to (IP TV). It should only try to connect to 192.168.1.40.

    For info: Firewall etc is open. I get the Kodi web interface if I go to 192.168.1.40:83 so that is all working nicely.

    See LOG snippet below.

    jun-10 20:59:07 XBMC INFO Lost Service: Kodi (goswijnmce) - _xbmc-jsonrpc-h._tcp.
    jun-10 20:59:07 XBMC INFO Lost Service: Kodi (goswijnmce) - _xbmc-jsonrpc-h._tcp.
    jun-10 20:57:22 XBMC INFO Resolved Service: Kodi (goswijnmce) - _xbmc-jsonrpc-h._tcp. - 192.168.1.40 - 83
    jun-10 20:57:22 XBMC INFO Found Service: Kodi (goswijnmce)
    jun-10 20:57:22 XBMC INFO Resolved Service: Kodi (goswijnmce) - _xbmc-jsonrpc-h._tcp. - 10.32.27.240 - 83
    jun-10 20:57:22 XBMC INFO Found Service: Kodi (goswijnmce)

    Config file:

    [PLAYERS]
    1###name=Kodi (goswijnmce)
    1###ipaddress=192.168.1.40
    1###username=kodi

  • #2
    the kodi plug-in needs to discover 2 different services to be able to connect to your Kodi instance

    _xbmc-jsonrpc-h._tcp
    _xbmc-jsonrpc._tcp

    from your logs it seems that the plug-in only see the _xbmc-jsonrpc-h._tcp service, and it see it twices with different ips

    do you see it actually trying to connect, and do you see an error in the logs. If you set the log level to debug you should see messages like these:
    Code:
    Mar-16 08:07:22	 	XBMC	DEBUG Pinging on http port 83
    Mar-16 08:07:22	 	XBMC	DEBUG Connecting on tcp port 9090
    if you don't see the plug-in discovering any _xbmc-jsonrpc._tcp service, please make sure your Kodi settings are set as in the user guide, especially the "Remote control" ones

    Comment


    • #3
      Ok, after restarting all it now seems to be connecting. Below detailed info from debug log.

      Funny enough still wanting to connect to 10.32.27.240. In the device interface it also says "Connected to 10.32.27.240:83" while in the plugin settings there is only one client with the correct (192.168.1.40) IP




      jun-11 8:03:39 XBMC INFO Resolved Service: Kodi (goswijnmce) - _xbmc-jsonrpc._tcp. - 192.168.1.40 - 9090
      jun-11 8:03:39 XBMC INFO Resolved Service: Kodi (goswijnmce) - _xbmc-jsonrpc-h._tcp. - 192.168.1.40 - 83
      jun-11 8:03:39 XBMC DEBUG Pinging on http port 83
      jun-11 8:03:39 XBMC INFO Found Service: Kodi (goswijnmce)
      jun-11 8:03:39 XBMC INFO Found Service: Kodi (goswijnmce)
      jun-11 8:03:39 XBMC DEBUG Connecting on tcp port 9090
      jun-11 8:03:39 Restart Checking for devices owned by Restart
      jun-11 8:03:39 XBMC INFO Resolved Service: Kodi (goswijnmce) - _xbmc-jsonrpc._tcp. - 10.32.27.240 - 9090
      jun-11 8:03:39 XBMC INFO Resolved Service: Kodi (goswijnmce) - _xbmc-jsonrpc-h._tcp. - 10.32.27.240 - 83

      Comment

      Working...
      X