Umang, I've set up build 7861 for (macOS) and ran
% curl -v -u dcp_user http://localhost:8095/analytics/service
|
(where dcp_user is actually a Data DCP Reader) and I got
Enter host password for user 'dcp_user':
|
* Trying ::1...
|
* TCP_NODELAY set
|
* Connection failed
|
* connect to ::1 port 8095 failed: Connection refused
|
* Trying 127.0.0.1...
|
* TCP_NODELAY set
|
* Connected to localhost (127.0.0.1) port 8095 (#0)
|
* Server auth using Basic with user 'dcp_user'
|
> GET /analytics/service HTTP/1.1
|
> Host: localhost:8095
|
> Authorization: Basic ZGNwX3VzZXI6ZGNwX3VzZXI=
|
> User-Agent: curl/7.64.1
|
> Accept: */*
|
>
|
< HTTP/1.1 401 Unauthorized
|
< connection: keep-alive
|
* Authentication problem. Ignoring this.
|
< www-authenticate: Basic
|
< content-length: 70
|
<
|
{
|
"errors": [{
|
"code": 20000,
|
"msg": "Unauthorized user." }
|
]}
|
* Connection #0 to host localhost left intact
|
* Closing connection 0
|
which yielded the expected HTTP status code.
Do you have some logs for the execution that yielded the Internal Server Error?
Umang, I've set up build 7861 for (macOS) and ran
% curl -v -u dcp_user http://localhost:8095/analytics/service
(where dcp_user is actually a Data DCP Reader) and I got
Enter host password for user 'dcp_user':
* Trying ::1...
* TCP_NODELAY set
* Connection failed
* connect to ::1 port 8095 failed: Connection refused
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to localhost (127.0.0.1) port 8095 (#0)
* Server auth using Basic with user 'dcp_user'
> GET /analytics/service HTTP/1.1
> Host: localhost:8095
> Authorization: Basic ZGNwX3VzZXI6ZGNwX3VzZXI=
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< connection: keep-alive
* Authentication problem. Ignoring this.
< www-authenticate: Basic
< content-length: 70
<
{
"errors": [{
"code": 20000,
"msg": "Unauthorized user." }
]}
* Connection #0 to host localhost left intact
* Closing connection 0
which yielded the expected HTTP status code.
Do you have some logs for the execution that yielded the Internal Server Error?