Details
-
Bug
-
Resolution: Fixed
-
Critical
-
Mobile 3.0
-
1
Description
Code example reads as follows:
api: {
"admin_interface": "http://localhost:4985",
"admin_interface_authentication": true
Using this example yields an error:
2022-03-03T00:18:54.039Z [ERR] Error serving the Admin API: listen tcp: address http://localhost:4985: too many colons in address – rest.startServer.func3() at config.go:1324
Example should not include the "http://localhost" part, just the ":4985". (This is actually what is spelled out in the note below the sample code, but for people who click the copy button to use the example code this is not sufficient. See image below.)
Attachments
Issue Links
- is cloned by
-
DOC-9781 SG 3.0 metrics_interface code example yields error
- Closed