Can't connect to localhost server - using docker quickstart standalone

I’m trying to follow the tutorial guide ( https://dgraph.io/docs/tutorial-1/ ) and running into a problem right from the start. The UI at localhost:8000/?latest shows little lock icons on all of the links down the left side. I can’t do queries or mutations (see screenshot).

The documentation in the tutorial skips the login screen so I’m not sure if I need a password there or not. Searching this site leads me to believe I don’t need a password.

I ran the server in Docker:
docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone

There doesn’t appear to be a v20.11 as referenced in the tutorial. This does not work:
docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone:v20.11

What do I have misconfigured? What do the red, lock icons mean?

I was able to run this

docker run --rm -it -p 8000:8000 -p 8080:8080 -p 9080:9080 dgraph/standalone:v20.11.0

So, it is missing the .0

It means that it can’t reach any Dgraph instance. As you have trouble to run the standalone, for sure there is nothing running. Fix that and it will work.

I ran the docker command you pasted, with v20.11.0, and it did start up. I still get the lock icons and errors when I try to query. I attached the startup log. What else can I do to troubleshoot this? Thanks for your help.

Unable to find image 'dgraph/standalone:v20.11.0' locally
v20.11.0: Pulling from dgraph/standalone
Digest: sha256:d2b8c66c238dcb798e411575fd2eb4c5d73b9d14710d281a0888f94dad7701cf
Status: Downloaded newer image for dgraph/standalone:v20.11.0

Warning: This standalone version is meant for quickstart purposes only.
         It is NOT RECOMMENDED for production environments.
[Decoder]: Using assembly version of decoder
[Decoder]: Using assembly version of decoder
2020/12/22 00:19:09 Listening on :8000...
Page Size: 4096
[Sentry] 2020/12/22 00:19:09 Integration installed: ContextifyFrames
[Sentry] 2020/12/22 00:19:09 Integration installed: Environment
[Sentry] 2020/12/22 00:19:09 Integration installed: Modules
[Sentry] 2020/12/22 00:19:09 Integration installed: IgnoreErrors
Page Size: 4096
[Sentry] 2020/12/22 00:19:09 Integration installed: ContextifyFrames
[Sentry] 2020/12/22 00:19:09 Integration installed: Environment
[Sentry] 2020/12/22 00:19:09 Integration installed: Modules
[Sentry] 2020/12/22 00:19:09 Integration installed: IgnoreErrors
[Decoder]: Using assembly version of decoder
[Decoder]: Using assembly version of decoder
Page Size: 4096
[Sentry] 2020/12/22 00:19:10 Integration installed: ContextifyFrames
[Sentry] 2020/12/22 00:19:10 Integration installed: Environment
[Sentry] 2020/12/22 00:19:10 Integration installed: Modules
[Sentry] 2020/12/22 00:19:10 Integration installed: IgnoreErrors
Page Size: 4096
[Sentry] 2020/12/22 00:19:10 Integration installed: ContextifyFrames
[Sentry] 2020/12/22 00:19:10 Integration installed: Environment
[Sentry] 2020/12/22 00:19:10 Integration installed: Modules
[Sentry] 2020/12/22 00:19:10 Integration installed: IgnoreErrors
I1222 00:19:10.440461      32 sentry_integration.go:48] This instance of Dgraph will send anonymous reports of panics back to Dgraph Labs via Sentry. No confidential information is sent. These reports help improve Dgraph. To opt-out, restart your instance with the --enable_sentry=false flag. For more info, see https://dgraph.io/docs/howto/#data-handling.
I1222 00:19:10.459179      35 sentry_integration.go:48] This instance of Dgraph will send anonymous reports of panics back to Dgraph Labs via Sentry. No confidential information is sent. These reports help improve Dgraph. To opt-out, restart your instance with the --enable_sentry=false flag. For more info, see https://dgraph.io/docs/howto/#data-handling.
I1222 00:19:10.460355      35 util_ee.go:126] KeyReader instantiated of type <nil>
I1222 00:19:10.611307      32 init.go:107]

Dgraph version   : v20.11.0
Dgraph codename  : tchalla
Dgraph SHA-256   : 8acb886b24556691d7d74929817a4ac7d9db76bb8b77de00f44650931a16b6ac
Commit SHA-1     : c4245ad55
Commit timestamp : 2020-12-16 15:55:40 +0530
Branch           : HEAD
Go version       : go1.15.5
jemalloc enabled : true


Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
Copyright 2015-2020 Dgraph Labs, Inc.


I1222 00:19:10.611422      32 run.go:185] Setting Config to: {bindall:true portOffset:0 nodeId:1 numReplicas:1 peer: w:zw rebalanceInterval:480000000000 tlsClientConfig:<nil>}
I1222 00:19:10.611464      32 run.go:98] Setting up grpc listener at: 0.0.0.0:5080
I1222 00:19:10.611691      32 run.go:98] Setting up http listener at: 0.0.0.0:6080
I1222 00:19:10.614792      32 storage.go:132] Init Raft Storage with snap: 0, first: 1, last: 0
I1222 00:19:10.615463      32 node.go:152] Setting raft.Config to: &{ID:1 peers:[] learners:[] ElectionTick:20 HeartbeatTick:1 Storage:0xc00011c280 Applied:0 MaxSizePerMsg:262144 MaxCommittedSizePerReady:67108864 MaxUncommittedEntriesSize:0 MaxInflightMsgs:256 CheckQuorum:false PreVote:true ReadOnlyOption:0 Logger:0x2dffcb8 DisableProposalForwarding:false}
I1222 00:19:10.625114      32 node.go:326] Group 0 found 0 entries
I1222 00:19:10.625371      32 raft.go:600] Starting a brand new node
I1222 00:19:10.625428      32 log.go:34] 1 became follower at term 0
I1222 00:19:10.625439      32 log.go:34] newRaft 1 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
I1222 00:19:10.625476      32 log.go:34] 1 became follower at term 1
I1222 00:19:10.627324      32 run.go:303] Running Dgraph Zero...
E1222 00:19:10.629337      32 raft.go:484] While proposing CID: Not Zero leader. Aborting proposal: cid:"3c4163b6-105f-4d21-afa3-de10a964bb80" . Retrying...
I1222 00:19:10.629093      32 node.go:189] Setting conf state to nodes:1
I1222 00:19:10.630083      32 raft.go:878] Done applying conf change at 0x1
I1222 00:19:10.633093      35 init.go:107]

Dgraph version   : v20.11.0
Dgraph codename  : tchalla
Dgraph SHA-256   : 8acb886b24556691d7d74929817a4ac7d9db76bb8b77de00f44650931a16b6ac
Commit SHA-1     : c4245ad55
Commit timestamp : 2020-12-16 15:55:40 +0530
Branch           : HEAD
Go version       : go1.15.5
jemalloc enabled : true


Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
Copyright 2015-2020 Dgraph Labs, Inc.


I1222 00:19:10.633151      35 run.go:696] x.Config: {PortOffset:0 QueryEdgeLimit:1000000 NormalizeNodeLimit:10000 MutationsNQuadLimit:1000000 PollInterval:1s GraphqlExtension:true GraphqlDebug:false GraphqlLambdaUrl:}
I1222 00:19:10.633230      35 run.go:697] x.WorkerConfig: {TmpDir:t ExportPath:export NumPendingProposals:256 Tracing:0.01 MyAddr: ZeroAddr:[localhost:5080] TLSClientConfig:<nil> TLSServerConfig:<nil> RaftId:0 WhiteListedIPRanges:[{Lower:0.0.0.0 Upper:255.255.255.255}] MaxRetries:-1 StrictMutations:false AclEnabled:false AbortOlderThan:5m0s SnapshotAfter:10000 ProposedGroupId:0 StartTime:2020-12-22 00:19:10.125064501 +0000 UTC m=+0.034661266 LudicrousMode:false LudicrousConcurrency:2000 EncryptionKey:**** LogRequest:0 HardSync:false}
I1222 00:19:10.633339      35 run.go:698] worker.Config: {PostingDir:p PostingDirCompression:1 PostingDirCompressionLevel:0 WALDir:w MutationsMode:0 AuthToken: PBlockCacheSize:697932185 PIndexCacheSize:375809638 WalCache:0 HmacSecret:**** AccessJwtTtl:0s RefreshJwtTtl:0s CachePercentage:0,65,35,0 CacheMb:0}
I1222 00:19:10.634503      35 storage.go:132] Init Raft Storage with snap: 0, first: 1, last: 0
I1222 00:19:10.634614      35 server_state.go:76] Setting Posting Dir Compression Level: 0
I1222 00:19:10.634624      35 server_state.go:120] Opening postings BadgerDB with options: {Dir:p ValueDir:p SyncWrites:false NumVersionsToKeep:2147483647 ReadOnly:false Logger:0x2dffcb8 Compression:1 InMemory:false MemTableSize:67108864 BaseTableSize:2097152 BaseLevelSize:10485760 LevelSizeMultiplier:10 TableSizeMultiplier:2 MaxLevels:7 ValueThreshold:1024 NumMemtables:5 BlockSize:4096 BloomFalsePositive:0.01 BlockCacheSize:697932185 IndexCacheSize:375809638 NumLevelZeroTables:5 NumLevelZeroTablesStall:15 ValueLogFileSize:1073741823 ValueLogMaxEntries:1000000 NumCompactors:4 CompactL0OnClose:false ZSTDCompressionLevel:0 VerifyValueChecksum:false EncryptionKey:[] EncryptionKeyRotationDuration:240h0m0s BypassLockGuard:false ChecksumVerificationMode:0 DetectConflicts:false managedTxns:false maxBatchCount:0 maxBatchSize:0}
I1222 00:19:10.662494      35 log.go:34] All 0 tables opened in 0s
I1222 00:19:10.664341      35 log.go:34] Discard stats nextEmptySlot: 0
I1222 00:19:10.664606      35 log.go:34] Set nextTxnTs to 0
I1222 00:19:10.666910      35 groups.go:99] Current Raft Id: 0x0
E1222 00:19:10.666763      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\vdgraph.cors\x00": Unable to find any servers for group: 1. closer err: <nil>
I1222 00:19:10.667188      35 worker.go:104] Worker listening at address: [::]:7080
I1222 00:19:10.669123      35 run.go:519] Bringing up GraphQL HTTP API at 0.0.0.0:8080/graphql
I1222 00:19:10.669762      35 run.go:520] Bringing up GraphQL HTTP admin API at 0.0.0.0:8080/admin
E1222 00:19:10.669193      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\x15dgraph.graphql.schema\x00": Unable to find any servers for group: 1. closer err: <nil>
I1222 00:19:10.670119      35 run.go:552] gRPC server started.  Listening on port 9080
I1222 00:19:10.670143      35 run.go:553] HTTP server started.  Listening on port 8080
I1222 00:19:10.769499      35 pool.go:162] CONNECTING to localhost:5080
I1222 00:19:10.773906      32 zero.go:432] Got connection request: cluster_info_only:true
I1222 00:19:10.774075      32 log.go:34] 1 no leader at term 1; dropping index reading msg
E1222 00:19:11.669232      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\vdgraph.cors\x00": Unable to find any servers for group: 1. closer err: <nil>
E1222 00:19:11.670746      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\x15dgraph.graphql.schema\x00": Unable to find any servers for group: 1. closer err: <nil>
E1222 00:19:12.669916      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\vdgraph.cors\x00": Unable to find any servers for group: 1. closer err: <nil>
E1222 00:19:12.671498      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\x15dgraph.graphql.schema\x00": Unable to find any servers for group: 1. closer err: <nil>
W1222 00:19:12.774189      32 node.go:681] [0x1] Read index context timed out
I1222 00:19:12.774321      32 log.go:34] 1 no leader at term 1; dropping index reading msg
E1222 00:19:13.630371      32 raft.go:484] While proposing CID: Not Zero leader. Aborting proposal: cid:"624800b8-e0bf-499c-8b4e-f96808cc6e6c" . Retrying...
E1222 00:19:13.670552      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\vdgraph.cors\x00": Unable to find any servers for group: 1. closer err: <nil>
E1222 00:19:13.671993      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\x15dgraph.graphql.schema\x00": Unable to find any servers for group: 1. closer err: <nil>
I1222 00:19:14.026608      32 log.go:34] 1 is starting a new election at term 1
I1222 00:19:14.026655      32 log.go:34] 1 became pre-candidate at term 1
I1222 00:19:14.026661      32 log.go:34] 1 received MsgPreVoteResp from 1 at term 1
I1222 00:19:14.026719      32 log.go:34] 1 became candidate at term 2
I1222 00:19:14.026728      32 log.go:34] 1 received MsgVoteResp from 1 at term 2
I1222 00:19:14.026739      32 log.go:34] 1 became leader at term 2
I1222 00:19:14.026744      32 log.go:34] raft.node: 1 elected leader 1 at term 2
I1222 00:19:14.026814      32 raft.go:843] I've become the leader, updating leases.
I1222 00:19:14.026831      32 assign.go:42] Updated Lease id: 1. Txn Ts: 1
E1222 00:19:14.671067      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\vdgraph.cors\x00": Unable to find any servers for group: 1. closer err: <nil>
E1222 00:19:14.672327      35 groups.go:1143] Error during SubscribeForUpdates for prefix "\x00\x00\x15dgraph.graphql.schema\x00": Unable to find any servers for group: 1. closer err: <nil>
W1222 00:19:14.774773      32 node.go:681] [0x1] Read index context timed out
I1222 00:19:14.774937      32 zero.go:450] Connected: cluster_info_only:true
I1222 00:19:14.777561      32 zero.go:432] Got connection request: addr:"localhost:7080"
I1222 00:19:14.778346      32 pool.go:162] CONNECTING to localhost:7080
I1222 00:19:14.779112      32 zero.go:584] Connected: id:1 group_id:1 addr:"localhost:7080"
I1222 00:19:14.780615      35 groups.go:127] Connected to group zero. Assigned group: 1
I1222 00:19:14.780733      35 groups.go:129] Raft Id after connection to Zero: 0x1
I1222 00:19:14.780746      35 draft.go:230] Node ID: 0x1 with GroupID: 1
I1222 00:19:14.781080      35 node.go:152] Setting raft.Config to: &{ID:1 peers:[] learners:[] ElectionTick:20 HeartbeatTick:1 Storage:0xc000342140 Applied:0 MaxSizePerMsg:262144 MaxCommittedSizePerReady:67108864 MaxUncommittedEntriesSize:0 MaxInflightMsgs:256 CheckQuorum:false PreVote:true ReadOnlyOption:0 Logger:0x2dffcb8 DisableProposalForwarding:false}
I1222 00:19:14.781235      35 node.go:326] Group 1 found 0 entries
I1222 00:19:14.781244      35 draft.go:1712] New Node for group: 1
I1222 00:19:14.781325      35 log.go:34] 1 became follower at term 0
I1222 00:19:14.781335      35 log.go:34] newRaft 1 [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
I1222 00:19:14.781749      35 log.go:34] 1 became follower at term 1
I1222 00:19:14.781883      35 draft.go:180] Operation started with id: opRollup
I1222 00:19:14.782064      35 draft.go:1084] Found Raft progress: 0
I1222 00:19:14.782350      35 node.go:189] Setting conf state to nodes:1
W1222 00:19:14.781590      32 pool.go:267] Connection lost with localhost:7080. Error: rpc error: code = Unknown desc = No node has been set up yet
I1222 00:19:14.782800      35 groups.go:807] Got address of a Zero leader: localhost:5080
I1222 00:19:14.783309      35 groups.go:821] Starting a new membership stream receive from localhost:5080.
I1222 00:19:14.783636      35 log.go:34] 1 is starting a new election at term 1
I1222 00:19:14.783737      35 log.go:34] 1 became pre-candidate at term 1
I1222 00:19:14.783743      35 log.go:34] 1 received MsgPreVoteResp from 1 at term 1
I1222 00:19:14.783969      35 log.go:34] 1 became candidate at term 2
I1222 00:19:14.783976      35 log.go:34] 1 received MsgVoteResp from 1 at term 2
I1222 00:19:14.784003      35 log.go:34] 1 became leader at term 2
I1222 00:19:14.784010      35 log.go:34] raft.node: 1 elected leader 1 at term 2
I1222 00:19:14.786252      35 groups.go:838] Received first state update from Zero: counter:3 groups:<key:1 value:<members:<key:1 value:<id:1 group_id:1 addr:"localhost:7080" > > > > zeros:<key:1 value:<id:1 addr:"localhost:5080" leader:true > > maxRaftId:1
I1222 00:19:15.669395      35 admin.go:686] Error reading GraphQL schema: Please retry again, server is not ready to accept requests.
I1222 00:19:15.671592      35 pool.go:162] CONNECTING to localhost:7080
I1222 00:19:15.782387      35 groups.go:893] Leader idx=0x1 of group=1 is connecting to Zero for txn updates
I1222 00:19:15.782482      35 groups.go:905] Got Zero leader: localhost:5080
I1222 00:19:15.789306      35 groups.go:487] Serving tablet for: dgraph.cors
I1222 00:19:15.789830      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:15.789920      35 index.go:889] Computing prefix index for attr dgraph.cors and tokenizers []
I1222 00:19:15.789937      35 index.go:907] Deleting index for attr dgraph.cors and tokenizers [exact]
I1222 00:19:15.790663      35 index.go:779] Deleting indexes for dgraph.cors
I1222 00:19:15.790783      35 log.go:34] DropPrefix called for [
                                                                dgraph.cors
                                                                            dgraph.cors
                                                                                        dgraph.cors
                                                                                                    dgraph.cors]
I1222 00:19:15.790809      35 log.go:34] Writes flushed. Stopping compactions now...
I1222 00:19:15.791543      35 draft.go:124] Operation completed with id: opRollup
I1222 00:19:15.794369      35 log.go:34] DropPrefix done
I1222 00:19:15.794432      35 log.go:34] Resuming writes
I1222 00:19:15.818802      35 log.go:34] Rebuilding index for predicate dgraph.cors (1/2): Sent data of size 0 B
I1222 00:19:15.824814      35 index.go:942] Rebuilding index for attr dgraph.cors and tokenizers [exact]
I1222 00:19:15.828950      35 groups.go:487] Serving tablet for: dgraph.type
I1222 00:19:15.841045      35 log.go:34] Rebuilding index for predicate dgraph.cors (1/2): Sent data of size 0 B
I1222 00:19:15.848319      35 mutation.go:188] Done schema update predicate:"dgraph.cors" value_type:STRING directive:INDEX tokenizer:"exact" list:true upsert:true
I1222 00:19:15.848685      35 draft.go:124] Operation completed with id: opIndexing
E1222 00:19:15.848771      35 draft.go:714] Applying proposal. Error: operation opIndexing is already running. Proposal: {"group_id:1 start_ts:2 schema:<predicate:\"dgraph.type\" value_type:STRING directive:INDEX tokenizer:\"exact\" list:true > " [] "<nil>" "" "<nil>" "<nil>" '\t' '\x00' "<nil>" {} "" '\x00'}.
E1222 00:19:15.850058      35 groups.go:260] Error while proposing initial schema: operation opIndexing is already running
I1222 00:19:15.950979      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:15.951095      35 index.go:889] Computing prefix index for attr dgraph.type and tokenizers []
I1222 00:19:15.951105      35 index.go:907] Deleting index for attr dgraph.type and tokenizers [exact]
I1222 00:19:15.951138      35 index.go:779] Deleting indexes for dgraph.type
I1222 00:19:15.951144      35 log.go:34] DropPrefix called for [
                                                                dgraph.type
                                                                            dgraph.type
                                                                                        dgraph.type
                                                                                                    dgraph.type]
I1222 00:19:15.951157      35 log.go:34] Writes flushed. Stopping compactions now...
I1222 00:19:15.976115      35 log.go:34] DropPrefix done
I1222 00:19:15.976170      35 log.go:34] Resuming writes
I1222 00:19:15.988350      35 log.go:34] Rebuilding index for predicate dgraph.type (1/2): Sent data of size 0 B
I1222 00:19:15.994093      35 index.go:942] Rebuilding index for attr dgraph.type and tokenizers [exact]
I1222 00:19:15.999221      35 groups.go:487] Serving tablet for: dgraph.drop.op
I1222 00:19:16.019420      35 log.go:34] Rebuilding index for predicate dgraph.type (1/2): Sent data of size 0 B
I1222 00:19:16.025281      35 mutation.go:188] Done schema update predicate:"dgraph.type" value_type:STRING directive:INDEX tokenizer:"exact" list:true
I1222 00:19:16.026041      35 draft.go:124] Operation completed with id: opIndexing
E1222 00:19:16.025935      35 draft.go:714] Applying proposal. Error: operation opIndexing is already running. Proposal: {"group_id:1 start_ts:3 schema:<predicate:\"dgraph.drop.op\" value_type:STRING > " [] "<nil>" "" "<nil>" "<nil>" '\r' '\x00' "<nil>" {} "" '\x00'}.
E1222 00:19:16.027158      35 groups.go:260] Error while proposing initial schema: operation opIndexing is already running
I1222 00:19:16.128710      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:16.129429      35 index.go:779] Deleting indexes for dgraph.drop.op
I1222 00:19:16.130126      35 draft.go:124] Operation completed with id: opIndexing
I1222 00:19:16.133221      35 groups.go:487] Serving tablet for: dgraph.graphql.schema
I1222 00:19:16.134761      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:16.134832      35 index.go:779] Deleting indexes for dgraph.graphql.schema
I1222 00:19:16.135167      35 draft.go:124] Operation completed with id: opIndexing
I1222 00:19:16.137549      35 groups.go:487] Serving tablet for: dgraph.graphql.xid
I1222 00:19:16.137662      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:16.137726      35 index.go:889] Computing prefix index for attr dgraph.graphql.xid and tokenizers []
I1222 00:19:16.137732      35 index.go:907] Deleting index for attr dgraph.graphql.xid and tokenizers [exact]
I1222 00:19:16.137757      35 index.go:779] Deleting indexes for dgraph.graphql.xid
I1222 00:19:16.137762      35 log.go:34] DropPrefix called for [dgraph.graphql.xid dgraph.graphql.xid dgraph.graphql.xid dgraph.graphql.xid]
I1222 00:19:16.137896      35 log.go:34] Writes flushed. Stopping compactions now...
I1222 00:19:16.174991      35 log.go:34] DropPrefix done
I1222 00:19:16.175042      35 log.go:34] Resuming writes
I1222 00:19:16.175122      35 index.go:942] Rebuilding index for attr dgraph.graphql.xid and tokenizers [exact]
I1222 00:19:16.179268      35 groups.go:487] Serving tablet for: dgraph.graphql.schema_history
I1222 00:19:16.190641      35 log.go:34] Rebuilding index for predicate dgraph.graphql.xid (1/2): Sent data of size 0 B
I1222 00:19:16.196774      35 mutation.go:188] Done schema update predicate:"dgraph.graphql.xid" value_type:STRING directive:INDEX tokenizer:"exact" upsert:true
E1222 00:19:16.196972      35 draft.go:714] Applying proposal. Error: operation opIndexing is already running. Proposal: {"group_id:1 start_ts:6 schema:<predicate:\"dgraph.graphql.schema_history\" value_type:STRING > " [] "<nil>" "" "<nil>" "<nil>" '\x17' '\x00' "<nil>" {} "" '\x00'}.
I1222 00:19:16.197068      35 draft.go:124] Operation completed with id: opIndexing
E1222 00:19:16.197216      35 groups.go:260] Error while proposing initial schema: operation opIndexing is already running
I1222 00:19:16.297552      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:16.297588      35 index.go:779] Deleting indexes for dgraph.graphql.schema_history
I1222 00:19:16.297644      35 draft.go:124] Operation completed with id: opIndexing
I1222 00:19:16.300050      35 groups.go:487] Serving tablet for: dgraph.graphql.schema_created_at
I1222 00:19:16.301005      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:16.301352      35 index.go:779] Deleting indexes for dgraph.graphql.schema_created_at
I1222 00:19:16.301623      35 draft.go:124] Operation completed with id: opIndexing
I1222 00:19:16.303970      35 groups.go:487] Serving tablet for: dgraph.graphql.p_query
I1222 00:19:16.304222      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:16.304665      35 index.go:779] Deleting indexes for dgraph.graphql.p_query
I1222 00:19:16.305089      35 draft.go:124] Operation completed with id: opIndexing
I1222 00:19:16.307286      35 groups.go:487] Serving tablet for: dgraph.graphql.p_sha256hash
I1222 00:19:16.307945      35 draft.go:180] Operation started with id: opIndexing
I1222 00:19:16.308053      35 index.go:889] Computing prefix index for attr dgraph.graphql.p_sha256hash and tokenizers []
I1222 00:19:16.308062      35 index.go:907] Deleting index for attr dgraph.graphql.p_sha256hash and tokenizers [exact]
I1222 00:19:16.308190      35 index.go:779] Deleting indexes for dgraph.graphql.p_sha256hash
I1222 00:19:16.308203      35 log.go:34] DropPrefix called for [graph.graphql.p_sha256hash graph.graphql.p_sha256hash graph.graphql.p_sha256hash graph.graphql.p_sha256hash]
I1222 00:19:16.308218      35 log.go:34] Writes flushed. Stopping compactions now...
I1222 00:19:16.326703      35 log.go:34] DropPrefix done
I1222 00:19:16.326833      35 log.go:34] Resuming writes
I1222 00:19:16.327418      35 index.go:942] Rebuilding index for attr dgraph.graphql.p_sha256hash and tokenizers [exact]
I1222 00:19:16.332047      35 groups.go:159] Server is ready
I1222 00:19:16.332088      35 access_ee.go:389] ResetAcl closed
I1222 00:19:16.332094      35 access_ee.go:311] RefreshAcls closed
I1222 00:19:16.345178      35 log.go:34] Rebuilding index for predicate dgraph.graphql.p_sha256hash (1/2): Sent data of size 0 B
I1222 00:19:16.350499      35 mutation.go:188] Done schema update predicate:"dgraph.graphql.p_sha256hash" value_type:STRING directive:INDEX tokenizer:"exact"
I1222 00:19:16.350609      35 draft.go:124] Operation completed with id: opIndexing
I1222 00:19:16.630811      32 raft.go:477] CID set for cluster: 1d309b8f-f9f7-4dfd-b8a5-b05d3dd7278a
I1222 00:19:16.630963      32 license_ee.go:45] Enterprise trial license proposed to the cluster: license:<maxNodes:18446744073709551615 expiryTs:1611188356 >
I1222 00:19:16.838804      35 graphql.go:39] ResetCors closed
I1222 00:19:16.840836      35 run.go:819] Updating cors from subscription.
I1222 00:19:16.840896      35 run.go:843] Updating cors origins: [*]
I1222 00:19:20.671123      35 admin.go:697] No GraphQL schema in Dgraph; serving empty GraphQL API
I1222 00:19:25.851881      35 draft.go:180] Operation started with id: opRollup
I1222 00:19:27.352689      35 run.go:819] Updating cors from subscription.
I1222 00:19:27.352856      35 run.go:843] Updating cors origins: [*]
I1222 00:20:10.626900      32 raft.go:717] Skipping creating a snapshot. Num groups: 1, Num checkpoints: 0
I1222 00:20:14.783440      35 draft.go:606] Creating snapshot at Index: 43, ReadTs: 14

Can you share the address bar of the browser, the Dgraph server URL you have inserted. What OS you are using. Is it a VM? on cloud? doest have firewall?

Open the browser’s console and copy the logs there.

According to the browser logs, it was a CORS issue. I was able to get it to work by using 127.0.0.1 instead of localhost. Thanks for your help.