Error 500 Response Never Closed
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
in with Twitter Sign Up All Content All Content This Topic This Forum Advanced Search Forum Maxthon News Rules and Recruit More Product Support MX5 Beta MX4 and Earlier More Release Notes WinPC 4.9 WinPC 4.4 and below Android Nitro More Activity All Activity My Activity Streams WinPC 4.4.X and below Android release Nitro release Other release Search More Browse Guidelines Staff Online Users More More More All Activity Home Product Support MX4 and Earlier Version Discussion Archived General Discussion How to fix Error 500: Response Never Closed? Sign in to follow this Followers 0 How to fix Error 500: Response Never Closed? Started by diptaa, 31 Jan 2015 6 posts in this topic diptaa 0 Freshman Members 0 7 https://productforums.google.com/forum/#!topic/chrome/XFONtH4Trkg posts ·#1 Posted 31 Jan 2015 Is there anyone here experience Error 500: Response never closed when open some url using maxthon? FYI, I already tested open the same url with other browsers (Google Chrome, Firefox, Opera) and they work ok. I want to use maxthon because maxthon is lighter and faster than the other browsers, unfortunately I don't know how to fix this issue because I don't know which part that contains error. Please help.. I use maxthon 4.4.3.4000 on http://forum.maxthon.com/index.php?/topic/13738-how-to-fix-error-500-response-never-closed/ windows 8.1. Thank you in advance. Share this post Link to post Share on other sites diptaa 0 Freshman Author Members 0 7 posts ·#2 Posted 31 Jan 2015 I already update adobe flash player to the last version, rename NPSWF32_16_0_0_296.dll to pepflashplayer.dll but still got the same error Share this post Link to post Share on other sites 7twenty 655 Senior Member Vice Admin 655 2,826 posts Location : Australia ·#3 Posted 1 Feb 2015 Assuming that this is related to flash as you seem to point out - first, check that Maxthon is using the most recent version by going here. If it shows that your version is not up to date, then follow the directions in the Adobe Flash & Maxthon thread. Ensure that you follow them exactly. Also can you advise where exactly you found the info to "rename NPSWF32_16_0_0_296.dll to pepflashplayer.dll". As far as I know, that is NOT related to Maxthon 4 and might be only for Nitro. Share this post Link to post Share on other sites diptaa 0 Freshman Author Members 0 7 posts ·#4 Posted 1 Feb 2015 7twenty replied at 2015-2-1 05:03 Assuming that this is related to flash as you seem to point out - first, check that Maxthon is using ... Done and still got the error.. So, maybe it's not flash problem? Share this post Link to post Share on other sites
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
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 Read error response body in Java up vote 33 down vote favorite 7 In Java, this code throws an exception when the HTTP result is 404 range: URL url = new URL("http://stackoverflow.com/asdf404notfound"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.getInputStream(); // throws! In my case, I happen to know that the content is 404, but I'd still like to read the body of the response anyway. (In my actual case the response code is 403, but the body of the response explains the reason for rejection, and I'd like to display that to the user.) How can I access the response body? java http httpurlconnection share|improve this question edited Jan 29 '14 at 16:34 Jonik 37.4k42179241 asked Mar 5 '09 at 1:46 Dan Fabulich 10.7k2479112 Are you sure the server is sending a body? –Hank Gay Mar 5 '09 at 1:50 What's the exception? –jdigital Mar 5 '09 at 2:05 @jdigital: the exception thrown by HttpURLConnection.getInputStream() is java.io.FileNotFoundException. (Mainly mentioning this for better googlability.) –Jonik Jan 29 '14 at 16:34 add a comment| 6 Answers 6 active oldest votes up vote 73 down vote accepted Here is the bug report (close, will not fix, not a bug). Their advice there is to code like this: HttpURLConnection httpConn = (HttpURLConnection)_urlConnection; InputStream _is; if (httpConn.getResponseCode() == 200) { _is = httpConn.getInputStream(); } else { /* error from server */ _is = httpConn.getErrorStream(); } share|improve this answer edited Oct 20 '14 at 18:16 answered Mar 5 '09 at 3:26 TofuBeer 42.3k987134 3 Wouldn't you want to get the error stream when the response code is >= 400, rather than the other way around? –Stephen Swensen Apr 13 '10 at 16:14 2 In case of errors, getInputStream() will throw an IO Exception. You should catch the exception and read from error stream using getErrorStream(). This seems to be a better approach than checking on httpresponse code. –Enigma Aug 20 '12 at 12:04 2 T