Questions tagged [httpexception]

HttpException or HTTPException are exception classes defined by various object oriented libraries that signal a problem during processing of a http request.

There is a HttpException in the System.Web namespace of .Net, another one in Apache Commons and a HTTPException in JAX-WS

160 questions
1
vote
1 answer

Crashlytics Initialization ConnectionException (EHOSTUNREACH)

I have the Crashlytics SDK installed on an Android app (through Fabric) and it was working perfectly before. All of a sudden, I'm getting ConnectionExceptions and Crashlytics cannot communicate with its remote server. Fabric is instantiated at the…
SJoshi
  • 1,866
  • 24
  • 47
1
vote
1 answer

Handling HTTP "405" error in web api using application_error() event

I am using Application_Error() event to get all HTTP exceptions in web API. This event is returning all HTTP codes e.g."404","500" and using "Server.TransferRequest()" to transfer request to my "Error controller" for showing custom errors. But…
1
vote
2 answers

Deadline exceeded while waiting for HTTP response from URL: HTTPException

I'm developing an app to listen for twitter hash tags using tweepy. I have uploaded my app to Google App Engine and it's giving me below error. Last line of Traceback: File…
Bishan
  • 15,211
  • 52
  • 164
  • 258
1
vote
0 answers

404 Custom Error Page Mvc3 working only with non-existing routes

After browsing 100 of link for this topic I couldnt find solution to my problem. I am handling 404 custom error page manually like below My below solution work when I type any wrong url in address bar and shows 404 error page rightly. But when I…
1
vote
2 answers

Custom error page not displayed when throwing exception from Attribute

Let me first describe how my error handling is set up as there are several ways to do this in ASP.NET MVC. I have configured httpErrors in web.config, overridden HandleUnknownAction in the controller base and set up a route to handle anything…
Vik
  • 65
  • 5
1
vote
1 answer

Request timed out on IIS

I am creating a payroll application and i have to do processing of over 500 employees. When I run the application on my local machine, it would run the application and produce correct information. It would take close to 3-4 mins to complete the…
Dinesh Persaud
  • 155
  • 2
  • 6
  • 18
1
vote
1 answer

Apache Axis2 HTTPException error

I'm trying to connect to an HTTPS Axis2 SOAP source. It seems that I have done all the steps and imported all dependencies to my classpath, still it will give me an ClassDefNotFound HTTPException. org.apache.axis2.deployment.DeploymentException:…
1
vote
2 answers

xampp 1.8.1 perl not working and throwing error 500

I am using xampp 1.8.1 on windows 7 and want to use it for perl, but when i execute even the most easy hello world perl script it gives me an error 500. Does anybody know what i am doing wrong? this is my 'hello world script: #!/usr/bin/perl print…
Kaspaar
  • 166
  • 2
  • 4
  • 20
1
vote
2 answers

handle some errors in Global.asax

I have a web application on .NET4 and MVC3 (razor) . I want to handle my application errors in Global.asax. I have created application_error function. I have noticed and found some errors. one of them returns this string in Application_Error when I…
motevalizadeh
  • 5,244
  • 14
  • 61
  • 108
1
vote
1 answer

MVC rest API status code 500 with JSON return

I am developing a rest API on MVC3. Whenever there is a problem with validation, I want to throw 500 + json that describes the error (the json can be the list of unvalidated fields). The problem is that the json returns inside html that holds the…
SexyMF
  • 10,657
  • 33
  • 102
  • 206
1
vote
1 answer

"Unable to validate data" HttpException from my .net 2.0 application

I am getting this exception from my ASP .net application running in a webfarm. Exception Type: System.Web.HttpException Exception Message: Unable to validate data. ---- Stack Trace ---- …
madaboutcode
  • 2,137
  • 1
  • 16
  • 23
0
votes
1 answer

Override, extend or roll your own HttpException?

I want to have control over my Http Exceptions to the point of being able to dictate what is in the body of the response. If I throw a standard HttpException(404, "not found"); then using fiddler I can see the 404 status code is set but there is all…
David
  • 1,731
  • 24
  • 37
0
votes
2 answers

Dealing with unhandled HttpException

I have a controller action like this: public ActionResult Index(string url) { var pageTitle = url.Split('/')[0]; var page = Services.PageService.GetPage(pageTitle); if (page == null) { throw new HttpException((Int32)…
Chris
  • 7,996
  • 11
  • 66
  • 98
0
votes
1 answer

Cannot deserialize value of type `java.lang.Long` from Object value (token `JsonToken.START_OBJECT`)

Getting the following error while hitting the POST API call via postman for the following code. Requirement : Place an order given the list of , and . Consider that an order only implies reducing the current stock of each…
Vishesh Dab
  • 3
  • 1
  • 4
0
votes
0 answers

Unable to load image from URL while using Glide library in Android Studio(Kotlin), showing white image

2023-01-19 15:34:03.110 6911-6911/com.serosoft.academiassu W/Glide: Load failed for [https://testing-serosoft.academiaerp.com/resources/images/uploads/GALLERY_IMAGES/drive_files_2_1622016815.png] with dimensions [65x65] class…