shri-arunraj opened a new issue, #1328:
URL: https://github.com/apache/servicecomb-service-center/issues/1328

   Im running the docker images of  `servicecomb/service-center`  and 
`servicecomb/scfrontend` in my ec2 instance.
   And routing the requests to service center front end with AWS Route53 
service with DNS entry  https://servicecomb-dev-38.talech.com/.  And the 
service-center UI is not rendered properly as expected. However the same 
configuration works in my local environment. Only thing  different here is AWS 
DNS is `https` enabled URL.  What am i doing wrong here?
   **Please help ASAP!!**
   
   Do i need to enable SSL/TLS for service center for AWS deployment?
   
   
   Steps to reproduce the behavior:
   1. run docker images with below docker compose config
   2. 
   ```services:
     etcd:
       image: 'quay.io/coreos/etcd:latest'
       # restart: always
       #ports:
       #  - "2379:2379"
       environment:
         ETCD_ADVERTISE_CLIENT_URLS: http://etcd:2379
         ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
         ETCD_INITIAL_ADVERTISE_PEER_URLS: http://etcd:2380
         ETCD_LISTEN_PEER_URLS: http://0.0.0.0:2380
         ETCD_INITIAL_CLUSTER: default=http://etcd:2380
     service-center:
       depends_on:
         - etcd
       image: 'servicecomb/service-center:latest'
       # restart: always
       container_name: service-center
       ports:
         - "30100:30100"
       environment:
         BACKEND_ADDRESS: http://etcd:2379
   
     scfrontend:
       depends_on:
         - service-center
       image: 'servicecomb/scfrontend:latest'
       container_name: service-center-UI
       # restart: always
       ports:
         - "30103:30103"
       environment:
         SC_ADDRESS: http://service-center:30100
     zipkin:
      image: openzipkin/zipkin
      container_name: zipkin
      ports:
       - "9411:9411"
   
   ```
   3. Create Route 53 DNS ENtry mapping for the port `30103` 
   4. click on the configured DNS entry https://servicecomb-dev-38.talech.com/
   5. The requests would fail with the below error
   6. See error
   7. The requests are failing with HTTP 404 error
   
   <img width="1440" alt="Screenshot 2022-08-09 at 6 35 53 PM" 
src="https://user-images.githubusercontent.com/2649050/183654448-1ec038bb-eb85-4687-9d3e-63e47316923e.png";>
   
   
   The service-center UI is not rendered.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to