codbex / codbex-kronos

SAP HANA XS Classic and ABAP Compatibility Platform
https://codbex.com
Eclipse Public License 2.0
5 stars 3 forks source link

[BUILD] Unable to start the application with higher versions of codbex-kronos (>0.7.1) #558

Closed pkjanocha closed 4 months ago

pkjanocha commented 4 months ago

Currently working on ghcr.io/codbex/codbex-kronos:0.7.1. With that version I can deploy migrated application without major errors and open it. However when i want to use higher versions of codbex, the app doesn't start despite no other code changes. Errors I get in the logs suggest some connection problems and further timeout after unsuccesful attempts. The rest is similar to working version.

image image image image
iliyan-velichkov commented 4 months ago

Hi @pkjanocha, Could you please share the exact deployment steps or your deployment script that you use?

pkjanocha commented 4 months ago

Hi, sure. I have XS Classic application, which is built as Docker container. The exact configuration to avoid manual steps was suggested by your team on our internal Github.

Dockerfile:

FROM ghcr.io/codbex/codbex-kronos:0.7.1 COPY com target/dirigible/repository/root/registry/public/com ENV DIRIGIBLE_HOME_URL=/path/to/index/index.html

When I want to apply changes like kronos version change, I rebuild it and push to my company's internal container registry and then push to Cloud Foundry BTP, where other things like HANA Cloud, destination service etc. are already configured

docker build -t appName .\ docker tag appName myContainerRegistry/appName:latest docker push myContainerRegistry/appName:latest cf push appName --docker-image=myContainerRegistry/appName:latest --docker-username user -m 2G -k 2G

All code changes are applied to the BTP application. However when codbex version is increased, starting the app after cf push fails

iliyan-velichkov commented 4 months ago

Hi @pkjanocha, Please try again with image ghcr.io/codbex/codbex-kronos:latest. If your app still cannot start, please attach the app logs using command cf logs <appName> --recent > app-logs.log. I will need the file app-logs.log.

pkjanocha commented 4 months ago

Thanks for the info. Right now I am able to run the application with latest image, but unfortunately I get 400 error in every request. I sent you logs directly via e-mail as they contain some sensitive information.

image
iliyan-velichkov commented 4 months ago

@pkjanocha I'm closing this issue since the initial problem with the start is resolved with https://github.com/codbex/codbex-kronos/pull/563. Please open separate issues if you find any other problems.