Bug 567130 - Cannot open http protocol pages in runtime workbench
Summary: Cannot open http protocol pages in runtime workbench
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.18   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-18 13:37 EDT by Alex Boyko CLA
Modified: 2021-09-27 13:34 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Boyko CLA 2020-09-18 13:37:04 EDT
If Eclipse 4.18 is used as a dev environment for Eclipse plugin a common use case is to launch Eclipse runtime workbench.
If one attempts to navigate to http://localhost:8080 in the Eclipse embedded browser then the following error shows up:

Page load failed with error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

In other words it wants https.

It works fine in Eclipse 4.18 thus I'd expect it to work in the runtime workbench too
Comment 1 Alex Boyko CLA 2020-09-18 14:17:48 EDT
It has to do with Java 11...
If I modify runtime workbench launch config to launch with Java 11 (on 4.16) then it won't work either. As soon as I launch it with Java 8 it works fine
Comment 2 David Garratt CLA 2021-09-27 13:34:55 EDT
(In reply to Alex Boyko from comment #1)
> It has to do with Java 11...
> If I modify runtime workbench launch config to launch with Java 11 (on 4.16)
> then it won't work either. As soon as I launch it with Java 8 it works fine

I have found that my servlet cannot be deployed / run / debugged from Eclipse 2021 06 or 09 but can be run ok from Eclipse 2021 03.

In both scenarios I'm using Apache Tomcat 9 with Java 11 (Zulu).

The version of Java does not make any difference to me - only the release of Eclipse.