Invitation 'Accept' button not working

I have sent out invitations, both by email and via link. The ‘Accept’ button does not work for anyone. I have confirmed this behavior.

Based on prior reports I have seen for similar issues, this could mean HTTPS isn’t configured properly on your site?

Interesting. Any guidance on how to troubleshoot? My cert is validating. Not sure where to go from here.

I did a DO droplet, so it automated setup.

Qualys SSL Test looks good as well.

https://www.ssllabs.com/ssltest/analyze.html?d=macrofab.wiki

Is the site setting ‘force Https’ enabled?

1 Like

I don’t see this in the Discourse settings, so I’m guessing you are referring to something on the underlying server?

It should be in the site setting at /admin/site_settings/category/security?filter=force%20https, unless you are one of our hosted customers.

1 Like

I get no results for this.

Enable it via console:

cd /var/discourse
./launcher enter app
rails c
SiteSetting.force_https = true
exit

So are these command taking the desired action, or are they making the setting visible in the UI? If the later, then it does not appear to have worked.

The former. Now we know for sure that force HTTPS is enabled on your site.

2 Likes

Did this fix your problem @Chris_Mullins? I am unclear how you got into this state, how did you set up Discourse? Is your site behind a proxy of some kind?

Thanks for checking. Still struggling. Seems as if it may be related to this issue:

https://meta.discourse.org/t/user-cannot-signup-something-went-wrong/110188

Were you ever able to dispose of this issue?

Latest client try:

  • New Account signup
  • New email
  • New Firefox install

Results:

1 Like

Server side:
Digital Ocean droplet, automated setup.

v2.4.0.beta4 +10

At one time I had this working. 1st invited user got in fine. At that point I must have done something to break.

Happy to let you in for a peek if desired.

These are changes that could be related? Or maybe don’t work the way I think they do…

I’m not sure, do you see anything there @dax? The error message isn’t great. It could be this recent problem related to duplicate user prefs in the database:

Do you see any relevant errors in /logs when logged in as an admin?

Nope.

@Chris_Mullins can you please send me an invite to dax@discourse.org?

We should wait until he checks /logs first as it could be the above error.

1 Like