opengeospatial / teamengine

TEAM Engine (Test, Evaluation, And Measurement Engine) is an engine for testing web services and other resources written in JAVA. It executes test scripts written in Compliance Test Language (CTL), TestNG and other languages. It is lightweight and easy to run as a command line or to setup as a service. It can be used to test any type of service or encoding. It is also the official tool used by the Open Geospatial Consortium (OGC) for compliance testing.
Apache License 2.0
45 stars 41 forks source link

Replace HTTP links with HTTPS on HTML, JSP and JavaScript pages #501

Closed ghobona closed 2 years ago

ghobona commented 2 years ago

Describe the bug

Some links from the User Interface are to HTTP addresses. Modern browsers such as the latest Chrome version block any request from a page on HTTPS to a link on HTTP.

To Reproduce Steps to reproduce the behavior:

  1. Log into https://cite.ogc.org/te2
  2. Create a test session (e.g. for OGC API - Features) then attempt run the test
  3. Nothing happens.
  4. Check the Console (Developer Tools on Chrome) and you will see the error reporting that the request was blocked.

Note that this issue does not occur if the user logs into http://cite.ogc.org/te2

Expected behavior The test session should just run.

Screenshots

Screenshot 2022-02-21 at 09 55 55

dstenger commented 2 years ago

Should be related to #418. HTTP should not replaced by HTTPS but TEAM Engine should re-use the used protocol so that it can run via HTTPS and HTTP.

ghobona commented 2 years ago

Requested a discussion with the OGC Infrastructure Office.

dstenger commented 2 years ago

Problem is now also occurring with Firefox (99.0 (64-Bit)).

dstenger commented 2 years ago

Was solved by configuring following in proxy: https://github.com/opengeospatial/teamengine/commit/eb01f3de9b3fc1bb0ddf3cb57e81dbd4b4c65e57