Page 1 of 1

Page won't load; Can't get started/working [Resolved]

PostPosted: Sun Apr 29, 2012 4:51 am
by rochoada
I have downloaded the application...followed the instructions...Able to access several folders remotely on laptop and android...but haven't been able to keep it working more than 1/2 hour...Subsonic currently won't load...Keep getting a message - Firefox can't establish a connection to the server at localhost:4040.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
I am very frustrated, as I have been working on this for hours...

Any help would be greatly appreciated...

Re: Page won't load; Can't get started/working

PostPosted: Sun Apr 29, 2012 1:05 pm
by BKKKPewsey
Have a read of viewtopic.php?f=2&t=5506.
Knowing what SS is running on would help :?

Re: Page won't load; Can't get started/working

PostPosted: Sun Apr 29, 2012 2:52 pm
by rochoada
Problem Description: Would not load yesterday (all day)...Now it does...This has happened several times...
Troubleshooting Steps: I did not do anything different than yesterday...
Playback Application and version: Not sure what this means? Laptop/android/music
Subsonic Version: (copy/paste from the "About" screen in the Subsonic Web Interface) Not sure where to find this (get info?)
Server Version: (copy/paste from the "About" screen in the Subsonic Web Interface) Not sure where to find this (get info?)
Hardware Platform: Mac OSX 10.6.8
Java Memory Limit: I'm not sure where to find this
Problem Filename: (If you are having difficulty with a particular file, please include it's name)
Output from ffmpeg -i: (If you open a command prompt and type 'ffmpeg -i <filename>' what is the output? Ideally put this in a "code" block)
Last ten log file lines: (The last ten or so lines copied and pasted from the About screen in the Subsonic Web Interface. Ideally these will be in a CODE block as well.)

I am more than happy to make a donation...Subsonic would be an answer to my dreams, if I could get it to work consistently...

Re: Page won't load; Can't get started/working

PostPosted: Sun Apr 29, 2012 3:03 pm
by rochoada
I read in forums that I should add memory via the subsonic control panel...I could highlight the number, but could not change it...I went into preferences to change it to read & write, but I still couldn't add memory...Right now I notice on the subsonic control panel memory used is 32mb and has gone up to 47MB as I am writing this...before it said 98mb when it wouldn't load...Could this be the problem?

Re: Page won't load; Can't get started/working

PostPosted: Sun Apr 29, 2012 11:25 pm
by BKKKPewsey
Read viewtopic.php?t=5776#p22190 with regard to changing your memory allocation for your os.

:mrgreen:

Re: Page won't load; Can't get started/working

PostPosted: Tue May 01, 2012 12:51 am
by rochoada
Got subsonic to work all day Sunday, except couldn't connect with my android phone without using the home wifi...I had a total of 3 other computers working remotely (on the same wi fi connection)...
Came home from work and tried Subsonic and got the following message, again :

Unable to connect
Firefox can't establish a connection to the server at localhost:4040.
The site could be temporarily unavailable or too busy. Try again in a few moments.
If you are unable to load any pages, check your computer's network connection.
If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

I'm not having problems loading any other web sites...
I am running Subsonic on an iMac, Mac OSX 10.6.8; My other computers(3) are all macbook's...Thank you

Re: Page won't load; Can't get started/working

PostPosted: Tue May 01, 2012 1:21 am
by rochoada
I have seen the following:

If Subsonic doesn't start properly you can troubleshoot it by starting it from the
command line: /Applications/Subsonic.app/Contents/MacOS/JavaApplicationStub.

I can't figure out how to get to "Contents"...

I have also gone to:

Also check the logs in /Library/Application Support/Subsonic.

I saw the logs but have no idea what it means...I found crashreporter, diagnostic reports....Nothing with today's date tho...HELP!

Re: Page won't load; Can't get started/working

PostPosted: Tue May 01, 2012 11:29 pm
by rochoada
Try to restart today and received this message:

Error

Subsonic encountered an internal error. You can report this error in the Subsonic Forum. Please include the information below.
Exception java.lang.OutOfMemoryError
Message Java heap space
Java version Apple Inc. 1.6.0_31
Operating system Mac OS X 10.6.8
Server jetty-6.1.x
Memory Used 97 of 97 MB
Stack trace java.lang.OutOfMemoryError: Java heap space at java.lang.String.substring(String.java:1939) at java.lang.String.subSequence(String.java:1972) at java.util.regex.Pattern.split(Pattern.java:1002) at java.lang.String.split(String.java:2292) at net.sourceforge.subsonic.service.SearchService$Line.parse(SearchService.java:679) at net.sourceforge.subsonic.service.SearchService.getIndex(SearchService.java:552) at net.sourceforge.subsonic.service.SearchService.getStatistics(SearchService.java:295) at net.sourceforge.subsonic.controller.LeftController.handleRequestInternal(LeftController.java:122) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)

Re: Page won't load; Can't get started/working

PostPosted: Wed May 02, 2012 4:38 am
by hakko
Alter /Applications/Subsonic.app/Contents/Info.plist

I think it says

Code: Select all
      <key>VMOptions</key>
      <array>
       <string>-Xmx100m</string>
      </array>


by default, change 100 to 256 or so.

Re: Page won't load; Can't get started/working

PostPosted: Thu May 03, 2012 12:40 am
by rochoada
I figured out how to get to: /Applications/Subsonic.app/Contents/Info.plist...I had to change the "open with" to "text edit" to make changes...I changed the default Xmx100m to 512...Subsonic is back up and working for me now! Hopefully that will do the trick...Thank you!