JavaScript XMLHttpRequest: Network Error 0x2f78, Could not complete the operation due to error 00002f78 in IE and net::ERR_UNEXPECTED in Chrome xmlhttprequest network error 0x2efd,xmlhttprequest network error 0x2eff,xmlhttprequest network

In our application we are facing one issue. In my local eclipse whole application is working fine. But in Prod server we are facing this issue-When I want to load one page it is throwing error. The problem is that we are getting different errors in both IE and Chrome.

In chrome we are getting below errorenter image description here

In IE we are getting below error enter image description here

I tried to fix IE error by adding something like below code

$.ajax({
url:url,
type:"POST",
data:data,
contentType:"application/json; charset=utf-8",
dataType:"json",
success: function(){
  ...
}
});

But it is not working. Please help.

Answer:1

I was able to produce this issue/error on demand while testing server request timeout.

I set my local Glassfish 4.1 request timeout to 30 seconds and I created an ajax (POST) call that took over 60 seconds to complete.

I got the same error. I would recommend to check your server's "Request timeout" value and check how long your requests take in the Dev Tools (Network tab)>

My local instance of Glassfish 4.1: enter image description here

Error displayed in the IE console: enter image description here

Network tab in IE Dev Tools: enter image description here

Hopefully, this be useful to further troubleshooting of your issue.

Answer:2

XMLHttpRequest is not working at all when sending with GET methods and parameters which include accents (é,à,ç, ...). You have to use POST method to make it work.

Answer:3

I have a custom directive like this: <user-preview closable="true" user="user" ng-repeat="user in users"></user-preview> As you can see, I pass two attributes to it: closable and user. ...

I have a custom directive like this: <user-preview closable="true" user="user" ng-repeat="user in users"></user-preview> As you can see, I pass two attributes to it: closable and user. ...

  1. passing multiple values in like in sql
  2. passing multiple values to a stored procedure parameter
  3. passing multiple values in json string
  4. passing multiple values in where clause
  5. passing multiple values in query string
  6. passing multiple values in url
  7. passing multiple values in query parameter
  8. passing multiple values to bootstrap modal
  9. passing multiple values in xml
  10. passing multiple values in one parameter in sql
  11. passing multiple values in prepared statement
  12. passing multiple values in in clause in sql query
  13. passing multiple values in query string asp.net
  14. passing multiple values in intent
  15. passing multiple values in query string in jquery
  16. passing multiple values to a variable in sql
  17. passing multiple values in cucumber
  18. passing multiple values between components in angular

I'm working through a tutorial on how to create a restful api using express and mongoose. I'm understanding everything except for this bit right here import mongoose from 'mongoose'; import ...

I'm working through a tutorial on how to create a restful api using express and mongoose. I'm understanding everything except for this bit right here import mongoose from 'mongoose'; import ...

  1. export default javascript object
  2. export default javascript es6
  3. export default javascript vue
  4. export default javascript example
  5. export default javascript module
  6. export default javascript array
  7. export default const javascript
  8. import export default javascript
  9. export default variable javascript
  10. export default new javascript
  11. export default meaning javascript
  12. export default enum javascript
  13. export default syntax javascript
  14. export default json javascript
  15. use export default javascript
  16. export default statement javascript
  17. export vs export default javascript
  18. export default arrow function javascript
  19. export default new class javascript
  20. javascript export default and named

Kindly visit this link. RegEx Golf Here it wants me to match a few set of words and a few must not be matched. The problem is that it is not allowing me to use $ sign. I am not able to figure out ...

Kindly visit this link. RegEx Golf Here it wants me to match a few set of words and a few must not be matched. The problem is that it is not allowing me to use $ sign. I am not able to figure out ...

  1. regular expression match any character
  2. regular expression match string
  3. regular expression match python
  4. regular expression match word
  5. regular expression match number
  6. regular expression match exact string
  7. regular expression match anything
  8. regular expression match multiple words
  9. regular expression match space
  10. regular expression match whitespace
  11. regular expression match period
  12. regular expression match newline
  13. regular expression match substring
  14. regular expression match javascript
  15. regular expression match parentheses
  16. regular expression match end of string
  17. regular expression match special characters
  18. regular expression match all characters
  19. regular expression match group
  20. regular expression match character

I'm trying to set an input value from a dropdown list but it doesn't seem to work for me. this is my code: <form> <select name="color" id="color"> <option selected value="0"...

I'm trying to set an input value from a dropdown list but it doesn't seem to work for me. this is my code: <form> <select name="color" id="color"> <option selected value="0"...

  1. unable to restore input value state