wso2 / integration-studio

WSO2 Integration Studio is a development environment used to design integration scenarios and develop them.
Apache License 2.0
67 stars 65 forks source link

Issues Initializing IntegrationStudio on Ubuntu 24.04 LTS #1307

Open GustavoFranzolin opened 5 months ago

GustavoFranzolin commented 5 months ago

I am trying to use Integration Studio on Ubuntu 24.04 LTS and I am encountering a problem when initializing the tool. I am very frustrated because I have done everything, including installing the latest webkitgtk on the machine, as well as numerous other actions. Can someone help me with the problem below? It happens when running IntegrationStudio.

Command executed: ./IntegrationStudio

Impacts: Various bugs causing the application to crash, as well as failing to open some project files.

Output logs:

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SWT Webkit: Warning, You are using an old version of webkitgtk. (pre 2.4) BrowserFunction functionality will not be avaliable
SWT WebKit: error initializing DBus server, dBusServer == 0
org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403, URL=https://product-dist.wso2.com/p2/integration-studio/8.0.0/studio-platform
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:762)
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:707)
    at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:297)
    at org.jsoup.helper.HttpConnection.get(HttpConnection.java:286)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.maximumTimestampInGivenURL(RunUpdaterRootJob.java:149)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.checkUpdateAvailability(RunUpdaterRootJob.java:89)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.checkUpdatesAvailable(RunUpdaterRootJob.java:78)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.run(RunUpdaterRootJob.java:71)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403, URL=https://product-dist.wso2.com/p2/integration-studio/8.0.0/esb-tools
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:762)
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:707)
    at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:297)
    at org.jsoup.helper.HttpConnection.get(HttpConnection.java:286)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.maximumTimestampInGivenURL(RunUpdaterRootJob.java:149)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.checkUpdateAvailability(RunUpdaterRootJob.java:96)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.checkUpdatesAvailable(RunUpdaterRootJob.java:78)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.run(RunUpdaterRootJob.java:71)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403, URL=https://product-dist.wso2.com/p2/integration-studio/8.0.0/dss-tools
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:762)
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:707)
    at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:297)
    at org.jsoup.helper.HttpConnection.get(HttpConnection.java:286)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.maximumTimestampInGivenURL(RunUpdaterRootJob.java:149)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.checkUpdateAvailability(RunUpdaterRootJob.java:103)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.checkUpdatesAvailable(RunUpdaterRootJob.java:78)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.run(RunUpdaterRootJob.java:71)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403, URL=https://product-dist.wso2.com/p2/integration-studio/8.0.0/bps-tools
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:762)
    at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:707)
    at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:297)
    at org.jsoup.helper.HttpConnection.get(HttpConnection.java:286)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.maximumTimestampInGivenURL(RunUpdaterRootJob.java:149)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.checkUpdateAvailability(RunUpdaterRootJob.java:110)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.checkUpdatesAvailable(RunUpdaterRootJob.java:78)
    at org.wso2.integrationstudio.updater.handler.RunUpdaterRootJob.run(RunUpdaterRootJob.java:71)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Thanks

Gustavo F

GustavoFranzolin commented 4 months ago

?????????????????

?????????????????

?????????????????

ThijsFTW commented 4 months ago

Not a solution but you could try using the new Visual Studio Code plugin instead: https://marketplace.visualstudio.com/items?itemName=WSO2.micro-integrator

GustavoFranzolin commented 4 months ago

ThijsFTW, is there any estimated time for WSO2 to fix this major issue? This is a blocker for using the tool for everyone using Ubuntu 24.04.

ThijsFTW commented 4 months ago

I don't know. I'm not even sure if it's a WSO2 problem or a problem in your dev environment. See the warning in the startup: Warning, You are using an old version of webkitgtk. (pre 2.4). You might not have installed the latest version because the latest version isn't available in your package manager or IntegrationStudio looks into it's own folders to check for the webkitgtk library? The 403 you receive could also be a sign that you have issues with your network. I can't really help with resolving this for you, sorry. I do recognize working with IntegrationStudio can be painful. The VSCode plugin should be more stable.

GustavoFranzolin commented 4 months ago

ThijsFTW, I have already spent a lot of time on this problem. The webkitgtk libraries in Ubuntu 24 are all updated, but the issue is that when running the tool, it looks for a graphical interface class that only exists in the older version of webkit. I imagine anyone trying to install the integration studio on Ubuntu 24.04 will have the same problem, but it really needs confirmation. It's complicated :/"

focafunk commented 1 month ago

I have exactly the same error after installing 24.04. Please we do need and Urgent solution to this we are not able to keep on developing!

GustavoFranzolin commented 1 month ago

@focafunk, It seems that the WSO2 team is concerned with releasing new versions instead of fixing critical bugs in the latest versions. Unfortunate :/

GustavoFranzolin commented 1 month ago

This problem is causing me terrible consequences, I am using 3 different IDEs to be able to continue the project. The delivery time has increased exponentially.

GustavoFranzolin commented 1 month ago

up @SanojPunchihewa

SanojPunchihewa commented 1 month ago

Hi @GustavoFranzolin,

The 403 error when trying to update the Studio was fixed sometimes back in the latest version (8.3.0). However as per the shared logs, it seems you are using Integration Studio 8.0.0. Regarding the webkitgtk library issues, are you using the Integration Studio 8.3.0 version there?

GustavoFranzolin commented 1 month ago

Hi @SanojPunchihewa

Thank you for your response.

The webkit issue occurs in all versions of the IDE. I have tested them all, including version 8.3.0.

I have the latest webkit version on my Ubuntu 24.04, and I’ve tried many alternatives to fix this problem, but I haven’t been able to solve it so far.

If you could assist me, I believe this issue affects everyone using Ubuntu 24. Thank you!

GustavoFranzolin commented 1 month ago

image

focafunk commented 4 weeks ago

Any updates on this? Please we do need your help!

GustavoFranzolin commented 4 weeks ago

@arunans23 , could you help?

focafunk commented 2 weeks ago

@GustavoFranzolin finally I have found out how to solve it after days of research within forums....

First, I have installed manually libwebkit2gtk-4 as it does not come anymore with the latest ubuntu 24.04

sudo add-apt-repository deb http://gb.archive.ubuntu.com/ubuntu jammy main
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev

After this, you will have to create manually this folder, otherwise a core dump raises (it is a known bug for eclipse)

sudo mkdir /tmp/SWT-GDBusServer Finally, I was not able to open my previous workspace, so I had to recreate it from the scratch, and it sems to be working now.

Hope it helps! Un saludo!

Rodolfo

GustavoFranzolin commented 2 weeks ago

@focafunk, my friend.

I did what you said, and here are the following scenarios: versions 8.2.0 and 8.3.0 have completely stopped now, lol. Every time I try to run it, a log file hs_err_pid_xxxx.log is generated.

However, version 8.0.0 now works correctly without the reported issues! This has helped me a lot.

Thank you very much!

Regards!

Gustavo.

focafunk commented 2 weeks ago

I am running version 8.2.0, In the beginning I had the same problem... a hs_err_pid_xxxx.log was generated, until I found the sudo mkdir /tmp/SWT-GDBusServer workaround, and stopped trying to reuse my previous workspace and created one from the scratch.

Try those steps, but I am happy to hear that at least version 8.0.0 is now working.

BTW, In this thread @ThijsFTW proposed to use the Micro Integrator plugin for visual studio. It does not work, and hangs other plugins, that is why I was forced to keep trying to make Integration Studio work no matter what.

Un saludo!

GustavoFranzolin commented 2 weeks ago

Did you create the folder below and a new workspace, and it worked for you, right?

image

Unfortunately, it didn't work for me here.

But thanks for the help!

rosensilva commented 1 week ago

Hi @GustavoFranzolin,

I resolved the issue based on @focafunk's findings. The problem is with sudo; remove it and create the temporary file using the command mkdir /tmp/SWT-GDBusServer.

focafunk commented 3 days ago

Also verify that you have the needed permissions. I would do a sudo chmod 777 /tmp/SWT-GDBusServer -R and check again