I can't connect to my subsonic server outside from my local network. I'm running subsonic in a Raspberry PI 3 (RPI3) with the latest RASPBIAN JESSIE LITE, the instalation of subsonic was via .deb file. I install oracle-java7-jdk on the RPI3.
Also, I properly open the port (4040) in my router.
Here is my configuration
License Subsonic Premium
Version 6.0 (build a7857c) – April 30, 2016
Server jetty-6.1.x, java 1.7.0_60, Linux (91.5 MB / 151.2 MB
The last ten lines of the subsonic.log file
- Code: Select all
[2016-07-06 18:19:17,467] INFO HsqlDaoHelper - Checking database schema.
[2016-07-06 18:19:44,923] INFO HsqlDaoHelper - Done checking database schema.
[2016-07-06 18:19:45,530] INFO SettingsService - Java: 1.7.0_60, OS: Linux
[2016-07-06 18:19:45,651] INFO VersionService - Resolved local Subsonic version to: 6.0
[2016-07-06 18:19:46,563] INFO MediaScannerService - Automatic media library scanning scheduled to run every 3 day(s), starting at Thu $
[2016-07-06 18:19:46,932] INFO UPnPService - Starting UPnP service...
[2016-07-06 18:19:47,265] INFO UPnPService - Disabling UPnP/DLNA media server
[2016-07-06 18:19:47,267] INFO UPnPService - Starting UPnP service - Done!
[2016-07-06 18:19:47,308] INFO PodcastService - Automatic Podcast update disabled.
[2016-07-06 18:19:57,033] INFO NetworkService - Deleted port mapping for port 4040
[2016-07-06 18:20:03,876] INFO BootstrapVerificationFilter - Servlet container: jetty-6.1.x
[2016-07-06 18:20:05,014] INFO VersionService - Resolved latest Subsonic final version to: 6.0
[2016-07-06 18:20:05,015] INFO VersionService - Resolved latest Subsonic beta version to: 6.0.beta2
[2016-07-06 18:20:19,167] INFO NetworkService - Deleted port mapping for port 4040
[2016-07-06 18:20:36,393] INFO CoverArtController - Created thumbnail cache /var/subsonic/thumbs/300
[2016-07-06 18:46:50,998] INFO NetworkService - Deleted port mapping for port 4040
The last lines of the subsonic_sh.log file (I deleted al the GC entries)
- Code: Select all
158 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@aea981: display name [org.springframework.context.support.ClassPathXmlApplicationContext@aea981]; startup date [Wed Jul 06 18:17:41 CDT 2016]; root of context hierarchy
402 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [applicationContext-deployer.xml]
1596 [main] INFO org.springframework.context.support.ClassPathXmlApplicationContext - Bean factory for application context [org.springframework.context.support.ClassPathXmlApplicationContext@aea981]: org.springframework.beans.factory.support.DefaultListableBeanFactory@17a5010
1644 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@17a5010: defining beans [service,org.springframework.remoting.rmi.RmiServiceExporter#0]; root of factory hierarchy
1757 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
Using WAR file: /usr/share/subsonic/subsonic.war
Extracting webapp to /var/subsonic/jetty/a7857c
Using WAR file: /usr/share/subsonic/subsonic.war
1909 [main] INFO org.mortbay.log - jetty-6.1.x
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/share/subsonic/subsonic-booter-jar-with-dependencies.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/var/subsonic/jetty/a7857c/webapp/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
93854 [main] INFO / - Initializing Spring root WebApplicationContext
93855 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
93958 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1e21f45: display name [Root WebApplicationContext]; startup date [Wed Jul 06 18:19:15 CDT 2016]; root of context hierarchy
94123 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-service.xml]
94395 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-security.xml]
94505 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-cache.xml]
94567 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-sonos.xml]
94641 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
94687 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
95376 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1e21f45]: org.springframework.beans.factory.support.DefaultListableBeanFactory@9b967b
96181 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@9b967b: defining beans [playerDao,mediaFileDao,artistDao,albumDao,playlistDao,playQueueDao,internetRadioDao,musicFileInfoDao,musicFolderDao,userDao,transcodingDao,podcastDao,avatarDao,shareDao,bookmarkDao,videoConversionDao,daoHelper,mediaFileService,securityService,settingsService,mediaScannerService,searchService,networkService,playerService,playlistService,versionService,statusService,ratingService,musicIndexService,audioScrobblerService,transcodingService,shareService,podcastService,adService,jukeboxService,folderBasedContentDirectory,upnpService,lastFmService,videoConversionService,sonosService,metaDataParserFactory,ajaxMultiService,ajaxNowPlayingService,ajaxPlayQueueService,ajaxPlaylistService,ajaxLyricsService,ajaxCoverArtService,ajaxStarService,ajaxTagService,ajaxTransferService,ajaxChatService,localeResolver,loginFailureLogger,net.sourceforge.subsonic.security.SubsonicApplicationEventListener#0,filterChainProxy,httpSessionContextIntegrationFilter,logoutFilter,authenticationProcessingFilter,basicProcessingFilter,restRequestParameterProcessingFilter,basicProcessingFilterEntryPoint,securityContextHolderAwareRequestFilter,rememberMeProcessingFilter,anonymousProcessingFilter,exceptionTranslationFilter,basicExceptionTranslationFilter,filterInvocationInterceptor,accessDecisionManager,rememberMeServices,authenticationManager,daoAuthenticationProvider,userCacheWrapper,ldapAuthenticationProvider,bindAuthenticator,userDetailsServiceBasedAuthoritiesPopulator,ajaxServiceInterceptor,ajaxTagServiceSecure,ajaxTransferServiceSecure,cacheFactory,userCache,mediaFileMemoryCache,cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,sonosEndpoint,sonosHelper]; root of factory hierarchy
96312 [main] INFO org.springframework.jdbc.datasource.DriverManagerDataSource - Loaded JDBC driver: org.hsqldb.jdbcDriver
131233 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
131256 [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]]
131257 [main] INFO org.acegisecurity.intercept.method.MethodDefinitionMap - Adding secure method [public java.lang.String net.sourceforge.subsonic.ajax.TagService.setTags(int,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)] with attributes [[ROLE_COVERART]]
131257 [main] INFO org.acegisecurity.intercept.AbstractSecurityInterceptor - Validated configuration attributes
135245 [main] INFO org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization completed in 41390 ms
135765 [main] INFO / - Initializing Spring FrameworkServlet 'subsonic'
135765 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization started
135767 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@13326f6: display name [WebApplicationContext for namespace 'subsonic-servlet']; startup date [Wed Jul 06 18:19:56 CDT 2016]; parent: org.springframework.web.context.support.XmlWebApplicationContext@1e21f45
135768 [main] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from ServletContext resource [/WEB-INF/subsonic-servlet.xml]
135959 [main] INFO org.springframework.web.context.support.XmlWebApplicationContext - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@13326f6]: org.springframework.beans.factory.support.DefaultListableBeanFactory@2cf72d
136189 [main] INFO org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2cf72d: defining beans [leftController,artistsController,rightController,statusController,mainController,playlistController,playlistsController,importPlaylistController,topController,helpController,moreController,uploadController,lyricsController,allmusicController,podcastController,podcastChannelsController,internetRadioController,internetRadioStreamController,podcastChannelController,podcastReceiverAdminController,setMusicFileInfoController,shareManagementController,setRatingController,randomPlayQueueController,changeCoverArtController,nowPlayingController,starredController,searchController,settingsController,playerSettingsController,dlnaSettingsController,sonosSettingsController,shareSettingsController,musicFolderSettingsController,networkSettingsController,transcodingSettingsController,internetRadioSettingsController,podcastSettingsController,videoConversionSettingsController,generalSettingsController,advancedSettingsController,personalSettingsController,avatarUploadController,userSettingsController,passwordSettingsController,homeController,editTagsController,playQueueController,coverArtController,captionsController,avatarController,proxyController,statusChartController,userChartController,m3uController,streamController,hlsController,videoPlayerController,videoConverterController,externalPlayerController,downloadController,premiumSettingsController,multiController,wapController,restController,dbController,premiumSettingsValidator,userSettingsValidator,passwordSettingsValidator,urlMapping,messageSource,themeSource,themeResolver,viewResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@9b967b
138475 [main] INFO org.springframework.web.servlet.DispatcherServlet - FrameworkServlet 'subsonic': initialization completed in 2710 ms
138514 [main] INFO org.mortbay.log - Started SelectChannelConnector@0.0.0.0:4040
Subsonic running on: http://localhost:4040/
138615 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Looking for RMI registry at port '9412'
138657 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Could not detect RMI registry - creating new one
138734 [main] INFO org.springframework.remoting.rmi.RmiServiceExporter - Binding service 'SubsonicDeployerService' to RMI registry: RegistryImpl[UnicastServerRef [liveRef: [endpoint:[127.0.1.1:9412](local),objID:[0:0:0, 0]]]]
143889 [btpool0-5] INFO org.directwebremoting.log.startup - Starting: DwrServlet v3.0.0-FINAL on jetty-6.1.x / JDK 1.7.0_60 from Oracle Corporation at
147326 [btpool0-5] INFO org.directwebremoting.log.startup - Starting: Using container abstraction org.directwebremoting.server.servlet2.Servlet24ContainerAbstraction
147367 [btpool0-5] INFO org.directwebremoting.servlet.UrlProcessor - Probably not an issue: the url:/gi.js (org.directwebremoting.gi.GiHandler) Handler is not available. This is only an problem if you wanted to use it.
Any help would be really appreciated. Cheers to all