Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:36
    javierm closed #4190
  • 17:36
    javierm commented #4190
  • 17:33
    javierm opened #4190
  • 13:30

    dependabot-preview[bot] on bundler

    (compare)

  • 13:30
    dependabot-preview[bot] closed #4118
  • 13:30
    dependabot-preview[bot] commented #4118
  • 13:30
    dependabot-preview[bot] labeled #4189
  • 13:30

    dependabot-preview[bot] on bundler

    Bump graphql from 1.7.8 to 1.11… (compare)

  • 13:30
    dependabot-preview[bot] opened #4189
  • 13:30
    dependabot-preview[bot] edited #4118
  • 13:28
    dependabot-preview[bot] edited #4118
  • 13:28
    javierm commented #4118
  • 13:26
    javierm commented #4102
  • 11:21
    javierm edited #4102
  • 10:08
    TomClive commented #2698
  • 09:26
    javierm synchronize #4102
  • 09:26

    javierm on bundler

    Add most rubocop rules to ERB f… Apply Style/CollectionMethods r… Apply Style/HashSyntax rule in … and 7 more (compare)

  • 09:20
    javierm synchronize #4102
  • 09:20

    javierm on bundler

    Try to fool Hound with one requ… (compare)

  • 09:09
    javierm edited #4102
ernestogarj
@ernestogarj
Hola Buenas @Senen consigue solucionar el problemilla que tenia ayer muchas gracias, queria hacerte una consulta ¿A que suele ser debido que tras registrar un usuario nuevo aparezca error 500? Aunque el usuario se genera bien
ernestogarj
@ernestogarj
He podido ver que es relacionado con el envio de correo he seguido el tutorial para ello el falo es que el servidor que yo utilizo para enviar correos es un servidor local dentro de mi red y no requiere autenticación directamente cualquier correo que le llega lo envia, ¿Como podria especificar que no utilice login en el fichero de configuración?
Senén Rodero
@Senen
Hola @ernestogarj , antes de nada disculpa por la espera, me han dejado de llegar notificaciones de Gitter, he tu comentario de milagro ... Asegurate de que delayed_jobs está corriendo en la máquina, me explico: Delayed Jobs se encarga de la ejecución de procesos en segundo plano y todos los emails de Consul se envian en segundo plano así que es estrictamente necesario tener tanto el servidor web (puma o unicorn) y el servicio delayed_jobs corriendo en el servidor para que la aplicación funcione correctamente. A ver si esto te sirve de ayuda.
Mauro Quinteros Prosperi
@mauroprosperi
Hola a todos! Mi consul no envia el correo de verificacion, usé el consul/consul y no el installer, hay algun problema con eso? mil gracias!
Mauro Quinteros Prosperi
@mauroprosperi
Vi que salió una nueva version de consul, hay documentacion o guia de esta ? creo que voy a intentar instalarla pero la documentacion desvia mucho y no es muy certera!
Senén Rodero
@Senen

Hola @ernestogarj , disculpa por la espera🙏🏼

¿Conseguiste arreglar el problema de configuración de tu correo electrónico? Si sigues teniéndolo y para ayudarte mejor me vendría bien que me respondieras a unas preguntas:

  1. ¿Qué versión de Consul que estás usando?
  2. ¿Has usado el instalador ( consul/installer) para montar tu servidor de producción?
Alexander
@WertND
Hi to all!
I have a question.
I have app service with http and grpc, and application open two ports - for grpc and for http. I want to register that app in consul. What is best practies way to register appliction with multiply ports?
Ochiu Cristi
@cristi.ochiu_gitlab
Translations. I have a question about a translation. We are working right now to translate Consul in Romanian. My question is ... what are the next steps after we will finish the translation so we can use it on our site?
Senén Rodero
@Senen
Hi @WertND , you are probably looking forthe Hashicorp Consul project: https://gitter.im/hashicorp-consul/Lobby
Hi @cristi.ochiu_gitlab , if you cannot wait for next Consul release i would recommend to download Romanian translations directly from Crowdin and add it to your Consul's fork. If you find any problem by doing this please ask us and will try to help you.
Senén Rodero
@Senen
Hola @mauroprosperi, estamos trabajando en mejorar la documentación ya que como dices hay algunas cosas que no están del todo actualizadas … :sweat_smile: Mientras tanto si necesitas soporte con temas que no encuentras en la documentación podemos mandarte una invitación al canal de Slack donde podremos hablar de una forma más cómoda. Si te animas pasame tu email por privado! Saludos y disculpa por la espera :pray:
Mehdi BRAHIMI
@bidHimArm

Hello Community,

I'm know nothing about ruby and I'm a noob in app development. I've created a deployment on a production server for my fork and started configuring the smtp with sendgrid (tried also with mailgun). I'm adding my sendgrid credentials to the secrets.yml, then restarting the prod server, and registering a new account, I land on the "Confirm your email address" page, but I receive no email. It seems that my app doesn't work.

Also even before configuring the smtp credentials I landed on the "Confirm your email address" page and not the Error 500 one.

Anyone for a help ?

Senén Rodero
@Senen

Hi @bidHimArm, thanks for trying Consul.

Did you look for lost emails at spam folder? Probably you have to whitelabel your smtp configuration to send emails from your domain through Sendgrid or MailGun servers.

Here is an article that will help you to whitelabel your Sendgrid configuration so your application emails are not considered as spam.
https://sendgrid.com/docs/glossary/whitelabel/

We have a Slack channel for technical questions where you would find answers for the most common problems. Past week other user had the same problem you have so probably you can get useful feedback if you decide to join. If you are interested in joining please send me an email address through a private message. 🤗

rashmiagar
@rashmiagar
Hello,
I am trying to setup Consul on heroku and I ran the dev_seeds. I have question about the public/systems folder
the production is not displaying the correct images
rashmiagar
@rashmiagar
Anyone can help?
Also have more questions about heroku installation. Is heroku recommended for use in production or only for demo purposes? And for heroku I am configuring it manually. Or should I be using the installer? I am getting <Rack::Timeout::RequestExpiryError: Request older than 30000ms.
rashmiagar
@rashmiagar
I am tasked with setting up Consul for Belgium’s municipalities. Is the multi tenancy feature been implemented?
Senén Rodero
@Senen

Hi @rashmiagar 👋, you can run Consul in Heroku but Heroku does not allow to store uploaded files on their own servers, you have to use an external storage for uploaded files like AWS S3 service.

You can use Heroku as production environment but there is no need to use Consul installer there. You are doing ok by doing it manually.

Multitenant is not a feature implemented yet but i think there is some people working on it, but not sure when it would be ready and included in a new Consul release. Here [1] is a starter pull request in this direction, maybe you can give it a 👍🏼.

Regarding the Timeout error, it would be helpful if you paste a more extense log from heroku. You can get it by running heroku logs from the command line. Which page is throwing this error?

[1] consul/consul#4030

Senén Rodero
@Senen
rashmiagar
@rashmiagar
alt
rashmiagar
@rashmiagar
This is detail of requestexpiryerror I got, even though the request I made was current and not a old one. I guess its related to rack_timeout gem but I set the RACK_TIMEOUT_SERVICE_TIMEOUT env variable to 20 in heroku.
Then I set Rails.application.config.middleware.insert_before Rack::Runtime, Rack::Timeout, service_timeout: 0 in rack_timeout.rb initializer, since then I am not getting error.
But not sure if its best way
@Senen
rashmiagar
@rashmiagar
And thanks so much for reply! :)
Actually we have to install 60 copies for the belgium municipalities so a multitenant app would have been much useful.
Senén Rodero
@Senen

Thank you so much for sharing how you fixed it! :)

Wow, 60 municipalities congrats! Probably multitenant would be a good fit for this case.

rashmiagar
@rashmiagar
I am getting two more errors on heroku
alt
alt
Hope someone can help :(
Senén Rodero
@Senen

Regarding the first screenshot about Timeout error:
Did this happened right after doing a deployment? Heroku restarts automatically all workers (web, background) after each deployment so its normal Timeout errors to happen during the restarting process, but should not happen once application is fully restarted.

Regarding the last screenshot about Dalli client error:
The web application is trying to connect to a server where to store cache data but found nothing, that server should be a MemCached compatible server. Probably you will need to install a MemCached addon from Heroku marketplace so consul application can connect. I think Memcachier addon should work here, but not tested. If this is only for testing purposes and you do not need to use cache you can disable cache for production, stating or preproduction modifying the respective configuration file you are using.

FYI, this is the gem used [1] to connect with Memcached service, there is many mentions to Heroku there, also here [2] is a Heroku article explaining how to configure a Rails app it if this is not automatically managed by heroku.

[1] https://github.com/petergoldstein/dalli
[2] https://devcenter.heroku.com/articles/building-a-rails-3-application-with-memcache

rashmiagar
@rashmiagar
@Senen No it wasn’t after a deploy. Reference to this, I am going to install Rollbar. Maybe because of the static assets from public/system/ I am loading its taking too long and request is timing out.
Using the installer for digital ocean deployment won’t have these issues right?
rashmiagar
@rashmiagar
Thanks for your reply!
Senén Rodero
@Senen
Yes, @rashmiagar, if you decide to use the consul-installer it will provision your server with everything you need. I’d suggest you to follow consul-installer README.md instructions step by step. I think it would best solution if you are not familiar with running Rails application on Heroku. Yo can use any provider that gives you a machine with root access with Ubuntu 16.04 o 18.04 installed, so DigitalOcean will be a good choice.
rashmiagar
@rashmiagar
On the Consul documents for heroku it mentions to run the test db seed. Its not a good idea, because the files in public/system is created based on secret_access_token and the id of the resource. This id can be different in cloud server. Esp for heroku it creates lot of problems because the assets are not precompiled. I think the document should be updated.
Just my thoughts :)
I wasted 2 weeks on this.
Andrés Pereira de Lucena
@andreslucena

Hello everybody. Hope you're all well on these strange times.
We wanted to invite you to the next Decidim Fest and also to present any talks that you consider would be interesting. If this is considered as spam please let me know ;)


Decidim Fest announces 2020 dates and opens its Call! 💥
The second edition of Decidim Fest is taking place next fall 100% online from 18 to 20 of November 💫
‼️ We are living times of uncertainty. The global pandemic has put the world in check while opening up a unique opportunity to change course and face climate emergency, social inequality, the violation of human rights and the rise of fascism, among others.
❓ What role does technology play in all of this?
❓ Which are the implications for the future of democracy?
Under the claim Democracy and Technology in times of Emergency, this year's conference tackles the urgent challenges in the network society.
Check this year's main topics and join our Open Call
👉 https://meta.decidim.org/conferences/decidimfest2020

Senén Rodero
@Senen
Thanks for your feedback @rashmiagar, i tested the Heroku guide too and i have to agree with you, after applying the steps from Heroku guide i had to do some addiontal steps and changes to make it work. We will try to update the Heroku guide asap. Thanks again 🤗
DF8OE
@df8oe
Hi to all, yesterday I successfully have installed Consul on my Linux Arch server. Directly - without the use of docker and/or consul/installer. I am happy that I have solved all problems (most due to much more recent software at Arch than at Debian, e.g. ruby 2.7.1 is standard at Arch). I can access Consul via http - the next step should be to add ssl support. I already have got lets encrypt certificate and now I am looking for a tutorial to add it to Consul...
1 reply
corsch
@corsch
Hi to all, did anyone successfully installed consul on Ubuntu 20.04 with the installer?
1 reply
rashmiagar
@rashmiagar
Hi all, I managed to deploy consul to AWS ec2 t2.micro. But I am having one issue; the delayed job (for sending email) is freezing the web interface and ssh into the instance. How do I fix this?
Senén Rodero
@Senen

Hi @rashmiagar,

The only way i found to deploy successfully on a t2.micro EC2 instance without stucking was to do the assets precompilation on my local machine, add those precompiled assets to the git repository control and do the capistrano deployment without the precompilation phase as was already done at local machine. But i clearly prefer that the server does the precompilation os assets and keep the size of repository source code smaller … To have all the precompiled assets under git control will vastly increase the size of the project source code. If you used another technique to avoid server stucking during deployment i would like to know it if possible. :)

Another important thing is to provide enough HDD space for running Consul, i remember once i deployed an application on default HDD t2.micro size (8GB i think) and happened exactly the same … the machine got completely stucked.

IMO a t2.micro instance is a very small machine that probably is freezing because its small amount of memory, vCPUs … Can yo try the same on a “bigger” machine, right now i have a t2.small with 25GB HDD for a personal production server only for testing purposes and everything works nice (including delayed jobs).

Rogier Wensink
@Wensink

Hello. We are using consul for years now and to full satisfaction. But lately we are encountering an issue which we cannot get solved.
When changes are done to the master cluster and consul is restarted on all masters at the same time, the slaves (and other nodes too) lose the connection. In code we you a join and a rejoin (although the rejoin is completely ignored once the connection is established).

consul:1.6.2 -join ${CONSUL_JOIN} -retry-join ${CONSUL_JOIN} -node ${LOCAL_IPV4} -advertise ${LOCAL_IPV4} -client 0.0.0.0 -data-dir /data -encrypt ${CONSUL_KEY} -log-level err

What is the best way to get all nodes connected to the master cluster again, if these are restarted all at once?

Senén Rodero
@Senen
Hi @Wensink ,i think you are searching for this Gitter room: https://gitter.im/hashicorp-consul/Lobby
Rogier Wensink
@Wensink
Thanks. Didn't know this was a different channel