Reply to thread

WebMediaportal dos not work, it is requesting /MPExtended/MediaAccessService witch returns "Bad Request"

 From server.log:

[2015-12-18 17:20:11,269] [1180033] [121  ] [INFO ] - MainRequestHandler: Received request http://192.168.10.136:4322/MPExtended/MediaAccessService

[2015-12-18 17:20:11,270] [1180034] [121  ] [INFO ] - MainRequestHandler: AbsolutePath: /MPExtended/MediaAccessService, uriParts.Length: 3

[2015-12-18 17:20:11,271] [1180035] [121  ] [INFO ] - MAS: AbsolutePath: /MPExtended/MediaAccessService, uriParts.Length: 3, Lastpart: MediaAccessService

[2015-12-18 17:20:11,284] [1180048] [121  ] [WARN ] - MAS: Micromodule not found: MediaAccessService

[2015-12-18 17:20:11,286] [1180051] [121  ] [ERROR] - MainRequestHandler: Exception:

HttpServer.Exceptions.BadRequestException: BadRequest: MAS: Micromodule not found: MediaAccessService

  at MediaPortal.Plugins.MP2Extended.ResourceAccess.MediaAccessServiceHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MediaAccessServiceHandler.cs:line 135

  at MediaPortal.Plugins.MP2Extended.ResourceAccess.MainRequestHandler.Process(IHttpRequest request, IHttpResponse response, IHttpSession session) in m:\Programmieren\C#\MediaPortal 2\MediaPortal\Incubator\MP2Extended\ResourceAccess\MainRequestHandler.cs:line 141


From webportal.log:

2015-12-18 17:02:36.47970 [  (54)] DEBUG: TAS: Connected to version 0.6.0-beta

2015-12-18 17:03:32.41081 [  (49)] DEBUG: Reloading configuration file 'Authentication.xml' due to changes.

2015-12-18 17:03:32.41282 [  (49)] DEBUG: Reloading configuration file 'StreamingPlatforms.xml' due to changes.

2015-12-18 17:03:32.41282 [  (45)] DEBUG: Reloading configuration file 'StreamingPlatforms.xml' due to changes.

2015-12-18 17:03:32.41394 [  (49)] DEBUG: Reloading configuration file 'WebMediaPortal.xml' due to changes.

2015-12-18 17:03:32.41394 [  (48)] DEBUG: Reloading configuration file 'WebMediaPortal.xml' due to changes.

2015-12-18 17:03:32.41694 [  (54)]  INFO: WebMediaPortal version 0.6.0-beta (commit 7326b77) now connected with MAS 192.168.10.136:4322 and TAS 192.168.10.100:4322

2015-12-18 17:03:32.51644 [  (54)] DEBUG: MAS: connection failed

System.ServiceModel.ProtocolException: The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '

<!DOCTYPE html>

<html lang=en>

  <meta charset=utf-8>

  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">

  <title>Error 400 (Bad Request)!!</title>

  <style>

  *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}

   html{background:#fff;color:#222;padding:15px}

   body{margin:7% auto 0;max-width:600px;min-height:180px;padding:30px 0 15px}* > body{background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKoAAACqCAYAAAA9dtSCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4'.

 ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.

  at System.Net.HttpWebRequest.GetResponse()

  at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)

  --- End of inner exception stack trace ---


Top Bottom