Http Error The Http Transport Returned A 0 Status Code
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up httpError: The Http Transport returned a 0 status code up vote 2 down vote favorite I have a login page:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Mixing ajax http://stackoverflow.com/questions/23641691/httperror-the-http-transport-returned-a-0-status-code and full requests up vote 3 down vote favorite 1 I have an ajax and full request in the same form. A mouse click fires the ajax in the input field and if I press enter on the same input field right after the mouse click then a nasty error pops up which is shown below. "The Http Transport returned a 0 status code. This http://stackoverflow.com/questions/8108053/mixing-ajax-and-full-requests is usually the result of mixing ajax and full requests. This is usually undesired, for both performance and data integrity reasons." In my case the input field is a radio button which uses ajax. Pressing enter is causing a full request. I used BalusC's Javascript function which has event.stopPropagation() which worked for me and it was for a text input field. It also worked for a drop down list. But the same event.stopPropagation() is not working for a radio button. You can check BalusC's answer for reference. Below is my piece of code which doesn't seem to work
Transport returned a 0 status code" error to make it less annoyingAgile Board ExportXMLWordPrintable Details Type: Bug Status: Resolved Severity: Minor Resolution: Fixed Affects Version/s: 6.0 Fix Version/s: 6.0-HF25, 7.10-HF02, 8.1 Component/s: Seam / JSF UI Tags: bugday nxAT nxNag release_notes_to_add Sprint: nxAT Sprint 8.1.3 Description Multiple scenarios when https://jira.nuxeo.com/browse/NXP-16985 an action is done without waiting for an AJAX action to finish produces the error message Http Transport returned a 0 status code" : Scenario 1 clic on the arrow to unfold a folder in the left tree just http://osdir.com/ml/java-cdi-seam-issues/2011-03/msg01148.html after, clic on another folder in the left tree to navigate to it the error message is displayed Scenario 2 Take a folder with 20 documents Select all documents in the content view Unselect 3 documents Without waiting for http error the selection to be finished, clic on the Copy button the error message is displayed For each scenario, it is easier to reproduce if the repository contains a lot of documents and the AJAX requests take a lot of time to run Activity Ascending order - Click to sort in descending order All Comments Work Log History Activity Hide Permalink Société Transports Montréal added a comment - 08/07/15 22:02 Do you have a date for the release of http error the 6.0-HF16 ? Show Société Transports Montréal added a comment - 08/07/15 22:02 Do you have a date for the release of 6.0-HF16 ? Hide Permalink Thierry Martins added a comment - 15/07/15 15:34 This issue will not be fixed by 6.0-HF16, which will be released on 16-17 july 2015 Show Thierry Martins added a comment - 15/07/15 15:34 This issue will not be fixed by 6.0-HF16, which will be released on 16-17 july 2015 Hide Permalink Anahide Tchertchian added a comment - 14/12/15 11:29 There are several use cases here: the "Http Transport returned a 0 status code" error sentence comes from JSF ajax requests processing. This message is displayed when the request returns a 0 error code, with status 'httpError'. This kind of response can be sent: when the server is down, for instance when concurrent requests are made to the server (and double click shield does not apply correctly) So it's not a good idea to hide it, although: the message could be changed to be less verbose (since the whole sentence is not localized and does not help much) this message could be shown as a warning instead of an error, with a 1s timeout to be less annoying there seems to be use cases where double click shield behaviour could be improved (with selection and copy/paste scenario at least), will create a dedicated NXP issue for these. Sho
] Shane Bryzak updated SEAM-65: ----------------------------- Fix Version/s: Future > The Http Transport returned a 0 status code. This is usually the result of > mixing ajax and full requests. > ----------------------------------------------------------------------------------------------------------- > > Key: SEAM-65 > URL: https://issues.jboss.org/browse/SEAM-65 > Project: Seam 3 Distribution > Issue Type: Bug > Environment: 3.0.0-SNAPSHOT > Reporter: Daniel Hinojosa > Labels: AJAX, Code, HTTPError, Status > Fix For: Future > > > This came up: on booking: httpError: The Http Transport returned a 0 status > code. This is usually the result of mixing ajax and full requests. This is > usually undesired, for both performance and data integrity reasons. > This is in the intro page. http://localhost:8080/seam-booking/ > Possible solution: > http://forums.oracle.com/forums/thread.jspa?threadID=2148500&tstart=0 > P.S. You may find other instances elsewhere. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira Thread at a glance: Previous Message by Date: [JBoss JIRA] Updated: (SEAM-63) When you click on: What happens when I register? in the register page returns a popup with 404 [ https://issues.jboss.org/browse/SEAM-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shane Bryzak updated SEAM-63: ----------------------------- Fix Version/s: Future > When you click on: What happens when I register? in the register page returns > a popup with 404 > ---------------------------------------------------------------------------------------------- > > Key: SEAM-63 > URL: https://issues.jboss.org/browse/SEAM-63 > Project: Seam 3 Distribution > Issue Type: Bug > Affects Versions: 3.0.0.Final > Environment: Seam 3.0.0-SNAPSHOT > Reporter: Daniel Hinojosa > Fix For: Future > > > When you are in http://localhost:8080/seam-booking/register# > and you click on What happens when I register? It pops up with a 404 page. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira Next Message by Date: [JBoss JIRA] Updated: (SEAM-48) Missing conversation sources [ https://issues.jboss.org/browse/SEAM-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shane Bryzak updated SEAM-48: ----------------------------- Fix Version/s: Future >