Giter Club home page Giter Club logo

Comments (5)

intri-in avatar intri-in commented on June 27, 2024

This sounds like an issue with the reverse proxy configuration.

It's weird that you can make write requests, but not read requests.

When accessing through the Nginx proxy, can MMDL find your calendars?

Maybe the fetch request is being blocked at the proxy end? Can you check the logs of NPM and see if MMDL makes a request and what status code you find?

Also, when you add your Baikal account to MMDL, instead of using "http://yourdomain.example.com/" in Caldav server Url field, try using "http://yourdomain.example.com/dav.php" as the URL, and see if the issue resolves.

from manage-my-damn-life-nextjs.

simonl169 avatar simonl169 commented on June 27, 2024

When accessing through the Nginx proxy, can MMDL find your calendars?

Yes, I can find the calendars and even set it up as a new account

Maybe the fetch request is being blocked at the proxy end? Can you check the logs of NPM and see if MMDL makes a request and what status code you find?

Working on that

Also, when you add your Baikal account to MMDL, instead of using "http://yourdomain.example.com/" in Caldav server Url field, try using "http://yourdomain.example.com/dav.php" as the URL, and see if the issue resolves.

Yes, I am already using this, the other option would not work

from manage-my-damn-life-nextjs.

simonl169 avatar simonl169 commented on June 27, 2024

[06/May/2024:21:12:23 +0200] - 207 207 - PROPFIND https yourdomain.com "/dav.php/principals/User1/" [Client 192.168.176.1] [Length 464] [Gzip -] [Sent-to 192.168.42.107] "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" "-"
[06/May/2024:21:12:23 +0200] - 207 207 - PROPFIND https yourdomain.com "/dav.php/calendars/User1/" [Client 192.168.176.1] [Length 3149] [Gzip -] [Sent-to 192.168.42.107] "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" "-"
[06/May/2024:21:12:23 +0200] - 207 207 - PROPFIND https yourdomain.com "/dav.php/calendars/User1/default/" [Client 192.168.176.1] [Length 1118] [Gzip -] [Sent-to 192.168.42.107] "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" "-"
[06/May/2024:21:12:23 +0200] - 207 207 - PROPFIND https yourdomain.com "/dav.php/calendars/User1/NewCalendar/" [Client 192.168.176.1] [Length 1117] [Gzip -] [Sent-to 192.168.42.107] "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" "-"

This is the log after I click "Sync" in the menu, does seem okay

from manage-my-damn-life-nextjs.

intri-in avatar intri-in commented on June 27, 2024

Interesting. The PROPFIND requests are there, but there are no REPORT requests for the actual objects (events/tasks).

I will investigate this, meanwhile perhaps you can try MMDL with the IP address directly.

from manage-my-damn-life-nextjs.

simonl169 avatar simonl169 commented on June 27, 2024

Just for completeness, here is my docker-compose.yml

volumes:
  data:
networks:
  app-tier:
services:
  app:
    image: intriin/mmdl:latest
    ports:
      - 9300:3000
    depends_on:
      - db 
    restart: always
    networks:
      - app-tier  
    environment:
      DB_HOST: db
      DB_USER: user
      DB_PASS: password
      DB_PORT: 3306
      DB_NAME: sample_install_mmdm
      DB_CHARSET: "utf8mb4"
      DB_COLLATE: "utf8mb4_0900_ai_ci"
      AES_PASSWORD: PASSWORD


  db:
    image: mariadb
    networks:
      - app-tier  
    volumes:
      - data:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: sample_install_mmdm
      MYSQL_USER: user
      MYSQL_PASSWORD: password
    ports:
      - "3306:3306"

from manage-my-damn-life-nextjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.