Jump to content

Bypass MediaBrowser Connect Completely?


Koleckai Silvestri
Go to solution Solved by Luke,

Recommended Posts

Koleckai Silvestri

How can I bypass the Connect portion completely? Every time the Roku App is launched, it asks me to enter in a Pin Number at the connect site and refuses to connect to the previously established server. The only way to connect is to enter in the server's IP address every time. It is creating a lot of grief in the family.

 

I do not want to connect my collection to a site outside my network.

Link to comment
Share on other sites

Make sure the server is running and is discoverable on the network.  Then it should find it automatically. 

Link to comment
Share on other sites

Koleckai Silvestri

It is running and discoverable on the network. The Roku does not find it automatically. In fact, if you choose the server off the list of known servers, it says "Cannot Connect". The only way to connect is by entering in the IP Addresses every time you run the app. The server is used on 15 other devices (laptops, tablets, phones, Xbox One, etc...) on the network using the Web Client without problem. It is only the two Rokus that have this problem. Both are connected via Gigabit Ethernet and on the same subnet. The media browser server has a static IP address of 10.0.0.5. Gateway is 10.0.0.1. Router #1 is 10.0.0.2. Router #2 is 10.0.0.3. The Rokus have dynamic IP addresses of 10.0.0.146 and 10.0.0.199. Of course those can change as devices renew leases and power up and off.

 

Server Version is 3.0.5482.0. Though it happened in the previous version as well. Reinstalled the server completely right before Christmas. New Storage System, New OS, Same CPU and MAC ID. No data was maintained from the previous installation. IP Address of the server is the same as it was before the reinstall though. No other Roku channels/apps have problems.

Edited by Koleckai Silvestri
Link to comment
Share on other sites

Koleckai Silvestri

I have the following Firewall rules set up:

 

mediabrowser.serverapplication,exe - inbound, all ports, UDP, Domain, Private.

mediabrowser.serverapplication.exe - inbound, all ports, TCP, Domain, Private.

Port 8096 - All Applications, TCP, Public, Private, Domain

Port 7359 = All Applications, UDP, Public, Private, Domain

 

Inbound rules verified using this guide: http://mediabrowser.tv/community/index.php?/topic/6763-media-browser-for-roku/?p=92778

 

These ports are not open to external connections on the router.

 

Doesn't appear that the Server installation created any outbound rules.

 

Machine is on the same Workgroup, a member of the Homegroup and has File and Printer Sharing On. 

 

Once connected via IP address, everything works in the Roku client. Until you close the app and return to the Roku homescreen. Then you have to start over.

 

Downloaded and installed the latest versions of MediaBrowser Theater, MediaBrowser for iOS and Media Browser for Android. All three of these client immediately found and connected to the server across multiple devices.

Edited by Koleckai Silvestri
Link to comment
Share on other sites

we should get to the bottom of why you cant' connect locally. can you try the zip file installation and then gather a roku log? thanks.

Link to comment
Share on other sites

Koleckai Silvestri

How do you turn on logging for the roku client? Can't see any options for it.

 

Get this error when trying to install from the ZIP on github:

Warning: Application size limits it to Roku 2 players, Roku XDS and Roku XR. It will not work with other Roku 1 players (1511026 > 768000).
Install Failure: No manifest. Invalid package.
Which is strange since it is a Roku 3 (5000 model). Edited by Koleckai Silvestri
Link to comment
Share on other sites

Koleckai Silvestri

It appears it is trying to connect to the external IP even though it isn't available.

 

o pop screen that doesn't match the top of our stack!
Removing screen 7 from middle of stack!
OnPasswordEntered
Popping screen 8 and cleaning up 1 breadcrumbs
Top of stack is once again: Server List
Popping screen 2 and cleaning up 1 breadcrumbs
Top of stack is once again: ConnectSignIn
Popping screen 1 and cleaning up 1 breadcrumbs
Pushing screen 9 onto view controller stack - Home
Loading beginning of row 0, Collections
Loading beginning of row 1, Movies
Total initial grid load took: 24ms
Popping screen 9 and cleaning up 0 breadcrumbs
Popping home screen
Pushing screen 10 onto view controller stack - Home
Loading beginning of row 0, Collections
Loading beginning of row 1, Movies
Total initial grid load took: 21ms
Count loaded is now 8 out of 80
Loaded 8 elements in row 0, now have 80
Count loaded is now 10 out of 60
Loaded 10 elements in row 1, now have 60
Count loaded is now 10 out of 60
Loaded 10 elements in row 2, now have 60
Received paginated response for index 8 of list with length 80
Count loaded is now 80 out of 80
Loaded 72 elements in row 0, now have 80
Received paginated response for index 10 of list with length 60
Count loaded is now 85 out of 77
Loaded 75 elements in row 1, now have 77
Received paginated response for index 10 of list with length 60
Count loaded is now 85 out of 77
Loaded 75 elements in row 2, now have 77
Count loaded is now 29 out of 29
Loaded 29 elements in row 3, now have 29
Count loaded is now 1 out of 1
Loaded 1 elements in row 4, now have 1
Count loaded is now 4 out of 4
Loaded 4 elements in row 5, now have 4
Popping screen 10 and cleaning up 0 breadcrumbs
Popping home screen
Finished global message loop
------ Running ------
--1.77
Anamorphic support: true
Server.info: listening on 0.0.0.0:8324
Using broadcast address 10.0.0.255
Send To Address: 10.0.0.255:7359 / 10.0.0.255:7359
Cancel UDP Broadcast
Found 0 servers
Connect returned 0 servers
Creating server data cache
Found string in the registry: {"a858d557961fda717a8be4ac17e5a055":{"AccessToken":"f7562d1967cf4ec58bfef6c62343246b","UserId":"a6737ecaf246ef2235c4bee1f90ac99f","RemoteAddress":"http://104.33.171.64:8096","LastAccess":"1420517315","Name":"WayneFlix","ManualAddress":"http://10.0.0.5:8096","LocalAddress":"http://10.0.0.5:8096","id":"a858d557961fda717a8be4ac17e5a055"}}
Parsed as: roAssociativeArray
connectionManagerGetServers returning 1 servers
connectToServers called with 1 servers
Attempting to connect to http://104.33.171.64:8096/mediabrowser/system/info/public?format=json
AsyncGetToString timeout
Failed to get Server Info
connectInitial returned State of ConnectSignIn
connectInitial returned ConnectionMode of Manual
Processing ConnectionResult State of ConnectSignIn
Entered CreateScreenForItem
Not sure what to do with breadcrumbs on screen type: roCodeRegistrationScreen
Pushing screen 1 onto view controller stack - ConnectSignIn
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Using broadcast address 10.0.0.255
Send To Address: 10.0.0.255:7359 / 10.0.0.255:7359
Cancel UDP Broadcast
Found 0 servers
Connect returned 0 servers
connectionManagerGetServers returning 1 servers
connectToServers called with 1 servers
Attempting to connect to http://104.33.171.64:8096/mediabrowser/system/info/public?format=json
AsyncGetToString timeout
Failed to get Server Info
Processing ConnectionResult State of ServerSelection
Using broadcast address 10.0.0.255
Send To Address: 10.0.0.255:7359 / 10.0.0.255:7359
Cancel UDP Broadcast
Found 0 servers
Connect returned 0 servers
connectionManagerGetServers returning 1 servers
Pushing screen 2 onto view controller stack - Server List
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Not sure what to do with breadcrumbs on screen type: Invalid
Pushing screen 3 onto view controller stack - Dialog: Select Action
Creating new dialog
Button pressed: 1
Popping screen 3 and cleaning up 0 breadcrumbs
Top of stack is once again: Server List
Attempting to connect to http://104.33.171.64:8096/mediabrowser/system/info/public?format=json
AsyncGetToString timeout
Failed to get Server Info
Not sure what to do with breadcrumbs on screen type: Invalid
Pushing screen 4 onto view controller stack - Dialog: Unable To Connect
Creating new dialog
Button pressed: Back
Popping screen 4 and cleaning up 0 breadcrumbs
Top of stack is once again: Server List
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Pushing screen 5 onto view controller stack - Keyboard: Server IP Address (ex. 192.168.1.100)
Starting blocking loop for keyboard screen
roKeyboardScreenEvent
roKeyboardScreenEvent
Exiting keyboard screen - ID: 5
Popping screen 5 and cleaning up 1 breadcrumbs
Top of stack is once again: Server List
Pushing screen 6 onto view controller stack - Keyboard: Server Port #
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
roKeyboardScreenEvent
onServerConfigurationUserInput - port
Attempting to connect to http://10.0.0.5:8096/mediabrowser/system/info/public?format=json
Attempting to connect to http://10.0.0.5:8096/mediabrowser/system/info/public?format=json
Processing ConnectionResult State of ServerSignIn
ServerSignIn Id: a858d557961fda717a8be4ac17e5a055
ServerSignIn Name: WayneFlix
ServerSignIn LocalAddress: http://10.0.0.5:8096
ServerSignIn RemoteAddress: http://104.33.171.64:8096
ServerSignIn ManualAddress: http://10.0.0.5:8096
Pushing screen 7 onto view controller stack - Login
getPublicUserProfiles url: http://10.0.0.5:8096
Showing screen with 9 elements
roKeyboardScreenEvent
Exiting keyboard screen - ID: 6
Trying to pop screen that doesn't match the top of our stack!
Removing screen 6 from middle of stack!
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Sending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
^ASending pin poll request to https://connect.mediabrowser.tv/service/pin?pin=11447&deviceId=1GN38X007949
Poll result: {"Id":"45275","Pin":"11447","DeviceId":"1GN38X007949","IsExpired":false,"IsConfirmed":false,"AccessToken":""}
Link to comment
Share on other sites

Koleckai Silvestri

After that it continues to poll mediabrowser.tv for Pin Authorization. Which is what I don't want. I want it to store the server information provided and to only use that server information.

Link to comment
Share on other sites

The root of the problem is the fact that it isn't using the local address.

 

This happened in another case recently and adjusting some firewall settings cleared it up.  I thought it had to do with UDP traffic but Luke says that is not the case but check your firewall rules and be sure all traffic is being allowed for the server.

Link to comment
Share on other sites

Koleckai Silvestri

My firewall settings for MediaBrowser are listed in post #4. Those are the settings that installing the server created.

 

mediabrowser.serverapplication,exe - inbound, all ports, UDP, Domain, Private.

mediabrowser.serverapplication.exe - inbound, all ports, TCP, Domain, Private.

Port 8096 - All Applications, TCP, Public, Private, Domain

Port 7359 = All Applications, UDP, Public, Private, Domain

Edited by Koleckai Silvestri
Link to comment
Share on other sites

Koleckai you've probably already thought of this, but have you tried just completely shutting the firewall off temporarily to see if that is indeed causing the problem? Pretty easy way to eliminate or confirm one possibility.

Link to comment
Share on other sites

Koleckai Silvestri

Same thing happens with or without Windows Firewall on. Not using any third party tools here. Windows Firewall, Windows Defender. All other clients find and connect to the server without problem. I've tested on two different iPhones, a Kindle Fire tablet, two laptops and the local computer (which is probably skewed). Only the Rokus have a problem connecting. Even if the Server is defined in the list, they cannot connect unless the IP Address is type in manually.

Link to comment
Share on other sites

I've updated the zip file. please try it again, and if there's still an issue post a new client log. thanks.

Link to comment
Share on other sites

  • Solution

there were certain conditions causing it to skip over testing the local address. so that's been rectified.

  • Like 1
Link to comment
Share on other sites

As it turns out this update is live in the store now. I just finally heard back from Roku. So both beta and public should be up to 1.78 now

Link to comment
Share on other sites

Koleckai Silvestri

Sorry. Didn't get to the ZIP last night. However upgraded to 1.7.8 this morning and this has solved the issue. Thank you.

Link to comment
Share on other sites

ginjaninja

What is the 1.78 logic / functionality when skipping media browser connect......ill update the help page..

does the roku automatically scan network?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...