cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
754
Views
0
Helpful
1
Replies

How to resolve the following error "No usersessions if no startphase2" while Maapi user session start

davidph2
Cisco Employee
Cisco Employee

Getting "No usersessions if no startphase2" when calling the following code block :

econfd_maapi:start_user_session(M, <<"admin">>,

                      <<"maapi">>, [<<"admin">>], {127,0,0,1}, 1).

 

when NCS has been restarted.

1 Reply 1

alex-filippov
Level 1
Level 1

Waiting for Phase 2 may help:

econfd_maapi:wait_start(M),