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

In docker installation, domain names not work #81

Closed
JosepEscobar opened this issue Oct 12, 2015 · 15 comments
Closed

In docker installation, domain names not work #81

JosepEscobar opened this issue Oct 12, 2015 · 15 comments
Milestone

Comments

@JosepEscobar
Copy link

I installed with docker method, and i can login to the board with internal LAN IP (Like 192.168...).
But I can't login with domain name (Like board.mydomainname.com).

Then show a empty dialog message at the upper left corner.

@rrjanbiah
Copy link
Contributor

@JosepEscobar Are you getting any error in browser console?

@JosepEscobar
Copy link
Author

nope, consola shows normal message:

Document was loaded from Application Cache with manifest http://board.ticplace.com:1234/default.appcache
(index):1 Application Cache Checking event
(index):1 Application Cache NoUpdate event

@rrjanbiah
Copy link
Contributor

@JosepEscobar Sorry, but can you look into the net tab and see responses? Please see if there's any differences when you use domain name and IP.

@JosepEscobar
Copy link
Author

Here the screenshot:
screenshot

@JosepEscobar
Copy link
Author

New screenshot:
screenshot

@rrjanbiah
Copy link
Contributor

@JosepEscobar Can you please check the response of settings.json call?

Also, we're not sure from where the main.js and detector.js are getting loaded (they're not available in Restyaboard).

@JosepEscobar
Copy link
Author

This is the network console with hostname:
screenshot

This is the network console with IP address:
screenshot

I obserbe one difrence at login with hostname, we receive a undefined token:
screenshot

But when i log in by IP i received a real token:
screenshot

@JosepEscobar
Copy link
Author

settings.json call
screenshot

Response:

{"LDAP_LOGIN_ENABLED":"false","SITE_NAME":"Restyaboard","LABEL_ICON":"icon-circle","SITE_TIMEZONE":"+0200","DROPBOX_APPKEY":"","FLICKR_API_KEY":"","STANDARD_LOGIN_ENABLED":"true"}

@rrjanbiah
Copy link
Contributor

@JosepEscobar It looks like the oauth.json call is failing. We'll need sometime to look into it. We'll update you tomorrow. Thanks for your understanding.

@rrjanbiah rrjanbiah added this to the v0.1.4 milestone Oct 13, 2015
@JosepEscobar
Copy link
Author

No problem, thanks to you!

@rrjanbiah
Copy link
Contributor

(Self note: Probably related to namikingsoft/docker-restyaboard#2 ??)

@rrjanbiah
Copy link
Contributor

@JosepEscobar It looks like the HTTP request to generate token (from server side) is failing. This issue seems to be related to namikingsoft/docker-restyaboard#2 (comment) Can you please check if that is resolving your issue?

@jujes
Copy link

jujes commented May 30, 2016

Hi, someone know how get let's encrypt ssl https feature?
deploy script

sudo su
git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cd /opt/letsencrypt/
[----> choose standalone]
  /opt/letsencrypt/letsencrypt-auto certonly
[----> certs path]
/etc/letsencrypt/live/[sitemane]
exit
git clone https://github.com/namikingsoft/docker-restyaboard.git restyaboard
cd restyaboard
[----> change 443 instead 1234 ]
nano docker-compose.yml
  ports:
    - 443:80
  volumes:
    - certs:/etc/letsencrypt/live/[sitemane]
docker-compose up -d

output

Successfully built d88cb20591b6
WARNING: Image for service restyaboard was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating restyaboard_data_1
Creating restyaboard_postgres_1
Creating restyaboard_elasticsearch_1
Creating restyaboard_restyaboard_1
user@ubuntu:~/dpl/restyaboard$ docker ps -a
CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS                 NAMES
f0afe7887ec8        restyaboard_restyaboard   "/docker-entrypoint.s"   4 minutes ago       Up 4 minutes        0.0.0.0:443->80/tcp   restyaboard_restyaboard_1
241655e31e66        elasticsearch             "/docker-entrypoint.s"   4 minutes ago       Up 4 minutes        9200/tcp, 9300/tcp    restyaboard_elasticsearch_1
a6abfcf020b6        postgres                  "/docker-entrypoint.s"   4 minutes ago       Up 4 minutes        5432/tcp              restyaboard_postgres_1
c797a2439de4        busybox                   "tail -f /dev/null"      4 minutes ago       Up 4 minutes                              restyaboard_data_1

@rrjanbiah
Copy link
Contributor

Reopening the issue. Not sure how the commit will fix the issue. Also, looks like the vendor files are patched wrongly.

@rrjanbiah rrjanbiah reopened this May 24, 2017
@lmarikannan
Copy link
Contributor

@rrjanbiah Due to curl exec call this issue was happend. On this commit we're changed curl to separate function to resolve this issue

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

No branches or pull requests

5 participants