Comments (6)
Hi @a-kshesh
Thank you for reporting.
Which OS are you using ?
127.17.0.1
is usually the docker ip, that is why it is there ...
from incubator-kie-kogito-examples.
I am on macOS Ventura 13.5 intel one.
from incubator-kie-kogito-examples.
@radtriste I have tried the same example in another mac and it's having the same issue. I didn't see any logs in the containers as well. I am not sure why both the management and task console are not able to reach the data-index whereas the data-index works fine from localhost:8180
from incubator-kie-kogito-examples.
@spolti would you be able to help ?
I cannot test this on macOS
from incubator-kie-kogito-examples.
I'll take a look later.
from incubator-kie-kogito-examples.
Just an update. As I was trying to debug, I changed the KOGITO_DATAINDEX_HTTP_URL
in docker-compose for to http://localhost:8180/graphql
and the net::ERR_ADDRESS_UNREACHABLE
for graphQL in consoles is gone. the other issue that are coming up is
- Task console isn't showing the forms, stating that there is no form to display.
- Management Console is throwing CORS policy error as while trying to communicate with the localhost:8080.
I was able to solve these issues by adding
quarkus.http.cors.origins=http://localhost:8280,http://localhost:8380
quarkus.http.cors.headers=accept, origin, authorization, content-type, x-requested-with
quarkus.http.cors.methods=GET,POST,PUT,DELETE,PATCH
in the application.properties.
Now it works in terms of functionalities but I have one other problem which is a distorted management console as below from the replica of this example with some java class changes.
There are some other CORS error popping up with regards to the SVG as it is not showing up in the management console as below
GET http://localhost:8280/svg/processes/que_assignment/instances/dce0cd86-e0c2-4c2e-9e86-ddc95ce061d8 500 (Internal Server Error)
Access to XMLHttpRequest at 'http://localhost:8080/svg/processes/que_assignment/instances/dce0cd86-e0c2-4c2e-9e86-ddc95ce061d8' from origin 'http://localhost:8280' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
GET http://localhost:8080/svg/processes/que_assignment/instances/dce0cd86-e0c2-4c2e-9e86-ddc95ce061d8 net::ERR_FAILED 500 (Internal Server Error)
Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received.
This might be causing the UI distortion because of the SVG not popping up or I am missing something!
I hope this helps in your debugging @spolti .
from incubator-kie-kogito-examples.
Related Issues (20)
- sorry please delete this
- Disable process-outbox-mongodb-quarkus example Integration test
- Enhance/Enable process-outbox-mongodb-quarkus example Integration test
- Re-evaluate these tests HOT 2
- kogito documentation is pointing to a branch with compilation errors HOT 1
- serverless-workflow-timeouts-showcase-extended updates after Quarkus3 migration HOT 1
- Examples that are using quay.io/kiegroup/kogito-runtime-jvm:latest generate it's own docker image are failing after Quarkus3 migration HOT 2
- Ensure serverless-workflow-examples are working properly HOT 4
- Avoid the stable branch using nightly images.
- Remove references from the Kogito Operator
- Add usage of prevActionResult to serverless workflow foreach example HOT 1
- Serverless workflow newsletter-subscription example is not working properly
- kogito-quarkus-examples/trusty-demonstration/docker-compose example Not Working HOT 6
- Fix missing Java 17 migration in examples
- Remove maven-wrapper for examples HOT 1
- serverless-workflow-custom-function-knative example Quarkus3 migration leftovers HOT 1
- serverless-workflow-timeouts-showcase-extended example JobsService image update
- Loan broker example updates after the migration to Quarkus 3.8.4 HOT 1
- Serverless Workflow Operator DataIndex Use cases updates HOT 1
- The `@RolesAllowed` annotation used with spring security doesn't work in the examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from incubator-kie-kogito-examples.