Help

Average rating
(0 votes)

This is the error I get when starting Remote player host: Invalid URI: The hostname could not be parsed
Below is de plugin-logfile. Please help ! 
 
2008-03-01 10:33:45,703 [1] ERROR Plugins.NowPlayingWebExportPlugin [] - Invalid URI: The hostname could not be parsed.Exception: System.UriFormatExceptionMessage: Invalid URI: The hostname could not be parsed.Source: System   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)   at System.Uri..ctor(String uriString)   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink..ctor(String channelURI, TcpClientChannel channel)   at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSinkProvider.CreateSink(IChannelSender channel, String url, Object remoteChannelData)   at System.Runtime.Remoting.Channels.BinaryClientFormatterSinkProvider.CreateSink(IChannelSender channel, String url, Object remoteChannelData)   at System.Runtime.Remoting.Channels.Tcp.TcpClientChannel.CreateMessageSink(String url, Object remoteChannelData, String& objectURI)   at System.Runtime.Remoting.Channels.Tcp.TcpChannel.CreateMessageSink(String url, Object remoteChannelData, String& objectURI)   at System.Runtime.Remoting.Channels.ChannelServices.CreateMessageSink(String url, Object data, String& objectURI)   at System.Runtime.Remoting.RemotingServices.CreateChannelSink(String url, Object data, IMessageSink& chnlSink)   at System.Runtime.Remoting.RemotingServices.Unmarshal(Type classToProxy, String url, Object data)   at System.Runtime.Remoting.Activation.ActivationServices.ConnectIfNecessary(IConstructionCallMessage ctorMsg)   at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType)   at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj)   at RemotePlayer.FirstPlayer.get_Player()   at BP2X.ServerPlugins.NowPlayingWebExportPlugin.Start()

RE: Help

Can you please send me a copy of the config file for the remoteplayerhost?

It's the first time I see this error, but I think it is related to the way you configured the machine name (server name) in the config file.

This is the RPHlog

error 1: Authentication Failed. Check the configuration fileerror 2: Invalid URI: The hostname could not be parsed
2008-03-02 18:58:05,793 [1] ERROR RemotePlayerHost.RPHMain [] - Start Error!Exception: System.ExceptionMessage: Authentication Failed. Check the configuration file.Source: RemotePlayer   at RemotePlayer.Player.x4cd1a2dd2810341d()   at RemotePlayer.Player..ctor()   at RemotePlayer.FirstPlayer..ctor()   at RemotePlayer.FirstPlayer.get_Player()   at RemotingLibrary.ServerTools.x9956a16e1ad3a09b(Form xa6607dfd4b3038ad, FirstPlayer& xa3ed8db19260239a, SecondPlayer& x809c28029abda551, CommercialPlayer& x807da6a0af42f025, JinglePlayer& xf4397421bc8f0459, NewsPlayer& x0c45bd49ca0625c4, AudioPlayers& xd78497ddc482cdb1)   at RemotePlayerHost.RPHMain.x12cb12b5d2cad53d()
2008-03-02 18:58:05,886 [1] ERROR RemotePlayerHost.RPHMain.Error [] - System.Exception: Authentication Failed. Check the configuration file.   at RemotePlayer.Player.x4cd1a2dd2810341d()   at RemotePlayer.Player..ctor()   at RemotePlayer.FirstPlayer..ctor()   at RemotePlayer.FirstPlayer.get_Player()   at RemotingLibrary.ServerTools.x9956a16e1ad3a09b(Form xa6607dfd4b3038ad, FirstPlayer& xa3ed8db19260239a, SecondPlayer& x809c28029abda551, CommercialPlayer& x807da6a0af42f025, JinglePlayer& xf4397421bc8f0459, NewsPlayer& x0c45bd49ca0625c4, AudioPlayers& xd78497ddc482cdb1)   at RemotePlayerHost.RPHMain.x12cb12b5d2cad53d()2008-03-02 18:58:05,886 [1] ERROR RemotePlayerHost.RPHMain.Error [] -    at RemotePlayer.Player.x4cd1a2dd2810341d()   at RemotePlayer.Player..ctor()   at RemotePlayer.FirstPlayer..ctor()   at RemotePlayer.FirstPlayer.get_Player()   at RemotingLibrary.ServerTools.x9956a16e1ad3a09b(Form xa6607dfd4b3038ad, FirstPlayer& xa3ed8db19260239a, SecondPlayer& x809c28029abda551, CommercialPlayer& x807da6a0af42f025, JinglePlayer& xf4397421bc8f0459, NewsPlayer& x0c45bd49ca0625c4, AudioPlayers& xd78497ddc482cdb1)   at RemotePlayerHost.RPHMain.x12cb12b5d2cad53d()

RE: This is the RPHlog

The username or password used are wrong. That's what this file content is telling us.

Please give me the following info:
1. APR User
2. APR Password

You can find these two values in remoteplayerhost.exe.config.

These two values should match the values in your database, in the table "User".

In my case:
1. APR User: RPlayer
2. APR Password: 123

In the database table "User", those values are:
1. APR User: RPlayer
2. APR Password: zYwpuN7tMj/hU4z720b8Ki6mHP1ngH8GKXCOoqbhOikZ3vPIN8Tn8sjgBnVo4yNoJ977Bck0bkdrbpVEQKkIpw==

Did you change these values during setup?
If you did, and the installer didn't populate the right values in the "User" table, or in the remoteplayerhost.exe.config file, you might get this error. Please confirm and I will run some tests on the installer.

I changed the name during

I changed the name during setup:
<add key = "APR User" value = "siep" />  <add key = "APR Password" value = "123" />  <add key = "APR Station ID" value = "1" />
Do I have to uninstall the app and reinstall it?
If I change the APR User value to "Rplayer", the first error is gone.The second error (URI, Host could not be parsed, still stands and the RHplayer fails to execute (Microsoft error).
P.S. Where can I find the database tabel "user"?
Thxx for your help, Emile !

I removed the database from

I removed the database from SQL. I did a reinstall without changing names. Errors occured and I changed the hostnames in the config-files into ip-adresses. RPH starts well now ... only no plugin-config button, but I manually made one.
Connecting broadcast power did not work. Ii could not get a connection. I added the user to the sql database wth all the permissions, but still fail to connect (named pipes provider: error 40) ........ ??????????????????????????

jeeeh, I changed

jeeeh, I changed subsequently the ip-adresses back to host name ... checking if RPH still starts ... and guess what: after altering back one value in in WINUI config it works !!
 
Finally ....................................