Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning for edge service and failed the local dbs set up #236

Open
zcui29 opened this issue Jan 14, 2022 · 0 comments
Open

Warning for edge service and failed the local dbs set up #236

zcui29 opened this issue Jan 14, 2022 · 0 comments

Comments

@zcui29
Copy link

zcui29 commented Jan 14, 2022

Version:

12.1

Problem

The transaction is response is '[]' for all accounts.
There is some warnings when I run the edge service and ingest local DBS, not sure which is the one causing the issue.

Command

First error for edge service
mvn -f platform/pom.xml -pl edge package -Prun-edge
Second error for bb-fuel
sh dbs/bb-fuel/download-bb-fuel.sh java -Dspring.profiles.active=local -Denvironment.domain=backbase.eu -Dingest.access.control=true -Dingest.custom.service.agreements=false -Dingest.balance.history=false -Dingest.transactions=true -Duse.pfm.categories.for.transactions=true -Dingest.approvals.for.payments=false -Dingest.approvals.for.contacts=false -Dingest.approvals.for.notifications=false -Dingest.approvals.for.batches=false -Dingest.limits=false -Dingest.contacts=false -Dingest.notifications=false -Dingest.payments=true -Dingest.messages=false -Dingest.actions=false -Dtransactions.min=100 -Dtransactions.max=101 -Didentity.feature.toggle=true -Didentity.realm=backbase -Didentity.client=bb-tooling-client -jar bb-fuel.jar

Exception

1.When I run the edge service I got below warning:

2022-01-07 14:34:32.339 WARN [default,,,] 75112 --- [ main] ubernetesProfileEnvironmentPostProcessor : Not running inside kubernetes. 2022-01-12 11:46:26.172 WARN [default,,,] 21763 --- [ main] ubernetesProfileEnvironmentPostProcessor : Not running inside kubernetes. Skipping 'kubernetes' profile activation.
2022-01-12 11:46:27.041 WARN [edge,,,] 21763 --- [ main] c.c.c.ConfigServicePropertySourceLocator : Could not locate PropertySource: I/O error on GET request for "http://localhost:8888/edge/default": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)
2022-01-12 11:46:29.857 WARN [edge,,,] 21763 --- [ main] o.s.security.core.userdetails.User : User.withDefaultPasswordEncoder() is considered unsafe for production and is only intended for sample applications.
2022-01-12 11:46:31.932 WARN [edge,,,] 21763 --- [ main] iguration$LoadBalancerCaffeineWarnLogger : Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it and org.springframework.cache.caffeine.CaffeineCacheManager to the classpath.

2. After platform and cx6 is up: I got error for mvn bb:provision:

[ERROR] Could not import package '/Users/zcui/.m2/repository/com/backbase/cxp/editorial-collection/2.23.0-b21/editorial-collection-2.23.0-b21.zip'
[ERROR] I/O error on POST request for "http://localhost:8180/auth/realms/backbase/protocol/openid-connect/token": Connect to localhost:8180 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused); nested exception is org.apache.http.conn.HttpHostConnectException: Connect to localhost:8180 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
[ERROR] Import failed as there was at least one package that failed.
[ERROR] Terminating with status: FAILED[ERROR] Failed to execute goal com.backbase.maven.plugins:bb-maven-plugin:1.7.0:provision (default-cli) on project collection-experience-manager: Execution default-cli of goal com.backbase.maven.plugins:bb-maven-plugin:1.7.0:provision failed: java.lang.RuntimeException: Import failed as there was at least one package that failed. -> [Help 1]

3. So I skip the static service errors since it's optional for mobile service and keep follow the README until I try to ingest DBS to the environment, I got the below errors:

HTTP/1.1 500
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Wed, 12 Jan 2022 20:59:01 GMT
Connection: close{
"message": "Internal Server Error"
}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v9.Java9 (jar:file:/Users/zcui/BlueFcu-Mobile/blue-12.1/service/maven/retail-banking-usa-maven/bb-fuel.jar!/BOOT-INF/lib/groovy-3.0.7.jar!/) to constructor java.lang.AssertionError(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v9.Java9
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2022-01-12 15:59:01.334 ERROR [bb-fuel,,,] 30886 --- [ main] o.s.boot.SpringApplication : Application run failedjava.lang.AssertionError: null
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
..

Pasted Graphic
So I run the profiler in Android studio to check the response of transaction, both complete and uncomplete transaction return ‘[]’ an empty array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant