Sunbird RC Installation & Use-case Setup Issue #116
-
@dileepbapat @kesavanp123 @coolbung @parthlawate Issue in sunbird RC SetupWe have completed the Sunbird-RC backend installation & frontend schema configuration but facing issues with the student registration form. Open points:
please suggest |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 16 replies
-
Hi Nagesh,
Q1. You need to set up the schema in your own server.
Q2. CORS happens, because, client and backend have different host names.
Are you sure the client and backend are having the same host name?
Q3. Can you please check the redirect / root urls of the client
registry-frontend in keycloak server, they have to be matched with the
frontend host url?
Q4. I am assuming you are restarting the box which means running docker
containers also will be stopped, in that case you need to install
everything from scratch. But to overcome this we can add restart policy in
docker-compose yml,
https://docs.docker.com/config/containers/start-containers-automatically/#use-a-restart-policy
We
will add it soon.
…On Thu, Oct 28, 2021 at 10:50 AM NageshRaykar ***@***.***> wrote:
@dileepbapat <https://github.com/dileepbapat> @kesavanp123
<https://github.com/kesavanp123> @coolbung <https://github.com/coolbung>
@parthlawate <https://github.com/parthlawate>
Issue in sunbird RC Setup
We have completed the Sunbird-RC backend installation & frontend schema
configuration but facing issues with the student registration form.
Open points:
- Currently, we have configured the specific schema JSON (
https://ndear.xiv.in/registry/api/docs/swagger.json). But can we use
this schema for default use-case setup installation?
- When using the above JSON schema we are facing a CORS issue.
- Proper key cloak configuration is required currently we are facing
issues in URL redirection & configuration.
- For backend installation- Suppose we shut down the Sunird-RC server,
API's are not responding properly so we need to keep the server up &
running state continuously or perform fresh backend installation after the
start.
*please suggest *
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7UABCPVCLFHZGAHWHZQ7DUJDMQVANCNFSM5G36R7YA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
Ok. Let's catch up around 2 PM.
…On Thu, Oct 28, 2021 at 12:07 PM NageshRaykar ***@***.***> wrote:
@kesavanp123 <https://github.com/kesavanp123>
Please let me know a suitable time to have a quick call.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7UABEFAW2AOKVKYTF2QJ3UJDVRTANCNFSM5G36R7YA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
@NageshRaykar In case it helps, here is a quick installation and getting started guide for a minimal student-teacher registry using the Registry CLI. |
Beta Was this translation helpful? Give feedback.
-
What is the auth url you have used for keycloak config in UI?
If an external request takes place, we need to set up the ssl, Can we try
setting it up first?
…On Mon, Nov 1, 2021 at 3:29 PM nsdlegovernancedevteam < ***@***.***> wrote:
Hi @dileepbapat <https://github.com/dileepbapat> @kesavanp123
<https://github.com/kesavanp123> @coolbung <https://github.com/coolbung>
@parthlawate <https://github.com/parthlawate>,
cc: @NageshRaykar <https://github.com/NageshRaykar> @NiranjanV12
<https://github.com/NiranjanV12>
The new Issue we are facing:
1. We are not able to do registration using front-end.
In database there is entry in table V_Student for column
_osState/school as DRAFT.
This student user is not visible in keycloak.
db entry from V_Student
-[ RECORD 3 ]--------+-----------------------------------------
ID | 9
@type | Student
osid | ec30f0f8-8c0c-4083-b4a0-92a9a99c0f70
above13 | Yes
identityDetails_osid | e93485c2-ca9d-481b-b218-375b13776f2f
contactDetails_osid | 85ff344d-2b7e-4285-9863-a10298ba8b29
t&c | t
_osState/school | DRAFT
name |
phoneNumber |
email |
subject |
school |
1. We are able to register user by using post-man
But we are getting the below error after login.
[image: IMG_20211101_151133]
<https://user-images.githubusercontent.com/75158135/139654117-5e1a611f-7f19-4a2b-9593-9243ddcbd69f.png>
Please suggest.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM7UABBLHJPYZ5AV3BFMNGTUJZQJBANCNFSM5G36R7YA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
@NageshRaykar confirmed the issue is solved now. It was related to schema override. Nagesh , @nsdlegovernancedevteam can you post details of how it was solved here ? What you needed to change ? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the update @nsdlegovernancedevteam |
Beta Was this translation helpful? Give feedback.
@NageshRaykar confirmed the issue is solved now. It was related to schema override. Nagesh , @nsdlegovernancedevteam can you post details of how it was solved here ? What you needed to change ?