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

Missing link to verify registration in incoming mail from setup wizard #24029

Open
Barrylimarti opened this issue Dec 26, 2021 · 10 comments
Open

Comments

@Barrylimarti
Copy link

Description:

The link sent by the setup wizard in an email to verify registration during workspace registration is missing.
I got this email when I was registering the workspace for the first time but there was no link to verify the registration although the registration was successful without verifying.

Steps to reproduce:

  1. Open a new workspace in Gitpod with the repo, run all the setup commands for the first time
  2. If you never registered for the workspace before, a registration screen will open at port 3000 after you run "meteor npm start"
  3. Fill the complete form with your email.
  4. You should've got an email to verify without the link.

Expected behavior:

The email should have the link to verify and then register the workspace or else there should be no email incoming if there's no need.

Actual behavior:

NO LINK PRESENT IN THIS MAIL( Not in button also)

BUG1

Server Setup Information:

  • Version of Rocket.Chat Server: 4.3.0-develop
  • Deployment Method: Gitpod
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 12.22.1 - x64
  • MongoDB Version: 4.4.4

Client Setup Information

  • Desktop App or Browser Version: Google Chrome Version 96.0.4664.110 (Official Build) (64-bit)
  • Operating System: Windows 10

Relevant logs:

I20211226-16:52:44.356(0)? ====== BEGIN MAIL #0 ======
I20211226-16:52:44.356(0)? (Mail not sent; to enable sending, set the MAIL_URL environment variable.)
I20211226-16:52:44.362(0)? Content-Type: multipart/alternative;
I20211226-16:52:44.362(0)? boundary="--_NmP-d34c84c7457d6b72-Part_1"
I20211226-16:52:44.363(0)? To: @gmail.com
I20211226-16:52:44.363(0)? Subject: Rocket.Chat - Email address verification
I20211226-16:52:44.363(0)? Message-ID:
I20211226-16:52:44.363(0)? aa73b3ba-0370-133f-93e6-46b942c62e5f@ws-f30a9b8d-48bd-432d-af7e-e349de27f5ff
I20211226-16:52:44.363(0)? Date: Sun, 26 Dec 2021 16:52:44 +0000
I20211226-16:52:44.363(0)? MIME-Version: 1.0
I20211226-16:52:44.363(0)?
I20211226-16:52:44.363(0)? ----_NmP-d34c84c7457d6b72-Part_1
I20211226-16:52:44.364(0)? Content-Type: text/plain
I20211226-16:52:44.364(0)? Content-Transfer-Encoding: quoted-printable
I20211226-16:52:44.364(0)?
I20211226-16:52:44.364(0)? Hello,
I20211226-16:52:44.364(0)?
I20211226-16:52:44.364(0)? To verify your account email, simply click the link below.
I20211226-16:52:44.364(0)?
I20211226-16:52:44.364(0)?
I20211226-16:52:44.365(0)?
I20211226-16:52:44.365(0)?
I20211226-16:52:44.391(0)? Thanks.
I20211226-16:52:44.392(0)?
I20211226-16:52:44.393(0)? ----_NmP-d34c84c7457d6b72-Part_1
I20211226-16:52:44.393(0)? Content-Type: text/html; charset=utf-8
I20211226-16:52:44.393(0)? Content-Transfer-Encoding: quoted-printable
I20211226-16:52:44.393(0)?
I20211226-16:52:44.394(0)? <html xmlns=3D"http://www.w3.=
I20211226-16:52:44.394(0)? org/1999/xhtml" style=3D"font-family: -apple-system,BlinkMacSystemFont,=
I20211226-16:52:44.394(0)? 'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Helvetica Neue','Apple Color =
I20211226-16:52:44.394(0)? Emoji','Segoe UI Emoji','Segoe UI Symbol','Meiryo UI',Arial,=
I20211226-16:52:44.394(0)? sans-serif;"><meta name=3D"viewport" content=3D"width=3Ddevice-width"><meta =
I20211226-16:52:44.396(0)? http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8"><title>R=
I20211226-16:52:44.397(0)? ocket.Chat Cloud</title><body bgcolor=3D"#F7F8FA" =
I20211226-16:52:44.397(0)? style=3D"font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,=
I20211226-16:52:44.397(0)? Oxygen,Ubuntu,Cantarell,'Helvetica Neue','Apple Color Emoji','Segoe UI =
I20211226-16:52:44.397(0)? Emoji','Segoe UI Symbol','Meiryo UI',Arial,sans-serif; width: 100%; height:=
I20211226-16:52:44.397(0)? 100%;"><table class=3D"body" bgcolor=3D"#F7F8FA" width=3D"100%" =
I20211226-16:52:44.397(0)? style=3D"font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,=
I20211226-16:52:44.398(0)? Oxygen,Ubuntu,Cantarell,'Helvetica Neue','Apple Color Emoji','Segoe UI =
I20211226-16:52:44.398(0)? Emoji','Segoe UI Symbol','Meiryo UI',Arial,sans-serif; width: 100%; height:=
I20211226-16:52:44.398(0)? 100%;"><table class=3D"wrap" bgcolor=3D"#F7F8FA" =
I20211226-16:52:44.398(0)? style=3D"width: 100%; clear: both;"><td class=3D"header container" =
I20211226-16:52:44.398(0)? style=3D"display: block; max-width: 640px; margin: 0 auto; clear: both; =
I20211226-16:52:44.398(0)? border-radius: 2px;"><div class=3D"header-content" style=3D"list-style-posi=
I20211226-16:52:44.398(0)? tion: inside; padding: 16px 0; padding-top: 36px; padding-bottom: 36px; =
I20211226-16:52:44.398(0)? padding-left: 36px; padding-right: 36px; max-width: 640px; margin: 0 auto; =
I20211226-16:52:44.399(0)? display: block;"><table bgcolor=3D"#F7F8FA" width=3D"100%"><img =
I20211226-16:52:44.399(0)? src=3D"https://3000-white-beaver-gscjsrhc.ws-us25.gitpod.io/assets/logo.=
I20211226-16:52:44.399(0)? png" alt=3D"Rocket.chat" width=3D"150px">=
I20211226-16:52:44.399(0)? <table =
I20211226-16:52:44.399(0)? class=3D"wrap" style=3D"width: 100%; clear: both;"><td =
I20211226-16:52:44.399(0)? class=3D"container" bgcolor=3D"#FFFFFF" style=3D"display: block; max-width:=
I20211226-16:52:44.399(0)? 640px; margin: 0 auto; clear: both; border-radius: 2px;"><div =
I20211226-16:52:44.399(0)? class=3D"content" style=3D"list-style-position: inside; padding: =
I20211226-16:52:44.400(0)? 36px;">

<h2 style=3D"line-height: 1.1; margin: 0 0 16px 0; =
I20211226-16:52:44.400(0)? font-weight: 600; font-size: 30px; color: #2F343D;">Hi Urja Thakur<p =
I20211226-16:52:44.400(0)? style=3D"margin: 1rem 0;">Please, click on the button below to confirm your=
I20211226-16:52:44.400(0)? email address.

<a class=3D"btn" target=3D"_blank" =
I20211226-16:52:44.400(0)? href=3D"https://3000-white-beaver-gscjsrhc.ws-us25.gitpod.=
I20211226-16:52:44.400(0)? io/#/verify-email/sryktC9NtYs_9M8Qg4cZC-s76FDQeWcHYkzJrHcNWik" =
I20211226-16:52:44.400(0)? style=3D"line-height: 1.8; padding-left: 2px; padding-right: 2px; =
I20211226-16:52:44.400(0)? text-decoration: none; color: #FFF; background-color: #1D74F5; padding: =
I20211226-16:52:44.400(0)? 12px 18px; font-weight: 500; font-size: 14px; margin-top: 8px; text-align: =
I20211226-16:52:44.400(0)? center; cursor: pointer; display: inline-block; border-radius: 2px;">Verify=
I20211226-16:52:44.401(0)? your email
<tr style=3D"margin: 0; padding: 0;"><td style=3D"margin: 0; =
I20211226-16:52:44.401(0)? padding: 0;"><table class=3D"wrap" style=3D"width: 100%; =
I20211226-16:52:44.401(0)? clear: both;"><td class=3D"container" style=3D"display: block; =
I20211226-16:52:44.401(0)? max-width: 640px; margin: 0 auto; clear: both; border-radius: 2px;"><div class=3D"content" style=3D"list-style-position: inside; =
I20211226-16:52:44.401(0)? padding: 36px;"><table width=3D"100%"><td align=3D"center" =
I20211226-16:52:44.401(0)? class=3D"social" style=3D"font-size: 12px;"><a href=3D"https://rocket.=
I20211226-16:52:44.401(0)? chat/blog" style=3D"color: #1D74F5; font-weight: bold; text-decoration: =
I20211226-16:52:44.401(0)? none; line-height: 1.8; padding-left: 2px; padding-right: 2px;">Blog | =
I20211226-16:52:44.401(0)? <a href=3D"https://github.com/RocketChat" style=3D"color: #1D74F5; =
I20211226-16:52:44.402(0)? font-weight: bold; text-decoration: none; line-height: 1.8; padding-left: =
I20211226-16:52:44.402(0)? 2px; padding-right: 2px;">Github | <a href=3D"https://www.facebook.=
I20211226-16:52:44.402(0)? com/RocketChatApp" style=3D"color: #1D74F5; font-weight: bold; =
I20211226-16:52:44.402(0)? text-decoration: none; line-height: 1.8; padding-left: 2px; padding-right: =
I20211226-16:52:44.402(0)? 2px;">Facebook | <a href=3D"https://www.instagram.com/rocket.chat" =
I20211226-16:52:44.403(0)? style=3D"color: #1D74F5; font-weight: bold; text-decoration: none; =
I20211226-16:52:44.403(0)? line-height: 1.8; padding-left: 2px; padding-right: =
I20211226-16:52:44.403(0)? 2px;">Instagram<td align=3D"center"><h6 style=3D"margin: =
I20211226-16:52:44.403(0)? 0 0 16px 0; font-weight: 500; font-size: 10px; color: #6c727A; line-height:=
I20211226-16:52:44.403(0)? 1.7;">=C2=A9 Rocket.Chat Technologies Corp.<h6 style=3D"margin: 0 0 =
I20211226-16:52:44.403(0)? 16px 0; font-weight: 500; font-size: 10px; color: #6c727A; line-height: 1.=
I20211226-16:52:44.403(0)? 7;">Made with =E2=9D=A4=EF=B8=8F in =F0=9F=87=A7=F0=9F=87=B7 =
I20211226-16:52:44.425(0)? =F0=9F=87=A8=F0=9F=87=A6 =F0=9F=87=A9=F0=9F=87=AA =F0=9F=87=AE=F0=9F=87=B3 =
I20211226-16:52:44.425(0)? =F0=9F=87=AC=F0=9F=87=A7 =F0=9F=87=BA=F0=9F=87=B8 </=
I20211226-16:52:44.425(0)? div>
I20211226-16:52:44.425(0)? ----_NmP-d34c84c7457d6b72-Part_1--
I20211226-16:52:44.425(0)? ====== END MAIL #0 ======
I20211226-16:52:44.425(0)?
I20211226-16:52:44.425(0)? Verification email URL:
I20211226-16:52:46.128(0)? ====== BEGIN MAIL #1 ======
I20211226-16:52:46.128(0)? (Mail not sent; to enable sending, set the MAIL_URL environment variable.)
I20211226-16:52:46.129(0)? Content-Type: multipart/alternative;
I20211226-16:52:46.129(0)? boundary="--_NmP-447c2e6bccdccf04-Part_1"
I20211226-16:52:46.129(0)? To: @gmail.com
I20211226-16:52:46.129(0)? Subject: Welcome to Rocket.Chat
I20211226-16:52:46.129(0)? Message-ID:
I20211226-16:52:46.151(0)? 01d78d94-105c-ac66-ec8e-1046024dc0ca@ws-f30a9b8d-48bd-432d-af7e-e349de27f5ff
I20211226-16:52:46.152(0)? Date: Sun, 26 Dec 2021 16:52:46 +0000
I20211226-16:52:46.152(0)? MIME-Version: 1.0
I20211226-16:52:46.152(0)?
I20211226-16:52:46.154(0)? ----_NmP-447c2e6bccdccf04-Part_1
I20211226-16:52:46.155(0)? Content-Type: text/plain
I20211226-16:52:46.155(0)? Content-Transfer-Encoding: quoted-printable
I20211226-16:52:46.155(0)?
I20211226-16:52:46.155(0)? Hello,
I20211226-16:52:46.155(0)?
I20211226-16:52:46.155(0)? To start using the service, simply click the link below.
I20211226-16:52:46.155(0)?
I20211226-16:52:46.155(0)?
I20211226-16:52:46.155(0)?
I20211226-16:52:46.156(0)?
I20211226-16:52:46.156(0)? Thanks.
I20211226-16:52:46.156(0)?
I20211226-16:52:46.156(0)? ----_NmP-447c2e6bccdccf04-Part_1
I20211226-16:52:46.156(0)? Content-Type: text/html; charset=utf-8
I20211226-16:52:46.156(0)? Content-Transfer-Encoding: quoted-printable
I20211226-16:52:46.156(0)?
I20211226-16:52:46.156(0)? <html xmlns=3D"http://www.w3.=
I20211226-16:52:46.156(0)? org/1999/xhtml" style=3D"font-family: -apple-system,BlinkMacSystemFont,=
I20211226-16:52:46.157(0)? 'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Helvetica Neue','Apple Color =
I20211226-16:52:46.157(0)? Emoji','Segoe UI Emoji','Segoe UI Symbol','Meiryo UI',Arial,=
I20211226-16:52:46.157(0)? sans-serif;"><meta name=3D"viewport" content=3D"width=3Ddevice-width"><meta =
I20211226-16:52:46.157(0)? http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF-8"><title>R=
I20211226-16:52:46.157(0)? ocket.Chat Cloud</title><body bgcolor=3D"#F7F8FA" =
I20211226-16:52:46.157(0)? style=3D"font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,=
I20211226-16:52:46.157(0)? Oxygen,Ubuntu,Cantarell,'Helvetica Neue','Apple Color Emoji','Segoe UI =
I20211226-16:52:46.157(0)? Emoji','Segoe UI Symbol','Meiryo UI',Arial,sans-serif; width: 100%; height:=
I20211226-16:52:46.157(0)? 100%;"><table class=3D"body" bgcolor=3D"#F7F8FA" width=3D"100%" =
I20211226-16:52:46.159(0)? style=3D"font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,=
I20211226-16:52:46.159(0)? Oxygen,Ubuntu,Cantarell,'Helvetica Neue','Apple Color Emoji','Segoe UI =
I20211226-16:52:46.159(0)? Emoji','Segoe UI Symbol','Meiryo UI',Arial,sans-serif; width: 100%; height:=
I20211226-16:52:46.159(0)? 100%;"><table class=3D"wrap" bgcolor=3D"#F7F8FA" =
I20211226-16:52:46.160(0)? style=3D"width: 100%; clear: both;"><td class=3D"header container" =
I20211226-16:52:46.160(0)? style=3D"display: block; max-width: 640px; margin: 0 auto; clear: both; =
I20211226-16:52:46.160(0)? border-radius: 2px;"><div class=3D"header-content" style=3D"list-style-posi=
I20211226-16:52:46.160(0)? tion: inside; padding: 16px 0; padding-top: 36px; padding-bottom: 36px; =
I20211226-16:52:46.160(0)? padding-left: 36px; padding-right: 36px; max-width: 640px; margin: 0 auto; =
I20211226-16:52:46.160(0)? display: block;"><table bgcolor=3D"#F7F8FA" width=3D"100%"><img =
I20211226-16:52:46.160(0)? src=3D"https://3000-white-beaver-gscjsrhc.ws-us25.gitpod.io/assets/logo.=
I20211226-16:52:46.160(0)? png" alt=3D"Rocket.chat" width=3D"150px">=
I20211226-16:52:46.160(0)? <table =
I20211226-16:52:46.160(0)? class=3D"wrap" style=3D"width: 100%; clear: both;"><td =
I20211226-16:52:46.161(0)? class=3D"container" bgcolor=3D"#FFFFFF" style=3D"display: block; max-width:=
I20211226-16:52:46.161(0)? 640px; margin: 0 auto; clear: both; border-radius: 2px;"><div =
I20211226-16:52:46.161(0)? class=3D"content" style=3D"list-style-position: inside; padding: =
I20211226-16:52:46.161(0)? 36px;">
<h2 style=3D"line-height: 1.1; margin: 0 0 16px 0; =
I20211226-16:52:46.161(0)? font-weight: 600; font-size: 30px; color: #2F343D;">Welcome to Rocket.=
I20211226-16:52:46.161(0)? Chat<p style=3D"margin: 1rem 0;">Visit https://3000-white-beaver-gscjs=
I20211226-16:52:46.161(0)? rhc.ws-us25.gitpod.io and try the best open source chat solution available =
I20211226-16:52:46.162(0)? today!

<a class=3D"btn" target=3D"_blank" href=3D"https://3000-white-bea=
I20211226-16:52:46.162(0)? ver-gscjsrhc.ws-us25.gitpod.io" style=3D"line-height: 1.8; padding-left: =
I20211226-16:52:46.162(0)? 2px; padding-right: 2px; text-decoration: none; color: #FFF; =
I20211226-16:52:46.162(0)? background-color: #1D74F5; padding: 12px 18px; font-weight: 500; font-size:=
I20211226-16:52:46.162(0)? 14px; margin-top: 8px; text-align: center; cursor: pointer; display: =
I20211226-16:52:46.162(0)? inline-block; border-radius: 2px;">Login
<=
I20211226-16:52:46.162(0)? /tr><tr style=3D"margin: 0; padding: =
I20211226-16:52:46.162(0)? 0;"><td style=3D"margin: 0; padding: 0;"><table =
I20211226-16:52:46.163(0)? class=3D"wrap" style=3D"width: 100%; clear: both;"><td =
I20211226-16:52:46.163(0)? class=3D"container" style=3D"display: block; max-width: 640px; margin: 0 =
I20211226-16:52:46.163(0)? auto; clear: both; border-radius: 2px;"><div =
I20211226-16:52:46.163(0)? class=3D"content" style=3D"list-style-position: inside; padding: =
I20211226-16:52:46.163(0)? 36px;"><table width=3D"100%"><td align=3D"center" class=3D"social" =
I20211226-16:52:46.163(0)? style=3D"font-size: 12px;"><a href=3D"https://rocket.chat/blog" =
I20211226-16:52:46.183(0)? style=3D"color: #1D74F5; font-weight: bold; text-decoration: none; =
I20211226-16:52:46.183(0)? line-height: 1.8; padding-left: 2px; padding-right: 2px;">Blog | <a =
I20211226-16:52:46.184(0)? href=3D"https://github.com/RocketChat" style=3D"color: #1D74F5; =
I20211226-16:52:46.184(0)? font-weight: bold; text-decoration: none; line-height: 1.8; padding-left: =
I20211226-16:52:46.184(0)? 2px; padding-right: 2px;">Github | <a href=3D"https://www.facebook.=
I20211226-16:52:46.184(0)? com/RocketChatApp" style=3D"color: #1D74F5; font-weight: bold; =
I20211226-16:52:46.184(0)? text-decoration: none; line-height: 1.8; padding-left: 2px; padding-right: =
I20211226-16:52:46.184(0)? 2px;">Facebook | <a href=3D"https://www.instagram.com/rocket.chat" =
I20211226-16:52:46.184(0)? style=3D"color: #1D74F5; font-weight: bold; text-decoration: none; =
I20211226-16:52:46.184(0)? line-height: 1.8; padding-left: 2px; padding-right: =
I20211226-16:52:46.184(0)? 2px;">Instagram<td align=3D"center"><h6 style=3D"margin: =
I20211226-16:52:46.185(0)? 0 0 16px 0; font-weight: 500; font-size: 10px; color: #6c727A; line-height:=
I20211226-16:52:46.185(0)? 1.7;">=C2=A9 Rocket.Chat Technologies Corp.<h6 style=3D"margin: 0 0 =
I20211226-16:52:46.185(0)? 16px 0; font-weight: 500; font-size: 10px; color: #6c727A; line-height: 1.=
I20211226-16:52:46.185(0)? 7;">Made with =E2=9D=A4=EF=B8=8F in =F0=9F=87=A7=F0=9F=87=B7 =
I20211226-16:52:46.185(0)? =F0=9F=87=A8=F0=9F=87=A6 =F0=9F=87=A9=F0=9F=87=AA =F0=9F=87=AE=F0=9F=87=B3 =
I20211226-16:52:46.185(0)? =F0=9F=87=AC=F0=9F=87=A7 =F0=9F=87=BA=F0=9F=87=B8 </=
I20211226-16:52:46.185(0)? div>
I20211226-16:52:46.185(0)? ----_NmP-447c2e6bccdccf04-Part_1--
I20211226-16:52:46.186(0)? ====== END MAIL #1 ======
I20211226-16:52:46.186(0)?
I20211226-16:52:46.186(0)? Enrollment email URL:

@aswiniip
Copy link
Contributor

Hey! I set up my develop environment a few days back but i never got such confirmation mail 🤔
So i m confused about your issue

@Barrylimarti
Copy link
Author

Hey! I set up my develop environment a few days back but i never got such confirmation mail 🤔 So i m confused about your issue

I am getting the mail each time I open a new workspace in gitpod and register it. Did you registered for the server through setup wizard??

@dudanogueira
Copy link
Contributor

Hum.

I'll try to reproduce this on my local. I have been using a docker-compose that bypasses the wizard...

I'll use the rocketchat/rocket.chat:develop

1 similar comment
@dudanogueira
Copy link
Contributor

Hum.

I'll try to reproduce this on my local. I have been using a docker-compose that bypasses the wizard...

I'll use the rocketchat/rocket.chat:develop

@dudanogueira
Copy link
Contributor

I think this only happens at gitpod.

I was not able to find anywhere the strings from the email in our codebase.

1 similar comment
@dudanogueira
Copy link
Contributor

I think this only happens at gitpod.

I was not able to find anywhere the strings from the email in our codebase.

@aswiniip
Copy link
Contributor

I think this only happens at gitpod.

I was not able to find anywhere the strings from the email in our codebase.

Yeah.. I think this only happens at gitpod because i didnt get any mail while setting up my dev environment.

@Barrylimarti
Copy link
Author

I think this only happens at gitpod.

I was not able to find anywhere the strings from the email in our codebase.

But it is strange how this can happen if it only happens in gitpod also. Can you think of a reason behind it? How is the mail coming if it's not in the codebase?

@dudanogueira
Copy link
Contributor

My guess is that gitpod has some configuration that pings our cloud service for registration, and while it's only a dev deployment, it doesn't register it, and do not generate the email properly.

@Barrylimarti
Copy link
Author

My guess is that gitpod has some configuration that pings our cloud service for registration, and while it's only a dev deployment, it doesn't register it, and do not generate the email properly.

I just finished my setup by the Windows 10 method and registered myself in setup-wizard. I still got the same error and mail without the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants