Web AppBuilder

32960
62
07-03-2014 10:18 AM
PaigeSpee
Esri Contributor

Web AppBuilder is a configurable HTML5/JavaScript-based application that will be a new feature of ArcGIS Online and Portal for ArcGIS. It will help you create web apps without having to write any code.  Watch a demo of Web AppBuilder for ArcGIS | Esri Video presented by Esri Product Manager  Julie Powell at this year's DevSummit.

62 Replies
ZhifangWang
Esri Regular Contributor

Hi Steve,

Please try to start nodejs on port 80 to see if you can log into Portal successfully, see detail here:https://community.esri.com/message/392196#391918

0 Kudos
SteveXu
Regular Contributor

I till got the same error.

1.

C:\Users\stexu1>cd C:\webappbuilder2\webappbuilderbeta2\server

C:\webappbuilder2\webappbuilderbeta2\server>node_x86.exe server.js -port=80
[2014-07-31 09:49:25.324] [INFO] repo - watch repository change:  C:\webappbuild
er2\webappbuilderbeta2\client\stemapp\themes\
[2014-07-31 09:49:25.328] [DEBUG] repo - watch dir:  C:\webappbuilder2\webappbui
lderbeta2\client\stemapp\themes\
[2014-07-31 09:49:25.329] [INFO] repo - watch repository change:  C:\webappbuild
er2\webappbuilderbeta2\client\stemapp\widgets\
[2014-07-31 09:49:25.329] [DEBUG] repo - watch dir:  C:\webappbuilder2\webappbui
lderbeta2\client\stemapp\widgets\
Server listening http connection on port 80 in development mode
Server listening https connection on port 443 in development mode

2. set port=80 in startup.bat

3. I got the following info from a command windows:

Can not launch nodejs because port 80 is used by another process!

Press any key to continue . . .

4. set port=3344 in startup.bat

I still got the same error.

I will test Beta2 some time later by using my home computer. I cannot get our IT staff to look at ports/security of my workstation. Thanks a lot!

0 Kudos
ZhifangWang
Esri Regular Contributor

When you start nodejs manually like above, then you can leave the startup.bat batch file away. So when you execute "node_x86.exe server.js -port=80" and got

"

Server listening http connection on port 80 in development mode

Server listening https connection on port 443 in development mode

"

message, then you can enter "http://yourmachinename/webappbuilder" in the browser now to open Web AppBuilder.

Just try this to see if your can log into your Portal when nodejs running on port 80.

Thanks.

0 Kudos
ZhifangWang
Esri Regular Contributor

Hi Steve,

Just check out this thread to see if you are in the trouble with the same proxy reason. Working with WebAppBuilder behind a corporative http proxy

Thanks.

0 Kudos
SteveXu
Regular Contributor

Hi Zhifang:

Sorry for not getting back to you sooner.

I followed the thread, and reached log-in ArcGIS ONline windows, and still get Invalid username or passwaord error. Our  IT guy seems not sure what is Proxy url, we tried  different formats, either with http, or with port number, or without them, which all resulted in the same error above-mentioned. We will try again next Tuesday. Thanks a lot.

0 Kudos
EricVenden
Frequent Contributor

This sounds similar to the issue I have.  Are you trying to run the app builder "inside" your network?  Try running the webapp builder outside your firewall.  I am trying to find out from someone if the webapp builder is proxy aware - no response as of yet.

Eric

0 Kudos
TarigAhmed1
Deactivated User

Did you look at this thread, it solved my proxy problem. Working with WebAppBuilder behind a corporative http proxy

Tarig

0 Kudos
EricVenden
Frequent Contributor

Thanks much Tarig,

I really had hope for that thread, but I am still having issues logging in inside our firewall.

Eric

0 Kudos
TarigAhmed1
Deactivated User

Hi Jianxia,

Thank you for your reply.

1- I tried both IE11 (11.0.9600.17207)  and Chrome  Version 36.0.1985.125

2- I tested it on my PC Windows 7 Enterprise - and the app server Windows 2003 Enterprise

3- I did clear the browser's cache, I still the same error

I also ran  the node server.js port=3355.

I received the following  (also attached PrtScn)

Server listening tcp connection on port 3355 in development mode
Server listening http connection on port 3356 in development mode
Server listening https connection on port 3357 in development mode

stream.js:94
      throw er; // Unhandled stream error in pipe.
            ^
Error: connect ECONNREFUSED
    at errnoException (net.js:904:11)
    at Object.afterConnect [as oncomplete] (net.js:895:19)

C:\inetpub\wwwroot\WebAppBuilder\Beta2\arcgis-web-appbuilder-1.0beta2\server>

Thanks,

Tarig

--------------------

Hi Tarig,

To trouble shoot, could you provide the following info:

1, Which browser and version you are using

2. on which os

3. clear browser cache and log in again.

Thanks,

Jianxia

            --------------------

Nodejs comes with wab zip file. You don't need to install it. Two options:

1. run startup.bat file as administrator.

2.  if option 1 is not working, set node server.js to a different port such as 3355 in command prompt:

     enter server directory, run node sever.js -port=3355

Jianxia

0 Kudos
ZhifangWang
Esri Regular Contributor

Hi Tarig,

Could you please test Web AppBuilder at port 80 by "node_x86.exe server.js -port=80" or "node_x64.exe server.js -port=80", to see if you can successfully log into your portal? BTW, you need to stop the process that using port 80 first.

Thanks!

0 Kudos