Skip to content
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

Setup issues (letsencrypt/https) #277

Closed
zgec opened this issue Jan 25, 2020 · 4 comments
Closed

Setup issues (letsencrypt/https) #277

zgec opened this issue Jan 25, 2020 · 4 comments

Comments

@zgec
Copy link

zgec commented Jan 25, 2020

First, thanks for this amazing project! I wish I discovered it earlier.

I just wanted to report an issue on a brand new server setup of exoframe.

Did it on a fresh install of:
Ubuntu Server 18.04

I installed docker and followed guide at:
https://github.com/exoframejs/exoframe/blob/master/docs/ServerInstallation.md
(I left letsencrypt flag on)

After running that command, I went to exoframe CLI and ran:
exoframe endoint http://myserver.example.com
and then exoframe login

However, then, I experienced:
Error logging in! Error getting login request phrase. Make sure your endpoint is correct! HTTPError: Response code 404 (Not Found)

When going in browser to: http://myserver.example.com/ I saw a "404 page not found"
While **https://**myserver.example.com/ would result in a timeout.


How I solved it

  • went to: exoframe-folder/server.config.yml
  • enabled letsencrypt, letsencryptEmail, baseDomain, swarm (false)
  • stopped, removed containers
  • reran the docker run command from instructions (this time with the exoframe folder present, with changed config)
  • logged in successfully through CLI using **https://**myserver.example.com/
@yamalight
Copy link
Contributor

@keymaker91 as the docs state - you need to kill / remove traefik after enabling letsencrypt (so that exoframe can restart it with correct flags). I'm guessing that's where the issue were, so stopping / removing traefik, and then restarting exoframe-server would be enough 😅

@zgec
Copy link
Author

zgec commented Jan 25, 2020

Right, that last part - solution - really felt like a hack :)

I guess what is missing in the docs for server installation, is a notice that you should enable letsencrypt manually after running that docker run command if you want to use exoframe through https?

@yamalight
Copy link
Contributor

@keymaker91 exoframe definitely needs better docs, can't argue with this 😅
my plan was to rework the docs once I build a website (#259), couldn't find time to that yet though 🤔

@yamalight
Copy link
Contributor

Closing this, will address the issue once I start working on the website and overhauling docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants