EventStore / EventStore.UI

The user interface for Event Store
57 stars 37 forks source link

Projections UI issues when running in Docker #325

Open rmfaheem opened 2 years ago

rmfaheem commented 2 years ago

Description Some links on the UI redirect to the internal IP of the EventStore node, as opposed to the advertised IP.

When hosting EventStore on Docker, this causes some requests to fail to be routed successfully because the internal IP is not reachable to the outside.

Config:

RunProjections:
  - System
  - All
ProjectionThreads: 3
ReaderThreadsCount: 8
StartStandardProjections: True
ClusterSize: 3
CommitCount: 2
CommitTimeoutMs: 5000
WorkerThreads: 15
Db: /data/eventstore
Index: /data/eventstore_index
Log: /var/log/eventstore
LogLevel: Default
LogHttpRequests: False
LogFailedAuthenticationAttempts: False
IntIp: 0.0.0.0
ExtIp: 0.0.0.0
IntHostAdvertiseAs: x.x.x.x
ExtHostAdvertiseAs: x.x.x.x
CertificateFile: /etc/eventstore/node.crt
CertificatePrivateKeyFile: /etc/eventstore/node.key
TrustedRootCertificatesPath: /etc/eventstore/ca/
CertificateReservedNodeCommonName: eventstoredb-node
IntTcpPort: 1111
ExtTcpPort: 1113
HttpPort: 2113
IntTcpHeartbeatTimeout: 4500
ExtTcpHeartbeatTimeout: 4500
IntTcpHeartbeatInterval: 1500
ExtTcpHeartbeatInterval: 1500
GossipTimeoutMs: 2500
GossipIntervalMs: 2000
ChunksCacheSize: 1073742848
CachedChunks: 4
DiscoverViaDns: False
EnableExternalTcp: True
EnableAtomPubOverHttp: True
SkipDbVerify: True
SkipIndexVerify: True
GossipSeed:
  - x.x.x.x:2113
  - x.x.x.x:2113

Source Ticket: 110214

hayley-jean commented 2 years ago

Does this work if you set the AdvertiseHostToClientAs setting to the IP address that is reachable from the outside?