[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Feature Request: Enhanced ErrorPage for http errors  XML
Forum Index -> Deployment
Author Message
krinninger

Power User

Joined: 17/11/2008 21:19:41
Messages: 567
Offline

Hello,

as we use CaptainCasa in a SaaS scenario, with many different customers, where we have no influence on their it infrastructure, we often face some http errors on client side.

If an error occures, client doesn't get back a valid CaptainCasa XML but a html document like this (containing information on this error).

Code:
 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
 <html><head>
 <title>400 Bad Request</title>
 </head><body>
 <h1>Bad Request</h1>
 <p>Your browser sent a request that this server could not understand.<br />
 </p>
 </body></html>
 


This leads to a XML-Parser error on client side. (as you can see in Screenshot)

so perhaps it might be possible to check response for error pages like this if parsing fails?

[Thumb - error400.png]
 Filename error400.png [Disk] Download
 Description
 Filesize 85 Kbytes
 Downloaded:  239 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

yes, this does not look nice ;-)

I believe the only option we have is, to somehow bring up the normal client error screen. So the error message looks a bit smarter...

Is it this what you are asking for?

Regards, Björn

Björn Müller, CaptainCasa GmbH
krinninger

Power User

Joined: 17/11/2008 21:19:41
Messages: 567
Offline

hello,

yes a error page containing the HTTP error would be nice.

Greetings,
michael
 
Forum Index -> Deployment
Go to:   
Powered by JForum 2.1.6 © JForum Team