java.io.IOException: Unable to establish loopback connection

Need help? Post your questions here.

Moderator: moderators

java.io.IOException: Unable to establish loopback connection

Postby akhliber » Wed Aug 11, 2010 2:37 pm

Hey guys... As of the past few days I can no longer access my subsonic site. The address times out and the only other error I can find is on the Subsonic control panel, which states:

"java.io.IOException: Unable to establish loopback connection"

any ideas on how to fix this? any help would be greatly appreciated!
akhliber
 
Posts: 25
Joined: Wed Jun 30, 2010 1:01 pm

Postby Kirk » Wed Aug 11, 2010 3:42 pm

Have you tried restarting the Subsonic process? Sometimes that fixes odd problems.

Can you include a log excerpt so we can see more of what's happening?

Cheers,
Kirk
Image
User avatar
Kirk
 
Posts: 310
Joined: Tue Jun 08, 2010 5:45 pm
Location: Illinois, USA

Postby akhliber » Wed Aug 11, 2010 3:57 pm

I tried restarting the service, and it no longer shows the same error message in the control panel, but the problem is not resolved. I haven't made any firewall or router changes and it was working without a hitch before.
Not sure which part of the subsonic log is important, so I hope it's okay to just post it in its entirety. Bear with me here :)
here's a complete past of the log currently, hope this helps. Any suggestions will be greatly appreciated! Thanks again :)


11 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@14a9972: display name [org.springframework.context.support.ClassPathXmlApplicationContext@14a9972]; startup date [Wed Aug 11 11:50:57 EDT 2010]; root of context hierarchy
65 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-deployer.xml]
386 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@14a9972]: org.springframework.beans.factory.support.DefaultListableBeanFactory@f7f540
397 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f7f540: defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
422 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
Using WAR file: C:\Program Files (x86)\Subsonic\subsonic.war
Extracting webapp to c:\subsonic\jetty\1529
Using WAR file: C:\Program Files (x86)\Subsonic\subsonic.war
458 [main] INFO org.mortbay.log - jetty-6.1.x
786 [main] INFO /subsonic - Initializing Spring root WebApplicationContext
786 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
813 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@958bb8: display name [Root WebApplicationContext]; startup date [Wed Aug 11 11:50:58 EDT 2010]; root of context hierarchy
856 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-service.xml]
921 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml]
957 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-cache.xml]
987 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@958bb8]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1b64e6a
1057 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1b64e6a: defining beans [playerDao,internetRadioDao,musicFileInfoDao,musicFolderDao,userDao,transcodingDao,podcastDao,avatarDao,daoHelper,musicFileService,coverArtBatchService,securityService,settingsService,searchService,networkService,playerService,playlistService,versionService,statusService,musicInfoService,musicIndexService,discogsSearchService,audioScrobblerService,transcodingService,podcastService,adService,jukeboxService,metaDataParserFactory,ajaxMultiService,ajaxNowPlayingService,ajaxPlaylistService,ajaxLyricsService,ajaxCoverArtService,ajaxTagService,ajaxTransferService,ajaxChatService,filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,basicProcessingFilter,restRequestParameterProcessingFilter,basicProcessingFilterEntryPoint,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,basicExceptionTranslationFilter,filterInvocationInterceptor,accessDecisionManager,rememberMeServices,authenticationManager,daoAuthenticationProvider,userCacheWrapper,ldapAuthenticationProvider,bindAuthenticator,userDetailsServiceBasedAuthoritiesPopulator,ajaxServiceInterceptor,ajaxTagServiceSecure,ajaxTransferServiceSecure,cacheManager,userCache,musicFileCache,childDirCache,coverArtCache,musicFolderCache,chatCache]; root of factory hierarchy
1098 [main] INFO org.springframework.jdbc.datasource.DriverManagerDataSource - Loaded JDBC driver: org.hsqldb.jdbcDriver
1705 [main] INFO org.springframework.cache.ehcache.EhCacheManagerFactoryBean - Initializing EHCache CacheManager
Aug 11, 2010 11:50:59 AM net.sf.ehcache.CacheManager addShutdownHookIfRequired
INFO: The CacheManager shutdown hook is enabled because net.sf.ehcache.enableShutdownHook is set to true.
Aug 11, 2010 11:50:59 AM net.sf.ehcache.Cache initialise
WARNING: Cache: chatCache has a maxElementsInMemory of 0. It is strongly recommended to have a maximumSize of at least 1. Performance is halved by not using a MemoryStore.
Aug 11, 2010 11:50:59 AM net.sf.ehcache.Cache initialise
WARNING: Cache: musicFolderCache has a maxElementsInMemory of 0. It is strongly recommended to have a maximumSize of at least 1. Performance is halved by not using a MemoryStore.
2077 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
2086 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public net.sourceforge.subsonic.ajax.UploadInfo net.sourceforge.subsonic.ajax.TransferService.getUploadInfo()] with attributes [[ROLE_UPLOAD]]
2086 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public java.lang.String net.sourceforge.subsonic.ajax.TagService.setTags(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)] with attributes [[ROLE_COVERART]]
2086 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
2103 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 1316 ms
2158 [main] INFO /subsonic - Initializing Spring FrameworkServlet 'subsonic'
2158 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization started
2159 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@940f82: display name [WebApplicationContext for namespace 'subsonic-servlet']; startup date [Wed Aug 11 11:50:59 EDT 2010]; parent: org.springframework.web.context.support.XmlWebApplicationContext@958bb8
2161 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/subsonic-servlet.xml]
2211 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@940f82]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1a5ec6c
2273 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1a5ec6c: defining beans [leftController,rightController,statusController,mainController,topController,helpController,moreController,uploadController,lyricsController,allmusicController,podcastController,podcastReceiverController,podcastReceiverAdminController,setMusicFileInfoController,setRatingController,randomPlaylistController,loadPlaylistController,savePlaylistController,changeCoverArtController,nowPlayingController,searchController,settingsController,playerSettingsController,musicFolderSettingsController,networkSettingsController,transcodingSettingsController,internetRadioSettingsController,podcastSettingsController,searchSettingsController,coverArtSettingsController,generalSettingsController,advancedSettingsController,personalSettingsController,avatarUploadController,userSettingsController,passwordSettingsController,homeController,editTagsController,playlistController,xspfPlaylistController,coverArtController,avatarController,proxyController,statusChartController,userChartController,m3uController,streamController,downloadController,donateController,multiController,wapController,restController,dbController,savePlaylistValidator,donateValidator,userSettingsValidator,passwordSettingsValidator,urlMapping,messageSource,themeSource,localeResolver,themeResolver,viewResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@1b64e6a
2639 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization completed in 481 ms
2683 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:8080
Subsonic running on http://localhost:8080/subsonic
2719 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
3733 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
3764 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[192.168.0.197:9412](local),objID:[0:0:0, 0]]]]
akhliber
 
Posts: 25
Joined: Wed Jun 30, 2010 1:01 pm

Postby Kirk » Wed Aug 11, 2010 4:03 pm

Well, you should probably wait and post the log when you actually see an IOException in it... that way we possibly can tell what's going wrong. The log excerpt you posted doesn't contain the error.

And, I disagree.. The problem is resolved if it doesn't come back. 8) We'll see... if you get the error again copy and paste the log segment for us please. :)

Cheers,
Kirk
Image
User avatar
Kirk
 
Posts: 310
Joined: Tue Jun 08, 2010 5:45 pm
Location: Illinois, USA


Return to Help

Who is online

Users browsing this forum: No registered users and 9 guests