Customized web app will not deploy properly

3644
7
Jump to solution
04-21-2015 02:49 PM
RudieWatzig
New Contributor III

I am currently using Web App Builder 1.1 Developer edition. 

When I import my web app from my AGOL account, I can modify it, etc.  I can then save the map, it downloads the zip of the application, and I then deploy it on my web server.  The app works just fine.

When I modify the app by adding a custom widget, and follow this process, the web app does not work fine in deployment.  The app now re-directs to an https and times out.  The load screen shows, and then the redirect happens and the app never starts up.

When I view the customized app in web app builder, using the "launch" button, the app loads just fine, and the widgets work, etc.

I am not using an https redirect under the authentication of the app on the dev website.  Any thoughts?

I gave the app to my IT guy, and this is what he found (see attached)

It's all frustrating, because I got a pretty nice app worked out and I would love to deploy it.  Thanks for your help.

Rudie Watzig

DOGAMI

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Rudie,

   Right in your main config.json you have the portalUrl as "https://geo.maps.arcgis.com" twice

Open the config.json and change the https to http and we can try it again.

View solution in original post

7 Replies
RobertScheitlin__GISP
MVP Emeritus

Rudie,

   From the looks of the console log, you are trying to run the site from the file system and not the web server. Have you tried to actually run the site from your web server using the web servers url?

0 Kudos
RudieWatzig
New Contributor III

Yes. I don't know if the screen capture is relevant or not. This is what my IT guy provided. He was running it from his file system but I only run it on the web server.

Sent from my iPhone

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rudie,

  OK I need to see the web console from your browser when you access the site from the web server. Or if you have made the site public then that would be even better and I could diagnose on my end.

0 Kudos
RudieWatzig
New Contributor III

Robert,

I put a version up here: http://www.oregongeology.org/fit/

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rudie,

   Right in your main config.json you have the portalUrl as "https://geo.maps.arcgis.com" twice

Open the config.json and change the https to http and we can try it again.

RudieWatzig
New Contributor III

Well, thank you so much, that fixed it. You’re an asset to the developers community. Thank you very much.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rudie,

Glad to help. Now it is your turn to help the community by marking this question as answered. All you have to do is click the "Correct Answer" link (the one with the little green star) on the post that provided the answer for you. If the answer was not provided by one of the responders then you can mark any of the replies that you received as helpful by clicking on the "Actions" menu and choosing "Mark as Helpful"

0 Kudos