Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Dr Kim Foale
    @kimadactyl
    whats it meant to be?
    Everton Ribeiro
    @nuxlli
    ping, browsers, no work?
    Dr Kim Foale
    @kimadactyl
    ooo
    kim@chips:~/git/taichi/taichi_rails$ ping dev.azk.io
    PING dev.azk.io (172.18.0.1) 56(84) bytes of data.
    64 bytes from 172.18.0.1: icmp_seq=1 ttl=64 time=0.040 ms
    64 bytes from 172.18.0.1: icmp_seq=2 ttl=64 time=0.045 ms
    64 bytes from 172.18.0.1: icmp_seq=3 ttl=64 time=0.051 ms
    Everton Ribeiro
    @nuxlli
    nice
    Dr Kim Foale
    @kimadactyl
    hmm
    This message was deleted
    kim@chips:~/git/taichi/taichi_rails$ ping dev.azk.io
    PING dev.azk.io (172.18.0.1) 56(84) bytes of data.
    64 bytes from 172.18.0.1: icmp_seq=1 ttl=64 time=0.040 ms
    64 bytes from 172.18.0.1: icmp_seq=2 ttl=64 time=0.045 ms
    64 bytes from 172.18.0.1: icmp_seq=3 ttl=64 time=0.051 ms
    ^C
    --- dev.azk.io ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2000ms
    rtt min/avg/max/mdev = 0.040/0.045/0.051/0.007 ms
    kim@chips:~/git/taichi/taichi_rails$ 
    kim@chips:~/git/taichi/taichi_rails$ sudo sed -i -re "s/(hosts:.*)\s{1,}resolver(\s{1,}\[[^]|.]*\]){0,1}($|\s\w)(.*)/\1\3\4 [SUCCESS=continue] resolver/; s/\s*$//;" /etc/nsswitch.conf
    kim@chips:~/git/taichi/taichi_rails$ ping dev.azk.io
    ping: unknown host dev.azk.io
    im a bit confused :)
    Everton Ribeiro
    @nuxlli
    me too :P
    Dr Kim Foale
    @kimadactyl
    is there an order i need to do things in, eg, starting azk, running the commands, etc
    Everton Ribeiro
    @nuxlli
    back to the old version of /etc/nsswitch.conf
    Dr Kim Foale
    @kimadactyl
    it currently looks like this
    This message was deleted
    This message was deleted
    kim@chips:~/git/taichi/taichi_rails$ cat /etc/nsswitch.conf 
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.
    
    passwd:         compat
    group:          compat
    shadow:         compat
    
    hosts:          files mdns4_minimal [NOTFOUND=return] dns [SUCCESS=continue] [SUCCESS=continue] resolver
    networks:       files
    
    protocols:      db files
    services:       db files
    ethers:         db files
    rpc:            db files
    
    netgroup:       nis
    Everton Ribeiro
    @nuxlli
    ual
    remove one "[SUCCESS=continue]"
    Dr Kim Foale
    @kimadactyl
    ah ok ran your command twice by accident :smile:
    have a ping again
    Everton Ribeiro
    @nuxlli
    nice
    Dr Kim Foale
    @kimadactyl
    ooo
    "no application configured"
    Everton Ribeiro
    @nuxlli
    nice!
    Dr Kim Foale
    @kimadactyl
    https://taichi-school.dev.azk.io/ unable to connect then
    dev.azk.io giving no application
    Everton Ribeiro
    @nuxlli
    now you can try start your application with azk start
    Dr Kim Foale
    @kimadactyl
    it is started, restart?
    Everton Ribeiro
    @nuxlli
    yes
    cd [app_dir] && azk restart
    Dr Kim Foale
    @kimadactyl
    hmm did azk agent stop && azk start and its not working
    ping to dev.azk.io working, browser not willing to connect
    Everton Ribeiro
    @nuxlli
    you can send me the output?
    Dr Kim Foale
    @kimadactyl
    ping to taichi-school.dev.azk.io working too
    the output of what?
    Everton Ribeiro
    @nuxlli
    for "azk agent stop && azk start" process
    Dr Kim Foale
    @kimadactyl
    kim@chips:~/git/taichi/taichi_rails$ azk agent stop && azk start
    azk: Agent is running...
    azk: Agent is being stopped...
    azk: Agent has been successfully stopped.
    ? The agent is not running, would you like to start it? Yes
    azk: Please wait, this process may take several minutes
    azk: Loading settings and checking dependencies.
    azk: Checking version...
    azk: azk 0.17.0 detected
    azk: Cleaning 2 lost containers
    azk: Settings loaded successfully.
    azk: Agent is being started...
    azk: Trying to connect to docker (unix:///var/run/docker.sock) (timeout: 20s)...
    azk: Starting azk dns service...
    azk: Dns service started.
    azk: Trying to connect to docker (unix:///var/run/docker.sock) (timeout: 20s)...
    azk: Starting azk balancer redirect service...
    azk: Check if balancer redirect service is up (tcp://172.18.0.1:80) (timeout: 10000s)...
    azk: Balancer redirect started.
    azk: Starting memcached service...
    azk: Memcached service started.
    azk: Starting http balancer service...
    azk: Http balancer service started.
    azk: Agent has been successfully started.
    azk: ↑ starting `postgres` system, 1 new instances...
    azk: ✓ checking `azukiapp/postgres:9.4` image...
    azk: ◴ waiting for `postgres` system to start, trying connection to port data/tcp...
    azk: ↑ starting `taichi-school` system, 1 new instances...
    azk: ✓ checking `azukiapp/ruby:2.3.0` image...
    azk: ⎘ syncing files for `taichi-school` system...
    azk: ◴ waiting for `taichi-school` system to start, trying connection to port http/tcp...
    
    ┌───┬───────────────┬───────────┬─────────────────────────────────┬─────────────────┬─────────────┐
    │   │ System        │ Instances │ Hostname/url                    │ Instances-Ports │ Provisioned │
    ├───┼───────────────┼───────────┼─────────────────────────────────┼─────────────────┼─────────────┤
    │ ↑ │ postgres      │ 1         │ dev.azk.io                      │ 1-data:32776    │ -           │
    ├───┼───────────────┼───────────┼─────────────────────────────────┼─────────────────┼─────────────┤
    │ ↑ │ taichi-school │ 1http://taichi-school.dev.azk.io │ 1-http:32777    │ 3 hours ago │
    └───┴───────────────┴───────────┴─────────────────────────────────┴─────────────────┴─────────────┘
    kim@chips:~/git/taichi/taichi_rails$
    wow this thing formats tables properly? :sparkles:
    Everton Ribeiro
    @nuxlli
    Dr Kim Foale
    @kimadactyl
    "This site can’t provide a secure connection"
    http redirects to https
    Everton Ribeiro
    @nuxlli
    the ask does not yet support https, your application for this redirecting https
    Dr Kim Foale
    @kimadactyl
    yes its redirecting weird
    Everton Ribeiro
    @nuxlli
    try
    Dr Kim Foale
    @kimadactyl
    An error occurred during a connection to taichi-school.dev.azk.io:32777. SSL received a record that exceeded the maximum permissible length. Error code: SSL_ERROR_RX_RECORD_TOO_LONG
    Everton Ribeiro
    @nuxlli
    curl -I http://taichi-school.dev.azk.io
    Dr Kim Foale
    @kimadactyl
    kim@chips:~/git/taichi/taichi_rails$ curl -I http://taichi-school.dev.azk.io
    HTTP/1.1 301 Moved Permanently
    content-type: text/html
    location: https://taichi-school.dev.azk.io/
    connection: close
    content-length: 0
    Date: Fri, 25 Mar 2016 19:43:22 GMT
    Everton Ribeiro
    @nuxlli
    this apps is rails app?
    Dr Kim Foale
    @kimadactyl
    yes. im using a spree, an ecommerce app on it though. maybe thats doing something? hmmmm
    i have the custom database.yml running so cant easily check hmm