-
Notifications
You must be signed in to change notification settings - Fork 90
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
Caldera error url #2195
Comments
Hi, |
So I remote the quotes inside my docker compose
here in agents: here the errors: |
I replicated it this morning and I am continuing to investigate further. |
I'm not sure to understand the issue you're experiencing. Docker-compose
Caldera
Thank you! |
Can it have something to do with rabbitmq. what i did is take one docker compose for opencti and openbas.
|
I don't think so. |
Yes it work well without the caldera |
The issue likely stems from the communication between OpenBAS and Caldera, I suppose. I changed this variables to be able to run without error your docker compose file |
Description
Environment
Ubuntu 24.04 Docker
1.10.1
Bug:
I started the caldera server for Openbas
caldera:
image: openbas/caldera-server:5.0.0
restart: always
ports:
- "8888:8888"
environment:
CALDERA_URL: http://caldera.domain.com:8888
volumes:
- type: bind
source: caldera.yml
target: /usr/src/app/conf/local.yml
openbas:
image: openbas/platform:1.10.1
environment:
- SERVER_SSL_KEY-STORE-PASSWORD=${KEYSTORE_PASSWORD}
- OPENBAS_BASE-URL=http://localhost:8080
- OPENBAS_AUTH-LOCAL-ENABLE=true
- SPRING_DATASOURCE_URL=jdbc:postgresql://pgsql:5432/openbas
- SPRING_DATASOURCE_USERNAME=${POSTGRES_USER}
- SPRING_DATASOURCE_PASSWORD=${POSTGRES_PASSWORD}
- MINIO_ENDPOINT=minio
- MINIO_ACCESS-KEY=${MINIO_ROOT_USER}
- MINIO_ACCESS-SECRET=${MINIO_ROOT_PASSWORD}
- OPENBAS_RABBITMQ_HOSTNAME=rabbitmq
- OPENBAS_RABBITMQ_USER=${RABBITMQ_DEFAULT_USER}
- OPENBAS_RABBITMQ_PASS=${RABBITMQ_DEFAULT_PASS}
- SPRING_MAIL_HOST=${SPRING_MAIL_HOST}
- SPRING_MAIL_PORT=${SPRING_MAIL_PORT}
- SPRING_MAIL_USERNAME=${SPRING_MAIL_USERNAME}
- SPRING_MAIL_PASSWORD=${SPRING_MAIL_PASSWORD}
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH=${SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH}
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_SSL_ENABLE=${SPRING_MAIL_PROPERTIES_MAIL_SMTP_SSL_ENABLE}
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_SSL_TRUST=*
- SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE=${SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE}
- OPENBAS_MAIL_IMAP_ENABLED=${OPENBAS_MAIL_IMAP_ENABLED}
- OPENBAS_MAIL_IMAP_HOST=${OPENBAS_MAIL_IMAP_HOST}
- OPENBAS_MAIL_IMAP_PORT=${OPENBAS_MAIL_IMAP_PORT}
- OPENBAS_MAIL_IMAP_USERNAME=${SPRING_MAIL_USERNAME}
- OPENBAS_MAIL_IMAP_PASSWORD=${SPRING_MAIL_PASSWORD}
- OPENBAS_MAIL_IMAP_AUTH=${OPENBAS_MAIL_IMAP_AUTH}
- OPENBAS_MAIL_IMAP_SSL_ENABLE=${OPENBAS_MAIL_IMAP_SSL_ENABLE}
- OPENBAS_MAIL_IMAP_SSL_TRUST=*
- OPENBAS_MAIL_IMAP_STARTTLS_ENABLE=${OPENBAS_MAIL_IMAP_STARTTLS_ENABLE}
- OPENBAS_ADMIN_EMAIL=${OPENBAS_ADMIN_EMAIL}
- OPENBAS_ADMIN_PASSWORD=${OPENBAS_ADMIN_PASSWORD}
- OPENBAS_ADMIN_TOKEN=${OPENBAS_ADMIN_TOKEN}
- OPENBAS_XTM_OPENCTI_ENABLE=true
- OPENBAS_XTM_OPENCTI_URL=http://opencti:8080
- OPENBAS_XTM_OPENCTI_TOKEN=REDACTED
- EXECUTOR_CALDERA_ENABLE=true
- EXECUTOR_CALDERA_URL="http://caldera:8888"
- EXECUTOR_CALDERA_PUBLIC-URL=http://caldera.domain.com:8888
- EXECUTOR_CALDERA_API-KEY=REDACTED
But openbas always says this:
openbas-1 | Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
openbas-1 | {"sequenceNumber":0,"timestamp":1736565116145,"nanoseconds":145300763,"level":"ERROR","threadName":"main","loggerName":"io.openbas.executors.caldera.service.CalderaExecutorService","context":{"name":"default","birthdate":1736565074004,"properties":{}},"mdc": {},"message":"Error creating caldera executor: java.lang.IllegalArgumentException: Illegal character in scheme name at index 0: "http://caldera:8888"/api/v2/abilities","throwable":null}
openbas-1 | {"sequenceNumber":0,"timestamp":1736565116185,"nanoseconds":185491132,"level":"ERROR","threadName":"main","loggerName":"io.openbas.executors.caldera.service.CalderaExecutorService","context":{"name":"default","birthdate":1736565074004,"properties":{}},"mdc": {},"message":"Error creating caldera executor: java.lang.IllegalArgumentException: Illegal character in scheme name at index 0: "http://caldera:8888"/api/v2/abilities","throwable":null}
Step i tried
The text was updated successfully, but these errors were encountered: