Dear All,

I was trying to test an A1 terminator where it was successfully registered in 
a1policymanagement ms but I am getting an error negotiating the A1 protocol.

On instanbul release this was working perfectly, but on khon release this error 
happens:

reactor.core.Exceptions$ErrorCallbackNotImplemented: 
org.onap.ccsdk.oran.a1policymanagementservice.exceptions.ServiceException: 
Protocol negotiation failed for ricA1
Caused by: 
org.onap.ccsdk.oran.a1policymanagementservice.exceptions.ServiceException: 
Protocol negotiation failed for ricA1
at 
org.onap.ccsdk.oran.a1policymanagementservice.clients.A1ClientFactory.lambda$getProtocolVersion$6(A1ClientFactory.java:133)
 ~[classes!/:1.3.2]

Also I am getting another error " resp: 401 UNAUTHORIZED ", do I need to 
configure something else apart from the *application_configuration.json?*

Logs:

2023-03-30 17:03:14.886 DEBUG 1 --- [or-http-epoll-1] 
o.o.c.o.a.clients.CcsdkA1AdapterClient   : POST inputJsonString = 
{"input":{"near-rt-ric-url":"http://10.200.201.81:8080/v1/a1-p/healthcheck"}}
2023-03-30 17:03:14.887 DEBUG 1 --- [or-http-epoll-1] 
o.o.c.o.a.clients.AsyncRestClient        : 132 POST uri = 
'https://sdnc.onap:8443/restconf/operations/A1-ADAPTER-API:getA1Policy''
2023-03-30 17:03:14.887 DEBUG 1 --- [or-http-epoll-1] 
o.s.w.r.f.client.ExchangeFunctions       : [3056b0e1] HTTP POST 
https://sdnc.onap:8443/restconf/operations/A1-ADAPTER-API:getA1Policy
2023-03-30 17:03:14.887 DEBUG 1 --- [or-http-epoll-1] 
r.n.resources.PooledConnectionProvider   : [71a00037, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Channel acquired, now: 2 
active connections, 0 inactive connections and 0 pending acquire requests.
2023-03-30 17:03:14.887 DEBUG 1 --- [or-http-epoll-1] 
reactor.netty.ReactorNetty               : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Added decoder 
[ReadTimeoutHandler] at the end of the user pipeline, full pipeline: 
[reactor.left.sslHandler, reactor.left.httpCodec, ReadTimeoutHandler, 
reactor.right.reactiveBridge, DefaultChannelPipeline$TailContext#0]
2023-03-30 17:03:14.887 DEBUG 1 --- [or-http-epoll-1] 
reactor.netty.ReactorNetty               : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Added decoder 
[WriteTimeoutHandler] at the end of the user pipeline, full pipeline: 
[reactor.left.sslHandler, reactor.left.httpCodec, ReadTimeoutHandler, 
WriteTimeoutHandler, reactor.right.reactiveBridge, 
DefaultChannelPipeline$TailContext#0]
2023-03-30 17:03:14.887 DEBUG 1 --- [or-http-epoll-1] 
r.netty.http.client.HttpClientConnect    : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Handler is being applied: 
{uri=https://sdnc.onap:8443/restconf/operations/A1-ADAPTER-API:getA1Policy, 
method=POST}
2023-03-30 17:03:14.887 DEBUG 1 --- [or-http-epoll-1] 
r.n.r.DefaultPooledConnectionProvider    : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] 
onStateChange(POST{uri=/restconf/operations/A1-ADAPTER-API:getA1Policy, 
connection=PooledConnection{channel=[id: 0x71a00037, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443]}}, [request_prepared])
2023-03-30 17:03:14.888 DEBUG 1 --- [or-http-epoll-1] 
o.s.core.codec.CharSequenceEncoder       : [3056b0e1] Writing 
"{"input":{"near-rt-ric-url":"http://10.200.201.81:8080/v1/a1-p/healthcheck"}}";
2023-03-30 17:03:14.888 DEBUG 1 --- [or-http-epoll-1] 
r.n.r.DefaultPooledConnectionProvider    : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] 
onStateChange(POST{uri=/restconf/operations/A1-ADAPTER-API:getA1Policy, 
connection=PooledConnection{channel=[id: 0x71a00037, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443]}}, [request_sent])
2023-03-30 17:03:14.888 DEBUG 1 --- [or-http-epoll-1] 
r.n.r.DefaultPooledConnectionProvider    : [02df0f70, L:/10.42.2.38:52672 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] 
onStateChange(POST{uri=/restconf/operations/A1-ADAPTER-API:getA1Policy, 
connection=PooledConnection{channel=[id: 0x02df0f70, L:/10.42.2.38:52672 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443]}}, [response_completed])
2023-03-30 17:03:14.888 DEBUG 1 --- [or-http-epoll-1] 
reactor.netty.ReactorNetty               : [02df0f70, L:/10.42.2.38:52672 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Removed handler: 
ReadTimeoutHandler, pipeline: DefaultChannelPipeline{(reactor.left.sslHandler = 
io.netty.handler.ssl.SslHandler), (reactor.left.httpCodec = 
io.netty.handler.codec.http.HttpClientCodec), (WriteTimeoutHandler = 
io.netty.handler.timeout.WriteTimeoutHandler), (reactor.right.reactiveBridge = 
reactor.netty.channel.ChannelOperationsHandler)}
2023-03-30 17:03:14.888 DEBUG 1 --- [or-http-epoll-1] 
reactor.netty.ReactorNetty               : [02df0f70, L:/10.42.2.38:52672 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Removed handler: 
WriteTimeoutHandler, pipeline: DefaultChannelPipeline{(reactor.left.sslHandler 
= io.netty.handler.ssl.SslHandler), (reactor.left.httpCodec = 
io.netty.handler.codec.http.HttpClientCodec), (reactor.right.reactiveBridge = 
reactor.netty.channel.ChannelOperationsHandler)}
2023-03-30 17:03:14.888 DEBUG 1 --- [or-http-epoll-1] 
r.n.r.DefaultPooledConnectionProvider    : [02df0f70, L:/10.42.2.38:52672 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] 
onStateChange(POST{uri=/restconf/operations/A1-ADAPTER-API:getA1Policy, 
connection=PooledConnection{channel=[id: 0x02df0f70, L:/10.42.2.38:52672 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443]}}, [disconnecting])
2023-03-30 17:03:14.888 DEBUG 1 --- [or-http-epoll-1] 
r.n.r.DefaultPooledConnectionProvider    : [02df0f70, L:/10.42.2.38:52672 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Releasing channel
2023-03-30 17:03:14.889 DEBUG 1 --- [or-http-epoll-1] 
r.n.resources.PooledConnectionProvider   : [02df0f70, L:/10.42.2.38:52672 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Channel cleaned, now: 1 active 
connections, 1 inactive connections and 0 pending acquire requests.
2023-03-30 17:03:14.890 DEBUG 1 --- [or-http-epoll-1] 
r.n.http.client.HttpClientOperations     : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Received response 
(auto-read:false) : [Date=Thu, 30 Mar 2023 17:03:14 GMT, 
Set-Cookie=rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Wed, 29-Mar-2023 
17:03:14 GMT; SameSite=lax, WWW-Authenticate=BASIC realm="application", 
Transfer-Encoding=chunked, Server=Jetty(9.4.46.v20220331)]
2023-03-30 17:03:14.890 DEBUG 1 --- [or-http-epoll-1] 
r.n.r.DefaultPooledConnectionProvider    : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] 
onStateChange(POST{uri=/restconf/operations/A1-ADAPTER-API:getA1Policy, 
connection=PooledConnection{channel=[id: 0x71a00037, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443]}}, [response_received])
2023-03-30 17:03:14.890 DEBUG 1 --- [or-http-epoll-1] 
o.s.w.r.f.client.ExchangeFunctions       : [3056b0e1] [71a00037-20, 
L:/10.42.2.38:52670 - R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Response 
401 UNAUTHORIZED
2023-03-30 17:03:14.891 DEBUG 1 --- [or-http-epoll-1] 
o.o.c.o.a.clients.AsyncRestClient        : 132 resp: 401 UNAUTHORIZED
2023-03-30 17:03:14.891 DEBUG 1 --- [or-http-epoll-1] 
reactor.netty.channel.FluxReceive        : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] FluxReceive{pending=0, 
cancelled=false, inboundDone=false, inboundError=null}: subscribing inbound 
receiver
2023-03-30 17:03:14.891 DEBUG 1 --- [or-http-epoll-1] 
r.n.http.client.HttpClientOperations     : [71a00037-20, L:/10.42.2.38:52670 - 
R:sdnc.onap.svc.cluster.local/10.43.86.187:8443] Received last HTTP packet
2023-03-30 17:03:14.891  WARN 1 --- [or-http-epoll-1] 
o.o.c.o.a.clients.A1ClientFactory        : Could not get protocol version from 
Near-RT RIC: ricA1
2023-03-30 17:03:14.894 ERROR 1 --- [or-http-epoll-1] 
reactor.core.publisher.Operators         : Operator called default 
onErrorDropped

Could someone give some suggetion on what can be happening?
Thank you,
Paulo


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


Reply via email to