Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 15 total
Thread  The external web server does not work. EWB 3 b12
Sat, May 2 2020 8:07 PMPermanent Link

Alvaro

Hi all, just download EWB 3 b12. With the intention of testing the modules of the external server, I try to install it, but I couldn't. I also installed it as a service, but I can't start it. I understood that since build 8, the external server would work. If so, I can't find what the problem would be.
I am testing on Win7 Pro.
If the matter was already answered, excuse me, I have not found it, except for the reference that as of build 8, the external server does work. Thank you.
Greetings.
Tue, May 5 2020 12:50 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Alvaro,

<< Hi all, just download EWB 3 b12. With the intention of testing the modules of the external server, I try to install it, but I couldn't. I also installed it as a service, but I can't start it. I understood that since build 8, the external server would work. >>

Please provide a more detailed explanation as to which EWB Web Server you're trying to start (32-bit or 64-bit), how you're trying to start the EWB Web Server, what error messages you're seeing, etc.

In general, the 64-bit EWB Web Server has not been tested very much, so it may not work at all.  Stick with the 32-bit EWB Web Server for now.

Tim Young
Elevate Software
www.elevatesoft.com
Tue, May 5 2020 4:28 PMPermanent Link

Alvaro

Tim Young [Elevate Software] wrote:

Alvaro,

<<Please provide a more detailed explanation as to which EWB Web Server you're trying to start (32-bit or 64-bit), how you're trying to start the EWB Web Server, what error messages you're seeing, etc.

In general, the 64-bit EWB Web Server has not been tested very much, so it may not work at all.  Stick with the 32-bit EWB Web Server for now.>>
Tim Young

Hello Tim
I am trying to run the 32bit ewbsrvr.exe. If I run it in console mode, it doesn't do anything, it doesn't show any message. If I install it as a service, it remains in the list of services but if I want to start it, it shows the message that I attach.
I am wrong with this topic, first I post it in the wrong forum and now I leave everything to interpretation ...
Thank you.
Cordially.
Alvaro



Attachments: ServerExternal.JPG
Tue, May 5 2020 4:55 PMPermanent Link

Raul

Globestar Systems

Team Elevate Team Elevate

On 5/5/2020 4:28 PM, Alvaro wrote:

> Hello Tim
> I am trying to run the 32bit ewbsrvr.exe. If I run it in console mode, it doesn't do anything, it doesn't show any message. If I install it as a service, it remains in the list of services but if I want to start it, it shows the message that I attach.
> I am wrong with this topic, first I post it in the wrong forum and now I leave everything to interpretation ...
> Thank you.
> Cordially.
> Alvaro


Alvaro,

It seems to work for me in general

1. 32bit server (bin\ewbsrvr\win32\ewbsrvr.exe) registers as a service,
can be started and runs OK - i have not tested it much but running EWB
IDE at that point connects to server and i can see server status and
modify config (IDE will report internal server cannot start since port
is in use but it server manager happily works with ewbsrvr)

2.  running ewbsrvr.exe interactively does not work - it exits right away

3. Running the command line server
(bin\ewbsrvr\cmdline\win32\ewbsrvr.exe) also works OK for me from
command line

It starts and shows
C:\Program Files (x86)\Elevate Web Builder 3
Beta\bin\ewbsrvr\cmdline\win32>ewbsrvr.exe
Elevate Web Builder Command-Line Web Server, press <Enter> to exit

Raul
Wed, May 6 2020 10:18 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Alvaro,

<< I am trying to run the 32bit ewbsrvr.exe. If I run it in console mode, it doesn't do anything, it doesn't show any message. If I install it as a service, it remains in the list of services but if I want to start it, it shows the message that I attach. >>

Hmm, I'm not sure what you're seeing.  The 32-bit EWB 3 Web Server is the same web server that the IDE uses internally, so it should be working properly in all contexts.

Let me do some more playing around to see if I can replicate what you're seeing.

Thanks !

Tim Young
Elevate Software
www.elevatesoft.com
Wed, May 6 2020 7:50 PMPermanent Link

Alvaro

Hello everyone, I was doing several tests, about the ewbsrvr.exe (command line). The message it shows now is that port 80 is being used by another application. Uninstall everything related to IP and port control from the PC (firewall, antivirus, etc)  and with the Nmap program, check the open ports in detail.
Despite having completely uninstalled EWB3 and after rebooting the PC, the Nmap indicates that port 80 is being used by the EWB Server.
I searched the Windows registry and found nothing.
If EWB3 is no longer installed and the PC was restarted, why does the Nmap report that port 80 is being used by the EWB3 server. ??
In practice, EWB3 DE never let me configure port 80, because it reported that it was already in use. That was repeated on each new build.
For both port: 80 and 443.
I did a new install of EWB3 b12 and the IDE reports the same message.
As an alternative, run the ewbsrvr.exe command line on a Window R8 server, and it ran smoothly. I have version 2.06 b20 installed on this PC and I don't want to install both versions. (EWB3 and EWB2).
The 32-bit ewbsrvr.exe also worked as a service.

The webserver.exe command line has the possibility to indicate as a parameter the port it will use?
Is there a residual reference of the port used by the EWB3 after uninstall?
In Windows Server R8, the certificate is not installed, since it does not install the complete EWB3.
Does the server not need this certificate to work?

Thank you!!

Alvaro
Wed, May 6 2020 8:15 PMPermanent Link

Alvaro

I forgot to attach a screenshot of the Nmap.

Thank you!!

Alvaro



Attachments: NmapCapture.JPG
Wed, May 6 2020 8:30 PMPermanent Link

Alvaro

Hello everyone, I have tested again and was able to get it working, both as a service and as a command line. In my tests I miss a cold start, just restart the PC several times, I suppose that the restart is not enough to initialize the entire operating system.
There are still some doubts regarding the certificate.
Thank you all!!

Alvaro
Thu, May 7 2020 3:37 AMPermanent Link

Matthew Jones

Alvaro wrote:

> The message it shows now is that port 80 is being used by another application.

This was the bane of my life for a while. In particular things like Skype would use port 80 by default. I wrote a little utility to try to identify the application that is using a given port. If it helps, I can give Tim the code.
Thu, May 7 2020 8:08 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Alvaro,

<< Despite having completely uninstalled EWB3 and after rebooting the PC, the Nmap indicates that port 80 is being used by the EWB Server. >>

Did you uninstall the EWB Web Server as a service ?  Because EWB requires that you manually install the EWB Web Server as a service, it does not automatically uninstall it as a service during uninstall.  So, if you don't uninstall the service, the .executable may still be running during the EWB uninstall and prevent the uninstall from removing everything, and a reboot will show that the service is still using port 80.

<< In practice, EWB3 DE never let me configure port 80, because it reported that it was already in use. That was repeated on each new build. >>

The IDE is not responsible for configuring the port for the external EWB Web Server.  The external EWB Web Servers use their own .ini file located here:

C:\ProgramData\Elevate Software\Elevate Web Builder 3 Web Server\ewbsrvr.ini

and looks like this:

[Server]
Server Name=EWBSRVR
Server Description=Elevate Web Builder 3 Web Server
Database Directory=
Max Database Write Delay=5
Domain=
Default Document=
Content Directory=
Application Directory=
Module Directory=
Logs Directory=
Enable Cross Origin Resources=0
Keep-Alive Resource Name=keepalive
Authentication Resource Name=authentication
Administration Resource Name=administration
Databases Resource Name=databases
Modules Resource Name=modules
Applications Resource Name=applications
Debugger Resource Name=debugger
Logs Resource Name=logs
IP Address=
Port=80
Secure Port=443
Timeout=30
Max Request Size=67108864&#8236;
Authorized Addresses=*

Blocked Addresses=
Thread Cache Size=128
Max Num Threads=2048
Max Authentication Attempts=10
Authentication Lockout Time=300
Session ID Length=32
Session Expiration=1800
Password Salt Length=16
Password Hash Type=0
Certificate Name=
Certificate Store Name=
Certificate Store Type=0

All of this will be documented in the final release, but the documentation is not done at this point.

<< The webserver.exe command line has the possibility to indicate as a parameter the port it will use? >>

See above.

<< Is there a residual reference of the port used by the EWB3 after uninstall? >>

See above.

<< In Windows Server R8, the certificate is not installed, since it does not install the complete EWB3.
Does the server not need this certificate to work? >>

It needs a certificate if you intend to use secure connections to port 443 (or whichever port you choose).  You can run the ewbcert.exe utility to create a self-signed certificate for a host name on a given machine, and it is located here:

<InstallDir>\Elevate Web Builder 3 Beta\bin\ewbcert\win32

Just copy this utility over to the Windows Server machine, and run it as an administrator from the command line:

ewbcert

Elevate Web Builder 3 Certificate Utility
Version 3.00 (3.00 Build 12)
Copyright (C) 2020 Elevate Software, Inc.  All Rights Reserved

Usage: ewbcert <Certificate Name>
-s<Certificate Store Name>
-t<Certificte Store Type>
[-c|-r]

Descriptions:
-s Certificate store name, enclose in double quotes (default is "My")
-t Certificate store type: CURRENT_USER or LOCAL_MACHINE (default is CURRENT_USER)
-c|-r Create/remove the certificate (default is to check for certificate)
Exit codes are 0 for success, 1 for failure

Tim Young
Elevate Software
www.elevatesoft.com
Page 1 of 2Next Page
Jump to Page:  1 2
Image