Closed roadkingvrod closed 3 months ago
Thanks Scott for reporting this issue. Per our discussion we'll look into it.
@geekgonecrazy - Do you know if this is a known issue that is being addressed by the team? It impacts the completion of registration and associated provisioning of starter license, access to cloud services, etc.
Any details about the host running on? Any logs? Can you reproduce with log level increased?
Can add environment variable: OVERWRITE_SETTING_Log_Level=2 to turn log level all the way up. If you can see anything even timeouts. Also from host if you can make sure can hit cloud.rocket.chat and it resolve?
I had the experience with both snap and docker. I recreated another docker instance and enabled the additional logging. This is the log all the way and up to the "awaiting confirmation" page. Please note, the grey box with the security code is always blank on this first attempt and an email is never sent. If I hit "change email" and put in the exact same email address i used initially it then refreshes with a security code and I receive an email. Also, on the docker host, cloud.rocket.chat resolves to 34.230.175.106
Please let me know if you need anything else.
(node:1) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
05/03/2024
03:24:37 PM
05/03/2024
03:24:37 PM
Please migrate your code to use AWS SDK for JavaScript (v3).
05/03/2024
03:24:37 PM
For more information, check the migration guide at https://a.co/7PzMCcy
05/03/2024
03:24:37 PM
(Use node --trace-warnings ... to show where the warning was created)
05/03/2024
03:24:37 PM
LocalStore: store created at
05/03/2024
03:24:37 PM
LocalStore: store created at
05/03/2024
03:24:37 PM
LocalStore: store created at
05/03/2024
03:24:46 PM
hostname=
55c0e77d461c
level=
40
msg=
Voip is not enabled. Cant start the service
name=
VoIPService
pid=
1
time=
2024-05-03T22:24:46.219Z
05/03/2024
03:24:46 PM
(node:1) [MONGODB DRIVER] Warning: cursor.count is deprecated and will be removed in the next major version, please use collection.estimatedDocumentCount or collection.countDocuments instead
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
30
msg=
Disabling CAS login service
name=
CAS
pid=
1
time=
2024-05-03T22:24:48.229Z
addhostname=55c0e77d461c
addlevel=30
addmsg=Disabling CAS login service
addname=CAS
addpid=1
addtime=2024-05-03T22:24:48.229Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Drupal
pid=
1
time=
2024-05-03T22:24:48.231Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Apple
pid=
1
time=
2024-05-03T22:24:48.232Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_GitHub_Enterprise
pid=
1
time=
2024-05-03T22:24:48.233Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Gitlab
pid=
1
time=
2024-05-03T22:24:48.233Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Gitlab_merge_users
pid=
1
time=
2024-05-03T22:24:48.234Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Nextcloud
pid=
1
time=
2024-05-03T22:24:48.235Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Tokenpass
pid=
1
time=
2024-05-03T22:24:48.236Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Wordpress
pid=
1
time=
2024-05-03T22:24:48.237Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Dolphin
pid=
1
time=
2024-05-03T22:24:48.238Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Facebook
pid=
1
time=
2024-05-03T22:24:48.239Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Google
pid=
1
time=
2024-05-03T22:24:48.240Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Github
pid=
1
time=
2024-05-03T22:24:48.241Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Linkedin
pid=
1
time=
2024-05-03T22:24:48.242Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Meteor
pid=
1
time=
2024-05-03T22:24:48.243Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
name=
rocketchat:lib
oauth_updated=
Accounts_OAuth_Twitter
pid=
1
time=
2024-05-03T22:24:48.244Z
05/03/2024
03:24:48 PM
[2024-05-03T22:24:48.502Z] INFO 18bb112c-9d9c-4422-9488-105052b6834b/BROKER: Moleculer v0.14.31 is starting...
05/03/2024
03:24:48 PM
[2024-05-03T22:24:48.502Z] INFO 18bb112c-9d9c-4422-9488-105052b6834b/BROKER: Namespace: |
SERVER RUNNING | 05/03/2024 03:24:48 PM +----------------------------------------------------+ 05/03/2024 03:24:48 PM |
---|
05/03/2024 03:24:48 PM | Rocket.Chat Version: 6.7.2 | 05/03/2024 03:24:48 PM | NodeJS Version: 14.21.3 - x64 | 05/03/2024 03:24:48 PM | MongoDB Version: 6.0.15 | 05/03/2024 03:24:48 PM | MongoDB Engine: wiredTiger | 05/03/2024 03:24:48 PM | Platform: linux | 05/03/2024 03:24:48 PM | Process Port: 3000 | 05/03/2024 03:24:48 PM | Site URL: http://your-domain.com:3300 | 05/03/2024 03:24:48 PM | ReplicaSet OpLog: Enabled | 05/03/2024 03:24:48 PM | Commit Hash: cb977231a2 | 05/03/2024 03:24:48 PM | Commit Branch: HEAD | 05/03/2024 03:24:48 PM |
---|
05/03/2024
03:24:48 PM
+----------------------------------------------------+
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
msg=
Starting business hour manager false
name=
LivechatStartup
pid=
1
time=
2024-05-03T22:24:48.896Z
05/03/2024
03:24:48 PM
hostname=
55c0e77d461c
level=
20
method=
Auto_Selection
msg=
Routing method supports auto assignment
name=
OmnichannelQueue
pid=
1
status=
Starting
time=
2024-05-03T22:24:48.897Z
05/03/2024
03:24:49 PM
[2024-05-03T22:24:49.042Z] INFO 18bb112c-9d9c-4422-9488-105052b6834b/REGISTRY: '$node' service is registered.
05/03/2024
03:24:49 PM
[2024-05-03T22:24:49.043Z] INFO 18bb112c-9d9c-4422-9488-105052b6834b/REGISTRY: 'matrix' service is registered.
05/03/2024
03:24:49 PM
[2024-05-03T22:24:49.044Z] INFO 18bb112c-9d9c-4422-9488-105052b6834b/$NODE: Service '$node' started.
05/03/2024
03:24:49 PM
[2024-05-03T22:24:49.045Z] INFO 18bb112c-9d9c-4422-9488-105052b6834b/MATRIX: Service 'matrix' started.
05/03/2024
03:24:49 PM
[2024-05-03T22:24:49.045Z] INFO 18bb112c-9d9c-4422-9488-105052b6834b/BROKER: ✔ ServiceBroker with 2 service(s) started successfully in 519ms.
05/03/2024
03:24:49 PM
hostname=
55c0e77d461c
level=
20
msg=
Start provider 'defaultProvider'
name=
Search Logger
pid=
1
time=
2024-05-03T22:24:49.795Z
05/03/2024
03:24:53 PM
hostname=
55c0e77d461c
level=
20
msg=
No more registered queues. Refreshing
name=
OmnichannelQueue
pid=
1
time=
2024-05-03T22:24:53.593Z
05/03/2024
03:24:53 PM
hostname=
55c0e77d461c
level=
20
msg=
Executing queue Public with timeout of 5000
name=
OmnichannelQueue
pid=
1
time=
2024-05-03T22:24:53.595Z
05/03/2024
03:24:53 PM
hostname=
55c0e77d461c
level=
20
msg=
Processing items for queue Public
name=
OmnichannelQueue
pid=
1
time=
2024-05-03T22:24:53.595Z
05/03/2024
03:24:53 PM
hostname=
55c0e77d461c
level=
20
msg=
No more items for queue Public
name=
OmnichannelQueue
pid=
1
time=
2024-05-03T22:24:53.596Z
05/03/2024
03:24:58 PM
hostname=
55c0e77d461c
level=
20
msg=
No more registered queues. Refreshing
name=
OmnichannelQueue
pid=
1
time=
2024-05-03T22:24:58.596Z
05/03/2024
03:24:58 PM
hostname=
55c0e77d461c
level=
20
msg=
Executing queue Public with timeout of 5000
name=
OmnichannelQueue
pid=
1
time=
2024-05-03T22:24:58.597Z
05/03/2024
03:24:58 PM
hostname=
55c0e77d461c
level=
20
msg=
Processing items for queue Public
name=
OmnichannelQueue
pid=
1
time=
2024-05-03T22:24:58.597Z
05/03/2024
03:24:58 PM
hostname=
55c0e77d461c
level=
20
msg=
No more items for queue Public
name=
OmnichannelQueue
pid=
1
time=
2024-05-03T22:24:58.599Z
05/03/2024
03:25:02 PM
host=
192.168.50.8:3300
hostname=
55c0e77d461c
level=
35
method=
GET
name=
API
pid=
1
referer=
http://192.168.50.8:3300/
remoteIP=
192.168.50.244
responseTime=
7
status=
200
time=
2024-05-03T22:25:02.051Z
url=
/api/v1/service.configurations
userAgent=
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
userId=
CGh33EM6nPYJJu9Sb
05/03/2024
03:25:02 PM
hostname=
55c0e77d461c
instanceId=
18bb112c-9d9c-4422-9488-105052b6834b
level=
35
method=
getUserRoles
name=
Meteor
pid=
1
referer=
http://192.168.50.8:3300/
remoteIP=
192.168.50.244
time=
2024-05-03T22:25:02.078Z
userAgent=
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
05/03/2024
03:25:02 PM
Exception while invoking method getUserRoles errorClass [Error]: Invalid user [error-invalid-user]
05/03/2024
03:25:02 PM
at app/lib/server/methods/getUserRoles.ts:16:10
05/03/2024
03:25:02 PM
at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
05/03/2024
03:25:02 PM
=> awaited here:
05/03/2024
03:25:02 PM
at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
05/03/2024
03:25:02 PM
at packages/meteor.js:367:22
05/03/2024
03:25:02 PM
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1389:31)
05/03/2024
03:25:02 PM
at packages/ddp-server/livedata_server.js:1854:36
05/03/2024
03:25:02 PM
at new Promise (
any way you can paste the logs cleaner? Thats so long it'd take me forever to parse through and see whats going on. Looks like maybe grabbing through some aws tool instead of direct from logs? Maybe thats messing up formatting? THe logs directly out shouldn't be that badly formatted
@geekgonecrazy at a guess:
CloudWorkspaceRegistrationError: Workspace is not registered at Workspace does not have a valid access token, sync aborted
| Rocket.Chat Version: 6.7.2 |
| NodeJS Version: 14.21.3 - x64 |
| MongoDB Version: 6.0.15 |
| MongoDB Engine: wiredTiger |
| Platform: linux |
| Process Port: 3000 |
| Site URL: http://your-domain.com:3300 |
| ReplicaSet OpLog: Enabled |
| Commit Hash: cb97723 |
Ports look mismatched, and Site URL using http too ?
I'm traveling this week but will look again when back. Given it was to be used internally, I didn't bother updating the host name. It is still interesting error handling that it goes through after selecting change email.
I'll let you know how it goes.
Thanks!
Scott
On Wed, May 8, 2024, 7:19 AM John Crisp @.***> wrote:
@geekgonecrazy https://github.com/geekgonecrazy at a guess:
CloudWorkspaceRegistrationError: Workspace is not registered at Workspace does not have a valid access token, sync aborted
| Rocket.Chat Version: 6.7.2 | | NodeJS Version: 14.21.3 - x64 | | MongoDB Version: 6.0.15 | | MongoDB Engine: wiredTiger | | Platform: linux | | Process Port: 3000 | | Site URL: http://your-domain.com:3300 | | ReplicaSet OpLog: Enabled | | Commit Hash: cb97723 |
Ports look mismatched, and Site URL using http too ?
— Reply to this email directly, view it on GitHub https://github.com/RocketChat/Rocket.Chat/issues/32359#issuecomment-2100697254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL553RHZBYSODGYOMPUETP3ZBIX7PAVCNFSM6AAAAABHCQBGLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGY4TOMRVGQ . You are receiving this because you authored the thread.Message ID: @.***>
This issue has been marked as stale because there has been no further activity in the last 10 days. If the issue remains stale for the next 4 days (a total of 14 days with no activity), then it will be assumed that the question has been resolved and the issue will be automatically closed.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Please reopen. I have a way to reproduce this, or a related, similar bug:
sync subscription ⇒ Login / register loop
The cause of this is simple. You have the following design flaws in your code:
Solution:
I have a way to reproduce this, or a related, similar bug:
Open a new bug and fill in a bug template properly please. Server details are important.
realize LDAP support is buggy in the community edition (will open an issue for this)
Not all LDAP features work in CE. That is a decision taken by Rocket.Chat
You may experience unexpected issues if you use LDAP features that get disabled when you downgrade to CE.
try to switch to the free subscription again
I presume you mean Starter?
Note you should not keep chopping and changing subscriptions. If you downgrade to CE you need to open a forum post with a request to get yourself reinstated to Starter.
seems to only work, by removing the subscription plan on cloud.rocket.chat
That is probably your registration loop then.
See above about 'upgrading' back to Starter.
realize LDAP support is buggy in the community edition (will open an issue for this)
Not all LDAP features work in CE. That is a decision taken by Rocket.Chat
The very basic features should work. When no user can login via ldap, without creating a user first, it is a problem.
You may experience unexpected issues if you use LDAP features that get disabled when you downgrade to CE.
Starter is the default, anyone is forced to register its instance with a Starter subscription. Also, all CE instances are upgraded automatically to starter with newer updates. So changing to CE should not cause any bugs. Deactivated features are a different thing.
Note you should not keep chopping and changing subscriptions. If you downgrade to CE you need to open a forum post with a request to get yourself reinstated to Starter.
This is an awful design. Imagine, you are evaluating rocket.Chat and you want to test which subscription version fits your needs and you are confronted with so many issues. Would you ditch it completely? Probably. When Starter is the default starting point after a clean installation, it should be possible to just switch back to it.
seems to only work, by removing the subscription plan on cloud.rocket.chat
That is probably your registration loop then.
See above about 'upgrading' back to Starter.
No, as I stated, the loop occurred, since it was not possible anymore to login to the admin account. Without user privileges a change or reregistration of a rocket instance is impossible. And that's good so far, since no unauthenticated user should be able to change server options.
Open a new bug and fill in a bug template properly please. Server details are important.
^^^^^^^^^^^^^^^^^^^
Note.
The very basic features should work. When no user can login via ldap, without creating a user first, it is a problem.
Not seen this on a clean install. Basic LDAP authent works. Sync is a different matter. Please read the docs.
Also, all CE instances are upgraded automatically to starter with newer updates.
No. All instances start as a Pro trial for 30 days that changes to starter afterwards if you have >= 25 users as per the docs.
You can manually downgrade to CE but it will not "automatically" upgrade you from CE. It needs manual intervention by the team to do that.
So changing to CE should not cause any bugs.
It shouldn't but it will disable features. If you rely on them they will stop working. That isn't a bug.
This is an awful design
Perhaps, so open a bug on this issue, but equally a thorough read of the documentation would save you a lot of pain.
Your loop. As I said this likely a combination of factors.
Regarding 2FA & mail setup I'm still not quite clear how you got to this point.
You must have got an email as the admin do presume you must have set up a mail server?
Note if you read the forums etc there sre ways to disable 2FA.....
Either way, you have lumped several things together and it's hard to see the wood for the trees here.
I suggest you go back and create a well documented issue - if we can't recreate we can't fix it - for each specific problem rather than following up on this old closed bug.
Thanks.
Ok, did what you said, my main issue has nothing to do with this issue. But I also had the issue in this thread, it sometimes occurred in my login/registration loop.
!--
Please see our guide for opening issues: https://developer.rocket.chat/rocket.chat/contribute-to-rocket.chat/ways-to-contribute/report-bugs
If you have questions or are looking for help/support please see: https://rocket.chat/docs/getting-support
If you are experiencing a bug please search our issues to be sure it is not already present: https://github.com/RocketChat/Rocket.Chat/issues
-->
Description:
Upon registration, during the email verification page, the security code is blank. Additionally, no email is sent to the entered address. At this point, if i click change email and put in the exact same address as I put in initally, it behaves properly, sends the email and presents a code.![Picture1](https://github.com/RocketChat/Rocket.Chat/assets/50060740/a17a0598-8f64-435b-81e5-afd8d4d1d12c)
Steps to reproduce:
Expected behavior:
Email sent with security code.
Actual behavior:
No code, no email. Please see screenshot.
Server Setup Information:
Client Setup Information
Additional context
Relevant logs: