Hi,
I have downloaded the application code from web appbuilder developer version 1.2 and hosted in my local IIS Server.
But when I try to run the application with this url “http://localhost/simple/ “ it start fine later it give the below shown error
Can anyone suggest me how can I fix this issue.
Thanks
Solved! Go to Solution.
KCC GIS Team,
Does your Organizations Portal configuration security settings have "Allow access to the organization through HTTPS only" checked?
KCC GIS Team,
Hi Robert,
2.> I have used http but it has automatically changed to https
3.> yes I have used computer name as well
4.> yes the app is in virtual directory
can you let me know what else I can try.
Thanks
KCC GIS Team,
Open the config.json for that app and see if the portalURL is set to https or http. If your server does not have a SSL certificate then you can not use https and you need to change the urls to http.
Do you have WAB Dev and have downloaded this app from it and are attempting to deploy the app to your web server?
When you registered your WAB Dev on AGOL
Get started—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
Did you use an http or https address?
Hi Robert,
checked config.json file it has https so i have changed to http.
yes I have WAB Dev and have downloaded this app from it and are attempting to deploy the app to your web serve
When I registered my WAB Dev on AGOL I provided http address.
I am still facing the same issue.
KCC GIS Team,
What about all the other urls in the config.json?
Did you change then to use http?
Have you tested that your IIS is working properly?
Can you access another app on your IIS?
Does your WAB Dev come up with a http or https url when you launch it?
Hi Robert,
> All the urls in the config.json file were having HTTPS On your instruction I have changed them to http
> yes can access other non WAB applications on my IIS
> When I launch WAB Dev it comes up with HTTPS url
KCC GIS Team,
So the root of the issue is that WAB Dev is installed currently to use https and you need http for your web server. I have seen this before and I think it is due to the url used when you are asked to specify the url to your portal. Check the [install dir]/server/signininfo.json and see if it is set to https.
Hi Robort,
Your right!!!
signininfo.json is having HTTPS.
So we just need to change it and go ahead ?
KCC GIS Team,
I would change that and then open the app in WAB Dev change something small like the apps name so that you will be able to hit the save button (your can change the name back after you save) and then re-export the app and try again.