Page 1 of 1

HTTP Error 500

PostPosted: Thu Feb 14, 2013 4:14 am
by Luriden
Subsonic 4.7 was working just fine for me on my Windows 8 PC until this evening. I created a new user, that person was able to get online (from outside my home) just fine. They started some downloads, and suddenly I got an Error 500 page when trying to access it. I asked the new user if they were able to get on, they said their downloads were still going, but after refreshing the page, they got Error 500 as well. I've tried reinstalling several times, along with completely deleting my Subsonic folder in my C: drive afterward, and I'm still getting this error.

I tried installing the latest version of Java, and still the same error. I've reset my router, increased maximum memory size, switched ports and forwarded them accordingly, restarted my computer several times, and I'm at a total loss about why it just suddenly stopped working after a new user jumped on. It works fine locally, but checking the Network section of my settings gives me Status: Failed to test web address. Internal Server Error (HttpResponseException) . Here is what's listed when trying to access my page at http://luriden.subsonic.org

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: File input/output error: /var/subsonic-backend/db/subsonic-backend.log
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
root cause

org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: File input/output error: /var/subsonic-backend/db/subsonic-backend.log
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:577)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:678)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:710)
net.sourceforge.subsonic.backend.dao.AbstractDao.query(AbstractDao.java:41)
net.sourceforge.subsonic.backend.dao.AbstractDao.queryOne(AbstractDao.java:45)
net.sourceforge.subsonic.backend.dao.RedirectionDao.getRedirection(RedirectionDao.java:32)
net.sourceforge.subsonic.backend.controller.RedirectionController.handleRequest(RedirectionController.java:57)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
root cause

java.sql.SQLException: File input/output error: /var/subsonic-backend/db/subsonic-backend.log
org.hsqldb.jdbc.Util.sqlException(Unknown Source)
org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
org.hsqldb.jdbcDriver.getConnection(Unknown Source)
org.hsqldb.jdbcDriver.connect(Unknown Source)
java.sql.DriverManager.getConnection(DriverManager.java:582)
java.sql.DriverManager.getConnection(DriverManager.java:154)
org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:174)
org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:165)
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149)
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:577)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:678)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:710)
net.sourceforge.subsonic.backend.dao.AbstractDao.query(AbstractDao.java:41)
net.sourceforge.subsonic.backend.dao.AbstractDao.queryOne(AbstractDao.java:45)
net.sourceforge.subsonic.backend.dao.RedirectionDao.getRedirection(RedirectionDao.java:32)
net.sourceforge.subsonic.backend.controller.RedirectionController.handleRequest(RedirectionController.java:57)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.33 logs.

Apache Tomcat/5.5.33

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 4:26 am
by Luriden
I tried changing my Subsonic URL to something else, still didn't work, so back again to what it was, and now I'm getting this error in the Network section: Status: Failed to test web address. Connect to subsonic.org/66.49.215.227:80 timed out (ConnectTimeoutException) and trying to access the page gives me a time-out error.

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 4:44 am
by DontquestionIt
I'm having the same HTTP 500 issue as well. My initial thoughts was it had something to do with Windows updates (Windows 7). Although, now I'm at a loss too. I may not have any suggestions or solutions but I can at least point out that your not the only one that's currently experiencing this issue.




Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: File input/output error: /var/subsonic-backend/db/subsonic-backend.log
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:583)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

root cause

org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: File input/output error: /var/subsonic-backend/db/subsonic-backend.log
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:577)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:678)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:710)
net.sourceforge.subsonic.backend.dao.AbstractDao.query(AbstractDao.java:41)
net.sourceforge.subsonic.backend.dao.AbstractDao.queryOne(AbstractDao.java:45)
net.sourceforge.subsonic.backend.dao.RedirectionDao.getRedirection(RedirectionDao.java:32)
net.sourceforge.subsonic.backend.controller.RedirectionController.handleRequest(RedirectionController.java:57)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

root cause

java.sql.SQLException: File input/output error: /var/subsonic-backend/db/subsonic-backend.log
org.hsqldb.jdbc.Util.sqlException(Unknown Source)
org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
org.hsqldb.jdbcDriver.getConnection(Unknown Source)
org.hsqldb.jdbcDriver.connect(Unknown Source)
java.sql.DriverManager.getConnection(DriverManager.java:582)
java.sql.DriverManager.getConnection(DriverManager.java:154)
org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:174)
org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:165)
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149)
org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119)
org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:577)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:641)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:670)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:678)
org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:710)
net.sourceforge.subsonic.backend.dao.AbstractDao.query(AbstractDao.java:41)
net.sourceforge.subsonic.backend.dao.AbstractDao.queryOne(AbstractDao.java:45)
net.sourceforge.subsonic.backend.dao.RedirectionDao.getRedirection(RedirectionDao.java:32)
net.sourceforge.subsonic.backend.controller.RedirectionController.handleRequest(RedirectionController.java:57)
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.33 logs.

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 4:47 am
by Luriden
Did it just start out tonight for you? I did have some Windows 8 updates to install, but that was shortly after I started having the HTTP error. I restarted hoping it would fix the error and that was when I noticed the Windows updates installing.

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 4:53 am
by DontquestionIt
Yeah, it started happening tonight. I'm not sure on exactly when since I've turned on my computer around half an hour ago and didn't have access to Subsonic

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 5:22 am
by onlyonthursdays
Hi,
Just wanted to pitch in and say I've been having the exact same error. In Australia running windows 7 and it started a few hours ago. Strange because I haven't installed or updated anything.
Something odd was that I did notice all the icons including subsonic disappearing from the system tray all at once, so I restarted the computer, and that's when I tested it with the mobile app and was getting the error. Not sure if what I explained is related or not.

Hopefully we can find a solution to this!

Sent from my GT-N7100 using Tapatalk 2

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 6:44 am
by xaman
i am in Tennessee and am experiencing the same thing.
if you go to subsonic.org you will notice that you cannot connect
also theres this http://www.websitedown.info/subsonic.org
error 500 is usually an internal error and usually means that there is a problem with the website or that maintenance is being done. alls i know is that i and alot of my friends are having the same issues.
is it gone forever?
man i miss audiogalaxy......

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 6:51 am
by GJ51
It's happened a few times before. It should come back up as soon as the dev realizes somethings wrong. The site was generating a java/springwork error when it died, so it's something wrong, not just a shut off of the site.

Until then your wlecome to use my site if you don't have your external ip handy.

Cheers.

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 9:03 am
by Luriden
It's back up! Good to know for the future if this happens again. Had I known it wasn't a problem on my side, I would have waited it out. I just assumed something corrupted somewhere since I was messing with user accounts at the time it went down.

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 4:20 pm
by GJ51
Luriden wrote:It's back up! Good to know for the future if this happens again. Had I known it wasn't a problem on my side, I would have waited it out. I just assumed something corrupted somewhere since I was messing with user accounts at the time it went down.



Yeah. it's one of those "gotcha" moments that don't happen too often. It had me scratching my head for a few minutes until I started checking other sites that I have access to and found that we were all getting the same error message. The other clue that pointed me in that direction was that the error message was from Tomcat 5.3? and I run Tomcat 6.035 on all my sites. That's what got me thinking that the error was coming from the redirection site.

To confirm that was the issue, I just used my external ip and the port number for the browser address and my site came right up.

At first I thought this was caused by MS update Tuesday as all my servers had just finished their weekly autoupdates.

Just shows you how much fun this stuff can be.

Fortunately, this usually doesn't happen more than once or twice/year.

Re: HTTP Error 500

PostPosted: Thu Feb 14, 2013 11:20 pm
by BKKKPewsey
Yep it had me going for awhile and like you I just had the large monthly Windows update installed on the server.
I'm afraid the air was rather blue and Mr Gates name was used in rather a derogatory manner :lol:
To make things even more confusing it only affected me new Droid phone as the laptop browser had already cached the address.

:mrgreen: