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

unauthorized request #194

Open
ZalaSan opened this issue Jun 22, 2023 · 3 comments
Open

unauthorized request #194

ZalaSan opened this issue Jun 22, 2023 · 3 comments

Comments

@ZalaSan
Copy link

ZalaSan commented Jun 22, 2023

Good afternoon.
I decided to study your system. The first installation was successful, but some errors appeared during the settings. I decided to completely reinstall and now after installation, when registering a user, I get the error "unauthorized request".
I assume that during registration, a certain key passes to your server and since I reinstalled it, the key most likely does not match and therefore there is a refusal. Please tell me how you can get around this or fix it.
The next time you try, the message "Wizard passed."

@Carazyda
Copy link
Member

Hello @ZalaSan Can you describe your case in more detail? How did you install Onlyoffice? And how did you reinstall? step by step if possible. Also try clearing your browser cookies.

@ZalaSan
Copy link
Author

ZalaSan commented Jun 23, 2023

Good afternoon @Carazyda. Installed ONLY OFFICE Workspace on Ubuntu server 20.4 using your installation instructions using the script "wget https://download.onlyoffice.com/install/workspace-install.sh ". And the first time and the second time. I'm not very good at Linux, so when I ran into difficulties after the first installation, it was easier for me to reinstall the system completely and then install ONLYOFFICE. After the first installation, there were no problems at all with setting the password for the administrator at the first login to the site. After the second installation, while the parameters of the virtual machine were exactly the same, after going to the site, I also filled everything out and when I clicked OK from the top right, a pop-up window with the inscription "unauthorized request" fell out the next time I clicked OK, the "Wizard passed." window began to appear. Here's what I could find in the logs:

2023-06-22 09:00:11,517 ERROR [32] localhost - ASC - Warmup ProjectTeam.aspx System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object re>
at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x0012b] in <f2b3ab7dfff746f594d2ef5b16ec3c90>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].ContainsKey (TKey key) [0x00000] in
2023-06-22 09:05:09,710 ERROR [45] localhost - ASC - WarmUp error System.Threading.Tasks.TaskCanceledException: A task was canceled.
2023-06-22 09:05:14,924 ERROR [34] localhost - ASC.Web.FirstTime - System.Exception: Wizard passed.
at ASC.Web.Studio.UserControls.FirstTime.EmailAndPassword.SaveData (System.String email, System.String passwordHash, System.String lng, System.String promocode, System.String amiid, System.Boolean subscribeFromSite) [0x00019] in
2023-06-22 09:26:52,296 ERROR [35] localhost - ASC.Web.FirstTime - System.Exception: Wizard passed.
at ASC.Web.Studio.UserControls.FirstTime.EmailAndPassword.SaveData (System.String email, System.String passwordHash, System.String lng, System.String promocode, System.String amiid, System.Boolean subscribeFromSite) [0x00019] in
2023-06-22 09:55:07,092 ERROR [49] localhost - ASC.Web.FirstTime - System.Exception: Wizard passed.

Now, on your recommendation, I have cleared cookies, but the fact is that now I cannot get to the first page for registration and I am immediately thrown off to the authorization page. How do I return to the first registration window? It doesn't help even if I put a link "http://10.1.1.1/Wizard.aspx ", still throws me over "http://10.1.1.1/Auth.aspx?refererurl=http%3a%2f%2f10 .1.55.28%2fDefault.aspx". I ask you to determine what my mistake is, I just understand that if I completely reinstall the system again, I will have everything the same.

@Carazyda
Copy link
Member

The wizard page is shown only once, and if you have already passed it, it will not open again. For a clean reinstall you need to delete all containers and folder /app. Then run the install script again. Try a clean reinstall.

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

2 participants