• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Emails won't send after Pure docker setup

Version
4.1.4
PHP version
8.2.20
Database driver
MariaDB
Database version
Docker compose from documentation
Web browser
chrome

Aznlilly

Chevereto Member
I used the docker builder setup to create a website, then I migrated to a pure docker setup with a compose file after exporting my database. Emails won't send now using the tool. I think maybe something is wrong with the pure docker setup and emailing or something went wrong with me restoring the database after moving servers and I need to do something to unbreak it.
 
Last edited:
It's the pure docker setup. Checking the docker logs doesn't show anything when I try to send test emails. The ports are open. I can send emails from the container using telnet.
 
Pay attention to the browser console log while testing email. The HTTP request may contain details about the issue.
 
Yeah I get errors.


Code:
tools:1  Mixed Content: The page at 'https://photos.pixelhumble.com/dashboard/settings/tools' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://photos.pixelhumble.com/json/?auth_token=114ea4c31a014d8685f4a7f6bfe002711f4b3fee&email=test-qfjph5j6o%40srv1.mail-tester.com&action=testEmail&_=1723473100424'. This request has been blocked; the content must be served over HTTPS.
chevereto.min.js?a8ae891fee3f029670061a690b906444:1  Uncaught TypeError: Cannot read properties of undefined (reading 'status_code')
    at Object.<anonymous> (chevereto.min.js?a8ae891fee3f029670061a690b906444:1:13956)
    at u (scripts.min.js?a8ae891fee3f029670061a690b906444:2:21080)
    at Object.fireWith (scripts.min.js?a8ae891fee3f029670061a690b906444:2:21883)
    at n (scripts.min.js?a8ae891fee3f029670061a690b906444:4:1218)
    at XMLHttpRequest.n (scripts.min.js?a8ae891fee3f029670061a690b906444:4:6840)

chevereto.min.js?a8ae891fee3f029670061a690b906444:1  Uncaught TypeError: Cannot read properties of undefined (reading 'status_code')
    at Object.<anonymous> (chevereto.min.js?a8ae891fee3f029670061a690b906444:1:13956)
    at u (scripts.min.js?a8ae891fee3f029670061a690b906444:2:21080)
    at Object.fireWith (scripts.min.js?a8ae891fee3f029670061a690b906444:2:21883)
    at n (scripts.min.js?a8ae891fee3f029670061a690b906444:4:1218)
    at XMLHttpRequest.n (scripts.min.js?a8ae891fee3f029670061a690b906444:4:6840)

These show up in the browser console when I send the test email.
 
but requested an insecure XMLHttpRequest endpoint
It is saying that there are HTTPS issues, mind checking the related ENV. The system is trying for HTTP instead of HTTPS, could be a wrong setup or some redirect causing to try http.
 
It is saying that there are HTTPS issues, mind checking the related ENV. The system is trying for HTTP instead of HTTPS, could be a wrong setup or some redirect causing to try http.
I don't mind checking the ENV but I am not 100% sure what that means.

Code:
ENV CHEVERETO_DB_HOST=mariadb \
    CHEVERETO_DB_NAME=chevereto \
    CHEVERETO_DB_PASS=user_database_password \
    CHEVERETO_DB_USER=chevereto \
    CHEVERETO_ERROR_LOG=/dev/stderr \
    CHEVERETO_MAX_EXECUTION_TIME_SECONDS=30 \
    CHEVERETO_MAX_MEMORY_SIZE=512M \
    CHEVERETO_MAX_POST_SIZE=64M \
    CHEVERETO_MAX_UPLOAD_SIZE=64M \
    CHEVERETO_SERVICING=docker \
    CHEVERETO_SESSION_SAVE_HANDLER=files \
    CHEVERETO_SESSION_SAVE_PATH=/tmp

Should I update the docker compose url to include https://
 
Last edited:
It is trying http for some reason, but if everywhere else is doing https then there could be a mixed content issue in the settings page.

I just tested this on my docker infra and works without issues, you should explicit use https everywhere.
 
Back
Top