home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
Featured Plugins
MP2Extended
Plugin: MP2Extended
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="hkjensen" data-source="post: 1166423" data-attributes="member: 52267"><p>WebMediaportal dos not work, it is requesting /MPExtended/MediaAccessService witch returns "Bad Request"</p><p> From server.log:</p><p>[2015-12-18 17:20:11,269] [1180033] [121 ] [INFO ] - MainRequestHandler: Received request <a href="http://192.168.10.136:4322/MPExtended/MediaAccessService" target="_blank">http://192.168.10.136:4322/MPExtended/MediaAccessService</a></p><p>[2015-12-18 17:20:11,270] [1180034] [121 ] [INFO ] - MainRequestHandler: AbsolutePath: /MPExtended/MediaAccessService, uriParts.Length: 3</p><p>[2015-12-18 17:20:11,271] [1180035] [121 ] [INFO ] - MAS: AbsolutePath: /MPExtended/MediaAccessService, uriParts.Length: 3, Lastpart: MediaAccessService</p><p>[2015-12-18 17:20:11,284] [1180048] [121 ] [WARN ] - MAS: Micromodule not found: MediaAccessService</p><p>[2015-12-18 17:20:11,286] [1180051] [121 ] [ERROR] - MainRequestHandler: Exception:</p><p>HttpServer.Exceptions.BadRequestException: BadRequest: MAS: Micromodule not found: MediaAccessService</p><p> 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</p><p> 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</p><p></p><p>From webportal.log:</p><p>2015-12-18 17:02:36.47970 [ (54)] DEBUG: TAS: Connected to version 0.6.0-beta</p><p>2015-12-18 17:03:32.41081 [ (49)] DEBUG: Reloading configuration file 'Authentication.xml' due to changes.</p><p>2015-12-18 17:03:32.41282 [ (49)] DEBUG: Reloading configuration file 'StreamingPlatforms.xml' due to changes.</p><p>2015-12-18 17:03:32.41282 [ (45)] DEBUG: Reloading configuration file 'StreamingPlatforms.xml' due to changes.</p><p>2015-12-18 17:03:32.41394 [ (49)] DEBUG: Reloading configuration file 'WebMediaPortal.xml' due to changes.</p><p>2015-12-18 17:03:32.41394 [ (48)] DEBUG: Reloading configuration file 'WebMediaPortal.xml' due to changes.</p><p>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</p><p>2015-12-18 17:03:32.51644 [ (54)] DEBUG: MAS: connection failed</p><p>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: '</p><p><!DOCTYPE html></p><p><html lang=en></p><p> <meta charset=utf-8></p><p> <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"></p><p> <title>Error 400 (Bad Request)!!</title></p><p> <style></p><p> *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}</p><p> html{background:#fff;color:#222;padding:15px}</p><p> 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'.</p><p> ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.</p><p> at System.Net.HttpWebRequest.GetResponse()</p><p> at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)</p><p> --- End of inner exception stack trace ---</p></blockquote><p></p>
[QUOTE="hkjensen, post: 1166423, member: 52267"] 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 [URL]http://192.168.10.136:4322/MPExtended/MediaAccessService[/URL] [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 --- [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Featured Plugins
MP2Extended
Plugin: MP2Extended
Contact us
RSS
Top
Bottom