Running stardog server on localhost and connecting to studio fails

Hi, I have stardog server running on my Mac but localhost:5820 (on google chrome) says "site can't be reached" (see attached). in terminal, I can see server status as up and running. also, trying to connect to stardog studio fails to connect to both the http and https url for stardog studio (also attached screenshot).

server shows no errors and am using default 5820 port and a test user I created.

server running but browser shows refused:

cannot connect:

Hi,

Could you open up your browser's console and see what, if anything, is being output to it? Additionally, what is the full URL you're using in Studio to connect (we can't see it under the popup)?

Thanks,
For http://localhost:5280/ the (chrome) browser console has no errors, just:

crbug/1173575, non-JS module files deprecated.
(anonymous) @ VM315:6774

I tried to connect on Stardog Studio and also the https equivalent but same error in red (stardog server is not responding)

on terminal:

stardog-admin server start :

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.assistedinject.FactoryProvider2 (file:/usr/local/Caskroom/stardog/7.9.0/stardog-7.9.0/client/api/guice-assistedinject-4.2.3.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of com.google.inject.assistedinject.FactoryProvider2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

************************************************************
This copy of Stardog is licensed to <>
This is a Enterprise license
This license will expire in 363 days on Tue Mar 14 15:54:01 GMT 2023
************************************************************

                                                             :;   
                                      ;;                   `;`:   
  `'+',    ::                        `++                    `;:`  
 +###++,  ,#+                        `++                    .     
 ##+.,',  '#+                         ++                     +    
,##      ####++  ####+:   ##,++` .###+++   .####+    ####++++#    
`##+     ####+'  ##+#++   ###++``###'+++  `###'+++  ###`,++,:     
 ####+    ##+        ++.  ##:   ###  `++  ###  `++` ##`  ++:      
  ###++,  ##+        ++,  ##`   ##;  `++  ##:   ++; ##,  ++:      
    ;+++  ##+    ####++,  ##`   ##:  `++  ##:   ++' ;##'#++       
     ;++  ##+   ###  ++,  ##`   ##'  `++  ##;   ++:  ####+        
,.   +++  ##+   ##:  ++,  ##`   ###  `++  ###  .++  '#;           
,####++'  +##++ ###+#+++` ##`   :####+++  `####++'  ;####++`      
`####+;    ##++  ###+,++` ##`    ;###:++   `###+;   `###++++      
                                                    ##   `++      
                                                   .##   ;++      
                                                    #####++`      
                                                     `;;;.        
************************************************************


Stardog server 7.9.0 started on Tue Mar 15 16:32:10 GMT 2022.

Stardog server is listening on all network interfaces.
HTTP server available at http://localhost:5820.

STARDOG=/usr/local/Caskroom/stardog/7.9.0/stardog-7.9.0/bin/..

STARDOG_HOME=/Users/singha21/stardog_install/stardog-home/

stardog-admin server status :

Backup Storage Directory : .backup
CPU Load                 : 0.22 %
Connection Timeout       : 10m
Export Storage Directory : .exports
Memory Heap              :  73M (Max: 1.9G)
Memory Mode              : DEFAULT{Starrocks.dict_block_cache=10, Starrocks.block_cache=20, Native.starrocks=70, Heap.dict_value=50, Starrocks.txn_block_cache=5, Heap.dict_index=50, Starrocks.memtable=40, Starrocks.untracked_memory=20, Starrocks.buffer_pool=5, Native.query=30}
Memory Query Blocks      :   0B (Max: 373M)
Memory Query Blocks Heap :   0B (Max: 373M)
Memory RSS               : 483M
Named Graph Security     : false
Platform Arch            : x86_64
Platform OS              : Mac OS X 11.5, Java 11.0.13
Query All Graphs         : false
Query Timeout            : 5m
Security Disabled        : false
Stardog Home             : /Users/singha21/stardog_install/stardog-home
Stardog Version          : 7.9.0
Strict Parsing           : true
Uptime                   : 2 minutes 14 seconds

fyi


my studio connection settings used

Well, what you're seeing going to http://localhost:5820 in a browser is expected; stardog doesn't serve up a front end, instead relying on Stardog Studio.

Are there browser console errors when attempting to connect from http://stardog.studio?

Are you using Firefox? Stardog does not work particularly well in Chrome or Safari.

ah yes. console errors here. using chrome. also have safari.


don't have firefox on this newer machine yet.

could it some firewall blocking things? as on a work network.

though logs look normal

Maybe try with Firefox?

Tried and it worked with Safari :slight_smile: fails with chrome

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.