Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread "Error 501: Method not implemented". With external server and external browser...
Mon, Feb 1 2021 8:02 PMPermanent Link

Alvaro

Hello everyone, I am testing with EWB3b1. I have Win7 Pro, the "localhost" certificate is correctly installed.
Inside the IDE, configure, for the internal server port 8081 and secure port 443.
The external server is the 32-bit cmdline.
The configuration for the external server is port 8080 and secure port 444.
By doing simple tests without server applications, within the IDE, they work without problems, both with
external server and with internal server.
Now when I test with an external browser (Edge or Firefox), using the:
http://localhost:8080/project1.html, it works fine.
When I invoke: https://localhost:444/project1.html, any of the browsers mentioned show the following error:
"Error 501: Method not implemented".
The example only contains a TButton, in a main TForm. There are no declared events.
If the external server is the same for the IDE and for the external environment, why does it work in the IDE
and not work from an external browser?

I copy the content of ewbsrvr.ini: (cmdline ewbsrvr.exe)

[Server]
Server Name = EWBSRVR
Server Description = Elevate Web Builder 3 Web Server
Database Directory = C:\ProgramData\Elevate Software\Elevate Web Builder 3 Web Server
Max Database Write Delay = 5
Domain =
Default Document =
Content Directory = d: \ EWBServer300 \ www \ Content
Application Directory = d: \ EWBServer300 \ www \ Applications
Module Directory = d: \ EWBServer300 \ www \ Modules
Log Directory = d: \ EWBServer300 \ www
Logging = 1
Request Logging = 1
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
IP Address =
Port = 8080
Secure Port = 444
Redirect to Secure = 0
Timeout = 30
Max Request Size = 67108864
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 = localhost
Certificate Store Name =
Certificate Store Type = 0

Thank you
Cordially
Alvaro
Tue, Feb 2 2021 12:03 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Alvaro,

<< When I invoke: https://localhost:444/project1.html, any of the browsers mentioned show the following error:
"Error 501: Method not implemented". >>

Hit F12 in the external browser and examine the headers being returned from the request that is seeing the 501 error.  Do the response headers indicate that the EWB Web Server is responding to the request, or a different web server ?

Also, when you start up the external command-line version of the web server, do you see any errors reported ?

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Feb 2 2021 12:38 PMPermanent Link

Alvaro

Tim, check on Edge and Firefox F12. The error appears to be in the TLS 1.2 protocol.
Attached screenshot of Edge (F12) and ewbsrvr.exe cmdline startup screen.
Cordially
Alvaro



Attachments: F12_Edge_Browser.JPG
Tue, Feb 2 2021 12:39 PMPermanent Link

Alvaro

Alvaro wrote:

Tim, check on Edge and Firefox F12. The error appears to be in the TLS 1.2 protocol.
Attached screenshot of Edge (F12) and ewbsrvr.exe cmdline startup screen.
Cordially
Alvaro



Attachments: cmdline_Server.JPG
Tue, Feb 2 2021 12:43 PMPermanent Link

Alvaro

Tim:
What happens to the Favicon.ico error?
Should I include it in the folder ??
Thank you!!
Tue, Feb 2 2021 12:53 PMPermanent Link

Alvaro

Tim, I included a favicon.ico in the project. Now it does not report the resource error,
but the project page does not load anyway.
It keeps giving the same error. Attached new screenshot of Edge (F12).
Thank you!!



Attachments: F12_Edge_Browser1.JPG
Tue, Feb 2 2021 1:22 PMPermanent Link

Alvaro

Tim attached a screenshot of the FireFox extension, which reports the TLS version of the server.
From SSL Labs Test.
I hope the info is useful.
Thank you!!



Attachments: TLS1.0.jpg
Mon, Feb 8 2021 4:05 AMPermanent Link

Matthew Jones

Alvaro wrote:

> Tim, check on Edge and Firefox F12. The error appears to be in the TLS 1.2 protocol.
> Attached screenshot of Edge (F12) and ewbsrvr.exe cmdline startup screen.
> Cordially
> Alvaro

You should focus on the syntax error line. TLS is a warning, and you can ignore it.

Have a look at the packet content that is in the request - why is that '<' there?

Project_load not being defined has in the past been a mismatch between the html and javascript files for me.

--

Matthew Jones
Mon, Feb 8 2021 8:17 AMPermanent Link

Alvaro

Matthew, thank you for your reply. The problem was that Windows did not have TLS 1.2 enabled. I only had TLS 1.0 enabled. Obviously the encryption under that TLS layer gave any result, referenced by the 501 error.
Raul suggested me to run the IISCrypto utility and from there, the problem was solved.
I transcribe the answer I wrote in another thread:
(Miscellaneous considerations ...)

"Raul, download the IISCrypto utility. After restarting Windows 7, TLS 1.2 was enabled.
And now I can say that ... IT WORKS !!!!
The test I keep doing it with ewbsrvr.exe 32bits cmdline.
Thank you so much !!!
I will continue to investigate ewbsrvr.exe as a service.
Cordially "
Thank you!!
Cordially
Alvaro
Thu, Feb 11 2021 11:05 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Alvaro,

<< What happens to the Favicon.ico error?
Should I include it in the folder ?? >>

You can include it in the project options:

https://www.elevatesoft.com/manual?action=viewtopic&id=ewb3&topic=Project_Options

but it's optional and not necessary.

Tim Young
Elevate Software
www.elevatesoft.com
Image