Hi all,

I am using ONAP rel. H and I am not able to create any topic into message 
router .
The error is 401 Unauthorized. I think my Auuthorization field into header is 
wrong.
I have tested both http and https port.

POST https://19.80.10.32:30226/topics/create ( 
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2F19.80.10.32%3A30226%2Ftopics%2Fcreate&data=04%7C01%7Cniranjana.y60%40wipro.com%7C2183a42562134f0e163308d94549f65e%7C258ac4e4146a411e9dc879a9e12fd6da%7C1%7C0%7C637617007083170082%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=EupLG44fjQ0AW9%2F218aBhpfL2vl10Sz9N6ci0ZzgQR8%3D&reserved=0
 )
401

124 ms

Warning: Unable to get local issuer certificate

POST /topics/create HTTP/1.1

Content-Type: application/json

Authorization: Basic 
PEJhc2ljIEF1dGggVXNlcm5hbWU+OjxCYXNpYyBBdXRoIFBhc3N3b3JkPg==

User-Agent: PostmanRuntime/7.28.1

Accept: */*

Postman-Token: 23597bb3-81ee-49ca-a78f-734eef330bbf

Host: 19.80.10.32 ( 
https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2F19.80.10.32%3A30226%2Ftopics%2Fcreate&data=04%7C01%7Cniranjana.y60%40wipro.com%7C2183a42562134f0e163308d94549f65e%7C258ac4e4146a411e9dc879a9e12fd6da%7C1%7C0%7C637617007083170082%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=EupLG44fjQ0AW9%2F218aBhpfL2vl10Sz9N6ci0ZzgQR8%3D&reserved=0
 ) :30226

Accept-Encoding: gzip, deflate, br

Connection: keep-alive

Content-Length: 177

{

"topicName": " PCI-NOTIF-TOPIC-NGHBR-LIST-CHANGE-INFO ",

"topicDescription": "test topic",

"partitionCount": 3,

"replicationCount": 1,

"transactionEnabled": "false"

}

HTTP/1.1 401 Unauthorized

Date: Mon, 12 Jul 2021 15:18:18 GMT

WWW-Authenticate: Basic 
realm="dev-message-router-0.message-router.onap.svc.cluster.local"

Content-Length: 0

Server: Jetty(9.4.z-SNAPSHOT)

Where can I find the correct authorization value?

Thanks and best regards,

Aniello

--
-----------------------------------------------------------------
*TIM*
*Aniello Paolo Malinconico*
Chief Innovation & Partnership Office
Technology Innovation

*TIM S.p.A.*
Via G. Reiss Romoli, 274 – 10148 TORINO
email: [email protected]
Tim Official: *Facebook* ( https://www.facebook.com/TimOfficialPage ) - 
*Twitter* ( https://twitter.com/tim_official ) - *www.tim.it* ( 
http://www.tim.it/ )


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23390): https://lists.onap.org/g/onap-discuss/message/23390
Mute This Topic: https://lists.onap.org/mt/84173712/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to