Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    balibebas
    @balibebas
    thanks, bos. you may wish to try the forums too for visibility
    ihalton
    @ihalton
    @balibebas this maybe it is a bug. Nobody answer me in that channel. :)
    Ankur Pata
    @ankurpata
    image.png
    Hi @loan-laux
    The Reaction-Hydra repo says ' its 💥 Not safe for production.'
    What does this exactly mean? Do we need to use our custom authentication service instead of Hydra for production or we need to customize based on our needs ?
    balibebas
    @balibebas
    Food for thought... Coinbase: Why Kubernetes is not part of our stack https://blog.coinbase.com/container-technologies-at-coinbase-d4ae118dcb6c
    S Tunji Turner
    @0xTunji
    Reaction + Vercel anybody?
    Loan Laux
    @loan-laux
    Yep. Works. I can confirm.
    Q_Q
    @mfaster
    Do anyone still works on Heroku?
    I'd like to take advantage of the canary deployments and GitOps. Rio is a MicroPaaS by Rancher and is designed to work well with k3s. I've done some initial research here for anyone interested who hasn't worked with Rio yet: https://habd.as/post/git-based-continuous-delivery-rio/
    Good one tho
    Q_Q
    @mfaster
    Thanks for sharing
    Karim Abuzaid
    @Vercryger
    Hey everyone! I've switched to kubernetes for both production and staging enviroments and currently working on setup SSL, which I've found it so hard btw. So far I've secured all services but within the admin the socket connection fails since I changed ws to wss. At first I thought some configurations were wrong on the backend but, storefront successfully connects to the web socket server. I'm not really sure what's going on, this is the error I get failed: Error during WebSocket handshake: Unexpected response code: 400. Any help would be much appreciated
    Also, identity server also get this error, so probably meteor related?
    Sebastian Franco - Devops Engineer
    @jhonsfran1165
    Yeah, It seems some configuration is missing. What API gateway are you using?
    Karim Abuzaid
    @Vercryger
    I'm using EKS and this started to happen when I configured ELB to make use of ssl certificates
    For the record I'm not using ingress controllers for such setup
    Sebastian Franco - Devops Engineer
    @jhonsfran1165
    Okay I can help with this but I need some details about your infra, I also need logs of your services. Did you configure a ingress? Could you share the yaml file? What I do in that situation is configure a node port directly to the service that I need to test and then test the connection. If everything goes well it means that the problems is in the ingress configuration. So you can check that part specifically.
    igor romanovsky
    @igorromanovsky_twitter
    Hey. Is there any guide for deploying to GCP
    Karim Abuzaid
    @Vercryger
    @jhonsfran1165 Thank you. This is the current yaml for our reaction admin, the rest of services are just more of the same
    apiVersion: v1
    kind: Service
    metadata:
      labels:
        reaction: admin
      name: reaction-admin
      annotations:
        service.beta.kubernetes.io/aws-load-balancer-backend-protocol: "http"
        service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:us-east-2:<accountno>:certificate/<cid>
        service.beta.kubernetes.io/aws-load-balancer-ssl-ports: "https"
        service.beta.kubernetes.io/aws-load-balancer-proxy-protocol: "*"
    spec:
      ports:
      - name: http
        port: 80
        targetPort: 4080
      - name: https
        port: 443
        targetPort: 4080
      selector:
        reaction: admin
      type: LoadBalancer
    status:
      loadBalancer: {}
    4 replies
    Like I mentioned before, we're not using ingress controllers of any kind, we've achieved SSL for all services using just ELB
    igor romanovsky
    @igorromanovsky_twitter
    Hey all...
    I'm trying to deploy reaction-admin, reaction and reaction-hydra to GCP. I've deployed reaction-admin and reaction, but now I'm struggling with the deployment of the reaction-hydra.
    unfortunately I don't have experience with "hydra" so if someone can give me a smal direction to how it could be done, I would be very grateful.
    8 replies
    igor romanovsky
    @igorromanovsky_twitter
    Hey guys. Just wanted to share a really good installation guide on K8s that uses Helm chart :
    https://slingshotlabs.io/blog/deploying-reaction-commerce-on-kubernetes/
    Andrei Balmus
    @abalmush
    @igorromanovsky_twitter Hi Igor, thanks for great article. I have a question for the community. Do you know if I can find information on how to configure a continues deployment. For example I would like to change storefront a little bit. What would be the best way for deploying my changes into existing cluster? Sorry I'm new in this and I'm trying to understand please help!
    3 replies
    Andrei Balmus
    @abalmush
    Ok I think I understand I have to generate new version of docker image and push it to docker registry and then use it
    Andrei Balmus
    @abalmush
    image.png
    Hi guys, I successfully deployed reaction to kubernetes cluster and everything works as expected. BUT if I use existing mongo db instead of local one, I'm getting this error.
    The db user has admin privileges, what I'm doing wrong please help.
    MitchellWT
    @MitchellWT
    Hey, I'm attempting to deploy an online development platform using digital ocean. I'm using this github repo https://github.com/reactioncommerce/proxy-traefik. The installation works fine until I perform a "make init-dev", after that point all web addresses (except the traefik dashboard) respond with traefik's "404 page not found" page. I think the issue is that traefik can't locate the new files. So I'm wondering where I can find where traefik determines the file locations for web addresses?
    2 replies
    l2ysho
    @l2ysho

    The db user has admin privileges, what I'm doing wrong please help.

    Hi, you need also clusterAdmin and dbAdmin roles for your user

    Robin T
    @qispark
    Hi there, I was wondering if anyone encountered an issue with Reaction Admin using a production Reaction server. In my docker instance, when I point it to my Reaction server running on localhost in docker, it works. However, it seems like it's unable to generate a valid token when configured with a remote production Reaction server, causing the user to log out after having just logged in. Just wondering if anyone has encountered such an issue and what sort of misconfiguration may cause this?
    2 replies
    vaneet
    @zmcomputing
    Hi Everyone, I have two VPS hosts at contabo. Can I deploy reaction commerce services on both ? . Which Services you recommend to install on two for best scalability and performance ? Also, I cannot find deployment on production documentation. I can see environment variables, if all these values in env files need to be changed for prod, then it should be fine, but I suppose there should be other configuration parameters for running on production for instance caching and etc. Thank you.
    Thomas
    @lacrx
    for the EXTERNAL_GRAPHQL_URL env variable in reaction commerce 2 frontend, is that our backend url, followed by "graphql-beta"?
    just making 100% sure. the INTERNAL_GRAPHQL_URL is the backend load balancer dns name followed by "graphql-beta", so i'm pretty sure the EXTERNAL_GRAPHQL_URL follows that same format. i'm just not 100% sure
    vaneet
    @zmcomputing
    So, where can I get some help on setting reaction on VPS in production ?
    Loan Laux
    @loan-laux
    Hey @zmcomputing, there’s a tutorial that you can follow here: https://github.com/reactioncommerce/proxy-traefik. Let me know if you have any questions.
    vaneet
    @zmcomputing
    Thank you Loan, I have followed the tutorial. however that is to deploy on digital ocean and I see that it expects authentication token for its api aka droplet. How can I simulate or create that on my Centos 7 VPS
    I read in detail about cloud computing and realised that cloud servers are well designed at hardware level for virtualizations and running many softwares on top to enable scaling and I cannot do that on two VPS as it need dedicated servers to simulate. Therefore, can I install reaction commerce on two VPS , if yes, then what is best configuration. as some services will run inside docker on one machine and database and etc on other VPS. Their communication will be via external ip of other VPS . as I dont think I will get internal IP from hosting provider for the VPS to sort of have in same tenant. Does that make sense or perhaps I am just over analysing here ? Thank you again
    Loan Laux
    @loan-laux
    @zmcomputing You can run RC on multiple VPS using Docker Swarm and Portainer. You’ll find plenty of tutorials online to set this up. Pretty much gives you all the advantages of a managed platform like ECS, but with your own infrastructure.
    vaneet
    @zmcomputing
    @loan-laux : That is so helpful :) thank you very much. ( I can setup above on my VPS this week, I assume then with above setup, I could create a auth token for connecting service running on one VPS ( which is expected here : https://github.com/reactioncommerce/proxy-traefik ) and in this way I can manage to install reaction commerce on two VPS in production. I can put a blog post/ article after doing it and it can help many other startups and techies to use this platform. I researched a lot but could not find any article to setup reaction commerce on VPS. Thank you again :)
    Loan Laux
    @loan-laux
    Glad I could help @zmcomputing. As far as articles go, in addition to the tutorial I sent you, @balibebas wrote a blog post about his own experience deploying RC on a VPS. Hope that helps you more. https://habd.as/post/reaction-commerce-getting-started/
    vaneet
    @zmcomputing
    Yes, That uses digital ocean where they have droplet which is VPS cloud compliant, and they expect : do_auth_token The Authentication token for the Digital Ocean API.
    As per your suggestion, I should be able to set up with Portainer and DockerSwarm.
    aliabrak
    @aliabrak
    Hi everyone, Would be great and much appreciated if someone can create a virtualbox or vmware image which works out of the box to get up and running (for developement) as quickly as possible.
    Loan Laux
    @loan-laux
    Hey @aliabrak. Wouldn’t Docker work? There are ready-to-use images available on Docker Hub, which you can set up easily with the Makefile at https://github.com/reactioncommerce/reaction-development-platform.
    m5ingh
    @m5ingh
    how do i add new shop to my docker reaction installation.
    details
    i have tried to register as new user and add another shop using a new account for adding shop but after clicking regiester shop nothing happerns.
    also if i understand correctly there must be overall owner of entire reaction installation only who can add or delete shops. is this correct or am i wrong?
    Akarshit Wal
    @Akarshit
    The first user you create is the owne of the whole reaction. If you login as that user, you should be able to create new shops