-
Notifications
You must be signed in to change notification settings - Fork 44
Bug: Unable to access tWAS application in Codewind local #3104
Comments
/priority stopship |
@sghung @makandre I also configured same Kabanero stacks repo in my Che cluster and tried same sample and it worked fine there and no issues there. I did setup another local Codewind 0.13.0 install with Kabanero stacks repo in one of my Windows VM so that you can Remote Desktop and you can debug the problem. I will share that info via DM. |
The error appears to be from WAS and/or the application itself |
The application exposes 3 ports: I think we will need a tWAS expert and/or the creator of the stack to take a look, as it appears to be a tWAS configuration problem when running in Codewind. I'm not really sure what could be different in Codewind; on our side we don't do anything to configure the server or application. All appsody apps are pretty much a blackbox and Codewind will simply run it by calling |
This all works fine from Appsody CLI but not from Codewind. |
From inside the appsody container you can actually |
The virtual host settings in container are stored in:
<aliases xmi:id="HostAlias_1" hostname="*" port="9080"/>
<aliases xmi:id="HostAlias_2" hostname="*"/>
<aliases xmi:id="HostAlias_3" hostname="*" port="9443"/>
<aliases xmi:id="HostAlias_6" hostname="*" port="5060"/>
<aliases xmi:id="HostAlias_7" hostname="*" port="5061"/>
<aliases xmi:id="HostAlias_8" hostname="*" port="443"/>
<aliases xmi:id="HostAlias_9" hostname="*" port="32814"/> The last line was added by me for the published port (to 9080) on the system. After doing that I killed the server and restarted WAS, after which the appsody landing page can be reached via port 32814 Basically, the stack's virtual host settings assumes the application will be accessed only via a predefined list of ports, which won't be true when running in Codewind (ports are exposed in the 3xxxx range) |
Need the stack owner to investigate further. |
Codewind version: 0.12.0
OS: Ubuntu 18.04.4 LTS
Che version: N/A
IDE extension version: Codewind
0.12.0
IDE version: VSCode 1.45.1
Kubernetes cluster: N/A
Description:
After creating a tWAS (IBM WebSphere Traditional) project in Codewind using a private registry stackhub for a CP4Apps installation, I was unable to access the application inside Codewind when the
Open Application
icon is clicked. The browser displays "SRVE0255E: A WebGroup/Virtual Host to handle 127.0.0.1/32815 has not been defined."Steps to reproduce:
Workaround:
vscode.log
The text was updated successfully, but these errors were encountered: