GithubHelp home page GithubHelp logo

Comments (9)

egorvas avatar egorvas commented on May 23, 2024 1

Also I will be glad to see opportunity to use https instead of http

from docker-parse-server.

cleever avatar cleever commented on May 23, 2024 1

Great work @yongjhih

from docker-parse-server.

yongjhih avatar yongjhih commented on May 23, 2024

See Also: https://github.com/yongjhih/docker-parse-server#usage-of-https-certificated-domain-with-letsencrypt

from docker-parse-server.

egorvas avatar egorvas commented on May 23, 2024

Seems that https way dosen't work correctly, so this is example of my compose script:

USER1=yotatravel USER1_PASSWORD=yotatravel PARSE_DASHBOARD_VIRTUAL_HOST=parse.yotatravel.tk PARSE_DASHBOARD_LETSENCRYPT_HOST=parse.yotatravel.tk [email protected] PARSE_SERVER_VIRTUAL_HOST=api.yotatravel.tk PARSE_SERVER_LETSENCRYPT_HOST=api.yotatravel.tk [email protected] SERVER_URL=https://api.yotatravel.tk/parse APP_ID=yotatravel MASTER_KEY=yotatravel docker-compose -f docker-compose-le.yml up

With this configuration dns working good and parse.yotatravel.tk and api.yotatravel.tk domains are working.
But yongjhih/parse-dashboard, yongjhih/parse-cloud-code, dockerparseserver_mongo-data_1 containers crashed.
Also during letsencrypt-nginx-proxy-companion process this messages was shown:

2016-05-06 13:29:16,405:ERROR:simp_le:1271: CA marked some of the authorizations as invalid, which likely means it could not access http://example.com/.well-known/acme-challenge/X. Did you set correct path in -d example.com:path or --default_root? Is there a warning log entry about unsuccessful self-verification? Are all your domains accessible from the internet? Failing authorizations: https://acme-v01.api.letsencrypt.org/acme/authz/5MI7LyxpOMxYRM-EYqRZlNIdODWDg8-RikF1P8q_AAg

2016-05-06 13:29:20,668:ERROR:acme.challenges:256: Unable to reach http://parse.yotatravel.tk/.well-known/acme-challenge/eOQEOSIS60tBWYifOxvF4eLpmQlMKZPpySv8oL9OVms: HTTPConnectionPool(host='parse.yotatravel.tk', port=80): Max retries exceeded with url: /.well-known/acme-challenge/eOQEOSIS60tBWYifOxvF4eLpmQlMKZPpySv8oL9OVms (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fc65aa13050>: Failed to establish a new connection: [Errno -2] Name does not resolve',))

I can provide full stacktrace if you want

from docker-parse-server.

yongjhih avatar yongjhih commented on May 23, 2024

I can not reproduce it. Do you have public ip on machine?

https://youtu.be/9ia2a9hfLkU

from docker-parse-server.

cleever avatar cleever commented on May 23, 2024

@egorvas Same error here.

Additional informational:

WARNING:simp_le:1303: api.**** was not successfully self-verified. CA is likely to fail as well!
letsencrypt-nginx-proxy-companion | Challenge validation has failed, see error log.

from docker-parse-server.

egorvas avatar egorvas commented on May 23, 2024

@cleever yeap, thank you you right, already found and fixed

from docker-parse-server.

cleever avatar cleever commented on May 23, 2024

@egorvas Could you post your solution for the community?

from docker-parse-server.

egorvas avatar egorvas commented on May 23, 2024

@cleever It hard to explain my solution, I just remove all my parse containers from the docker and I tried again with same configuration

from docker-parse-server.

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.