I get an indirect_uri when I try to sign in to the 10.5 portal. The portal has been launched in AWS.

704
3
03-09-2017 12:50 PM
Sai_PrasasthiNadendla
New Contributor

I have the portal installed on an EC2 instance with an ELB. I have created the initial admin account and when I click on the sign in tab, I go to a page that says that the initial admin account has been set up but when I hit sign in, I get a 400 "Invalid redirect_uri"(https://myelbdns.elb.amazonaws.com/arcgis/home/signin.html ) 

0 Kudos
3 Replies
JonathanQuinn
Esri Frequent Contributor

Have you set the WebContextURL within the Portaladmin API to "https://myelbdns.elb.amazonaws.com/arcgis"?

0 Kudos
Sai_PrasasthiNadendla
New Contributor

Thank you, Jonathan! That worked. I ran into a different issue now. I am trying to configure a highly available portal. I have NFS set up and mounted. When I copy the contents of "arcgis/portal/usr/arcgisportal/content" to the mounted directory and try to change the directory in portal/system/directories/content, I get the following error. Is there something that I missed when copying the files to the mounted directory? 

I apologize that this question is completely unrelated to the question above.

Error

com.esri.arcgis.portal.admin.core.PortalException: com.esri.arcgis.portal.admin.core.PortalException: java.lang.Exception: Cannot write to directory path '/home/ec2-user/net/share/portal/content'. Please check that the location is valid and that the Portal service account has permissions to the location.


Code: 500

0 Kudos
JonathanQuinn
Esri Frequent Contributor

No problem.  With the user that was used to install Portal, can you reach that location and create a folder or file in it?  I haven't run into a situation where that error is thrown and it isn't permissions related.

0 Kudos