Skip to content

Before installed Not access to any endpoint! #48

Open
@masalinas

Description

@masalinas

I installed the apiconnect-docker using Micro Gateway as the gateway service. I must to change the dockerfile of the microservice and microgateway containers from line FROM node:6-slim to FROM node:8-slim to beinstalled. I think everythin installed correctly, all the containers are started.

docker-compose -f docker-compose-microgateway.yaml ps
    Name                   Command               State               Ports            
--------------------------------------------------------------------------------------
apim            /tini -- /startup.sh             Exit 1                               
esmaster        /docker-entrypoint.sh /bin ...   Up       9200/tcp, 9300/tcp          
ibmlogstash     /bin/sh -c /startup.sh           Up                                   
ibmportal       /root/tini -- /root/start_ ...   Up                                   
make-ssh-keys   /bin/sh -c /genkey.sh            Exit 0                               
microgateway    /bin/sh -c /usr/bin/app.sh ...   Up                                   
microservice    /bin/sh -c /usr/bin/app.sh ...   Up       8080/tcp                    
nginx           /bin/sh -c /run.sh               Up       0.0.0.0:443->443/tcp, 80/tcp

I set in my /etc/hosts this configuration:
127.0.0.1 apim datapower gwadmin ibmportal microservice

I also tryed with:
0.0.0.0 apim datapower gwadmin ibmportal microservice

But If try login in: https://apim/cmc/ or in: https://apim/apim/ I have not access to any of these endpoints

the brower said: the connection is closed suddenly and nothing is showed. These are some logs from nginx container:

2018/08/25 13:13:54 [info] 14#14: *489 client 172.20.0.1:51730 connected to 0.0.0.0:443
2018/08/25 13:13:57 [error] 14#14: *489 connect() failed (113: No route to host) while connecting to upstream, client: 172.20.0.1, server: 0.0.0.0:443, upstream: "172.20.0.4:443", bytes from/to client:0/0, bytes from/to upstream:0/0
2018/08/25 13:13:57 [info] 14#14: *491 client 172.20.0.1:51736 connected to 0.0.0.0:443
2018/08/25 13:14:00 [error] 14#14: *491 connect() failed (113: No route to host) while connecting to upstream, client: 172.20.0.1, server: 0.0.0.0:443, upstream: "172.20.0.4:443", bytes from/to client:0/0, bytes from/to upstream:0/0
2018/08/25 13:14:00 [info] 14#14: *493 client 172.20.0.1:51744 connected to 0.0.0.0:443
2018/08/25 13:14:03 [error] 14#14: *493 connect() failed (113: No route to host) while connecting to upstream, client: 172.20.0.1, server: 0.0.0.0:443, upstream: "172.20.0.4:443", bytes from/to client:0/0, bytes from/to upstream:0/0
2018/08/25 13:14:03 [info] 14#14: *495 client 172.20.0.1:51750 connected to 0.0.0.0:443
2018/08/25 13:14:06 [error] 14#14: *495 connect() failed (113: No route to host) while connecting to upstream, client: 172.20.0.1, server: 0.0.0.0:443, upstream: "172.20.0.4:443", bytes from/to client:0/0, bytes from/to upstream:0/0

These are apim logs:

docker logs apim
grep: /opt/ibm/informix/etc/apim-informix.conf: No such file or directory
Stopping informix service: Success.

grep: /opt/ibm/informix/etc/apim-informix.conf: No such file or directory
Failed to load c++ bson extension, using pure JS version
Creating new empty database
Failed to load c++ bson extension, using pure JS version
Starting Informix 12.10.FC6XP
Failed to run step 2: _create_apim_dbspace
ERROR Normal startup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions