Project

General

Profile

Actions

Bug #776

closed

Users are unable to register to projects.duckcorp.org

Added by Pierre-Louis Bonicoli over 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
Service :: Web
Start date:
2022-07-10
Due date:
% Done:

100%

Estimated time:
Patch Available:
Confirmed:
Yes
Branch:
 fix-lxc-redmine-network
Entity:
DuckCorp
Security:
No
Help Needed:

Description

There is an issue related to the captcha:

Oops, we failed to validate your reCAPTCHA response. Please try again.

I tried with firefox and chromium.

/var/log/redmine/dc/production.log from the redmine LXC container:

Started POST "/account/register" for 185.238.6.46 at 2022-07-10 12:53:52 +0000
Processing by AccountController#register as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"[REDACTED]", "user"=>{"login"=>"pilou_test", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "firstname"=>"pilou", "lastname"=>"pilou_test", "mail"=>"pilou_test@ir5.eu", "language"=>"fr"}, "g-recaptcha-response"=>"[REDACTED]", "commit"=>"Soumettre"}
  Current user: anonymous
  Rendering plugins/recaptcha/app/views/account/register.html.erb within layouts/base
  Rendered plugins/recaptcha/app/views/account/register.html.erb within layouts/base (8.8ms)
Completed 200 OK in 3022ms (Views: 14.7ms | ActiveRecord: 1.4ms)


Related issues 1 (0 open1 closed)

Related to DuckCorp Infrastructure - Bug #718: redmine: unable to register a new accountResolvedMarc Dequènes2021-02-12

Actions
Actions #1

Updated by Pierre-Louis Bonicoli over 1 year ago

  • Related to Bug #718: redmine: unable to register a new account added
Actions #2

Updated by Pierre-Louis Bonicoli over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Pierre-Louis Bonicoli over 1 year ago

@Marc Dequènes : could you check if there an issue (or a message) with your google account (because the recaptcha key is linked to your account)?

Actions #4

Updated by Pierre-Louis Bonicoli over 1 year ago

Pierre-Louis Bonicoli wrote:

@Marc Dequènes : could you check if there an issue (or a message) with your google account (because the recaptcha key is linked to your account)?

This isn't needed :)

It looks like the redmine container isn't allowed/able to access to internet:

# curl --connect-timeout 2 https://www.google.com/recaptcha/api/siteverify
curl: (28) Failed to connect to www.google.com port 443: Connection timed out

Actions #5

Updated by Pierre-Louis Bonicoli over 1 year ago

  • Branch set to  fix-lxc-redmine-network

Check fix-lxc-redmine-network for a proposed fix.

Another way would be to use the ppp-network. In order to do that, I guess TABLE_out_hivane_SUBNET_IP4 in /etc/network/multihoming should be updated?

Actions #6

Updated by Marc Dequènes over 1 year ago

Sorry, totally failed to check this, will have a look. Thanks for investigating.

Actions #7

Updated by Marc Dequènes 9 months ago

Thanks pilou again and really sorry for the lag.

While updating the firewalling rules I realized I was breaking something… Anyway I just changes the multihoming rules and it works again.

Actions #8

Updated by Marc Dequènes 9 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF