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

Help wanted - issue in deploying service-center-frontend in AWS #1328

Open
shri-arunraj opened this issue Aug 9, 2022 · 1 comment
Open

Comments

@shri-arunraj
Copy link

shri-arunraj commented Aug 9, 2022

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-xx.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
  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"

  1. Create Route 53 DNS ENtry mapping for the port 30103
  2. click on the configured DNS entry https://servicecomb-dev-xx.xx.com/
  3. The requests would fail with the below error
  4. See error
  5. The requests are failing with HTTP 404 error

Screenshot 2022-08-09 at 6 35 53 PM

The service-center UI is not rendered.

@shri-arunraj
Copy link
Author

@little-cui looking forward for some hints to troubleshoot this issue..?

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