Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.4.7
-
None
-
None
Description
View and N1QL queries fail with connectivity issues on single node clusters. This is because the address is using a default of 127.0.0.1 instead of the actual server address. This is because the default hostname is 127.0.0.1 when setting up the server and the server omits this value in the bucket config JSON structure is default. Previous to NCBC-1457, if the hostname was null it would use the Node.Hostname, however now it defaults to 127.0.0.1.
This only affects single-node clusters, once a second node has been added to the cluster the hostname returned in the bucketConfig is correct.
Workaround
Set the server hostname when setting up the single node to be the same as the server's public IP. The default is 127.0.0.1.
Attachments
Issue Links
- is caused by
-
NCBC-1457 Add test to verify bucket config with missing hostname
- Resolved