There are extraneuos “;” after the urls, they’re added by the forum parser and are not present in the original configuration.
Also, ignore the double domain.com/board in cuba.idp.serviceProviderUrls, they’re actually two different domains
Unfortunately, there is no useful information in the logs. Is there app.log file in your logs directory?
We will try to reproduce the problem with 2 wars in Azure Web in a couple of days. If you have any additional details on your deployment please share them.
Also, I see that you use “JVM by: Azul Systems, Inc.”. We do not test our deployments with Azul and it may cause additional issues. I’d recommend that you use OpenJDK or OracleJDK builds if your application does require any specific features of this JVM.
Please note that we do not use order of topics on forum to prioritize them, thus “bumping” threads does not make any sense, such a messages only produce additional noise on forum.
Sorry for the misunderstanding, the bump was not intended as a way to prioritize the thread. I added the logs editing the original answer (instead of adding another answer) so I wasn’t sure you would see them
The Azul JVM is the default provided by Azure Web Apps, and there is no app.log
Thank you very much for the assistance
I’ve checked Azure defaults of Azure Web applications and want to ask you details of your virtual network. IDP SSO feature of the platform uses direct server-to-server connection between IDP and Services to send authentication and account data. Could you please check if your VMs is accessible for each-other? Unfortunately, Azure requires paid account to check all the details of Azure Web deployment, so we cannot freely check it.
If you are interested in the additional help from our side we will be happy to provide direct assistance. You can find details on Consulting and Support via this link High productivity application development platform
I’m not using any custom logging settings I’m aware of. Do you intend on Azure or on Cuba? Everything is default by the way. I’m getting the logs from the “LogFiles” directory set up by Azure Web app service.
The IDP installation I’m trying is standalone, so there are not multiple VMs involved. The error comes from using the same Cuba deployment both as IDP and Service - I’m basically just trying to log in on the Identity provider.
To be sure it wasn’t any error in configuring Cuba, I got it working on a docker container with Bitnami Tomcat docker image. I will try deploying the container today. Also, in both tests I’m using the same cloud database.
If you use default logging settings I’d strongly recommend that you set up logback.xml configuration in your Tomcat, since by default WARs will contain default logback.xml with logging to CONSOLE only, thus you will not be able to figure out what’s wrong with the application. See this description: Setting up Logging in Tomcat - CUBA Platform. Developer’s Manual
You can copy logback.xml from your local tomcat instance and specify its location in setenv.sh:
I finally managed to get it working changing the approach.
Since Azure Web App doesn’t allow Tomcat configuration by default, I had to create a custom Docker image to use the Web App service. I integrated some suggestion found at [url=https://www.road-to-cuba-and-beyond.com/put-a-island-into-a-box-how-to-dockerize-your-cuba-app/]https://www.road-to-cuba-and-beyond.com/put-a-island-into-a-box-how-to-dockerize-your-cuba-app/[/url], then made some customizations for the Azure infrastructure (for example, to allow getting the logs from the Docker container).
The particular issue I was having was resolved adding
Sadly I was only able to log on the IDP itself, but logging from the other Service providers is not working.
You said “IDP SSO feature of the platform uses direct server-to-server connection between IDP and Services to send authentication and account data.”
Could you elaborate a bit on that? Are there ports you need access on the IDP, or both IDP and service?