eSearch Search URL invalid

1874
20
Jump to solution
01-31-2019 07:30 PM
RobertLackage
New Contributor III

Is there any reason this service won't validate in the eSearch widget?

http://gis.sarup.uwm.edu/arcgisuwm/rest/services/FDANIE/MyMapService/MapServer/0

Tags (1)
0 Kudos
20 Replies
RobertLackage
New Contributor III

I deleted it, used the http address for the portal, but it keeps switching to https. I also tried editing the signininfo.json to http, but it keeps switching it to https. 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Ahh, Sorry that will fix new apps, but to fix an old app you need to edit the portal url in the apps main config.json

RobertLackage
New Contributor III

The config.json now has http for the portal url, but I'm getting the same result. When I create a new app and try the service url in the widget, same thing. The problem is that when I launch wab the address is https, right? Is there anyway to make the service url https? This is what the address bar looks like in chrome...

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Robert,

   correct that is the problem. Making your ArcGIS Server https would involve purchasing a SSL certificate and all the steps to install and deploy (quite involved). When you open the signininfo.json what does it have for 

"portalUrl"? Is it now http? if so did you restart WAB by closing the command prompt window?

0 Kudos
RobertLackage
New Contributor III

The signininfo.json keeps coming up https. I closed out the command prompt, deleted the signininfo.json, ran startup.bat. I put http://desktop-q87ofur:344/webappbuilder in the browser address bar and it redirects to https://desktop.....etc. 

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Robert,

  Are you sure you are deleting the signininfo.json in the server folder of the WAB version you are working with? When I delete that file and relaunch WAB it displays a dialog where I have to verify my Portal url and add my AppID before it will allow me to continue.

0 Kudos
RobertLackage
New Contributor III

Yes, I get the same dialog and that's where I put in the http.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Robert,

   Maybe your AGOL admin has set your org to only allow https access now.

RobertLackage
New Contributor III

Is there anyway to create a service using QGIS or anything?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

You could setup your own free AGOL developer account.