[SOLVED] Invalid Token with Nextcloud and ONLYOFFICE Demo Server

Issues during installation, usage and configuring
Post Reply
NilsKamm
Posts: 4
Joined: Thu Aug 27, 2020 12:34 pm

[SOLVED] Invalid Token with Nextcloud and ONLYOFFICE Demo Server

Post by NilsKamm » Thu Aug 27, 2020 12:49 pm

Hi all!

We want to checkout the OnlyOffice Integration App in our Nextcloud. Before we decide if we want to build a server we just want to test it.

So i installed the OnlyOffice App in Nextcloud and tried to save in the config-page of the OnlyOffice App.
No Servers. No Changes. Just the Checkbox "Connect to Demo ONLYOFFICE Document Server" is checked.
After saving the following message appears:
Error when trying to connect (Error occurred in the document service: Invalid token)
Any idea what could be the problem / how i can check for more?

In the Nextcloud log the following is showing:
Exception: Error occurred in the document service: Invalid token

/www/htdocs/user/nextcloud/apps/onlyoffice/lib/documentservice.php - line 305:

OCA\Onlyoffice\DocumentService->ProcessCommandServResponceError(6)

/www/htdocs/user/nextcloud/apps/onlyoffice/controller/settingscontroller.php - line 306:

OCA\Onlyoffice\DocumentService->CommandRequest("version")

/www/htdocs/user/nextcloud/apps/onlyoffice/controller/settingscontroller.php - line 171:

OCA\Onlyoffice\Controller\SettingsController->checkDocServiceUrl()

/www/htdocs/user/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

OCA\Onlyoffice\Controller\SettingsController->SaveAddress("https://onl ... /", "", "", "", true)

/www/htdocs/user/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100:

OC\AppFramework\Http\Dispatcher->executeController(OCA\Onlyoffi ... {}, "saveAddress")

/www/htdocs/user/nextcloud/lib/private/AppFramework/App.php - line 137:

OC\AppFramework\Http\Dispatcher->dispatch(OCA\Onlyoffi ... {}, "saveAddress")

/www/htdocs/user/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

OC\AppFramework\App::main("SettingsController", "saveAddress", OC\AppFramew ... {}, { _route: "o ... "})

<<closure>>

OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "o ... "})

/www/htdocs/user/nextcloud/lib/private/Route/Router.php - line 297:

call_user_func(OC\AppFramew ... {}, { _route: "o ... "})

/www/htdocs/w00b5f79/nextcloud/lib/base.php - line 1007:

OC\Route\Router->match("/apps/onlyo ... s")

/www/htdocs/w00b5f79/nextcloud/index.php - line 37:

OC::handleRequest()
Thanks a lot! Let me know, if you need any more information.
Last edited by NilsKamm on Thu Aug 27, 2020 8:37 pm, edited 1 time in total.

Carl
Posts: 572
Joined: Thu Apr 12, 2018 10:00 am

Re: Invalid Token with Nextcloud and ONLYOFFICE Demo Server

Post by Carl » Thu Aug 27, 2020 6:51 pm

Hello NilsKamm,

We have fixed the issue, please try to connect the demo server again. Sorry for the inconvenience.

NilsKamm
Posts: 4
Joined: Thu Aug 27, 2020 12:34 pm

Re: Invalid Token with Nextcloud and ONLYOFFICE Demo Server

Post by NilsKamm » Thu Aug 27, 2020 8:37 pm

Hey Carl!

Now it is working!

Thanks a lot!

z000ao8q
Posts: 3
Joined: Mon Jan 04, 2021 10:05 am

Re: [SOLVED] Invalid Token with Nextcloud and ONLYOFFICE Demo Server

Post by z000ao8q » Sun Jan 10, 2021 9:03 pm

Hello,
I am getting the very same reply on my side when trying this.
is there anything you can do again?

thank you,
Marcel

Carl
Posts: 572
Joined: Thu Apr 12, 2018 10:00 am

Re: [SOLVED] Invalid Token with Nextcloud and ONLYOFFICE Demo Server

Post by Carl » Thu Jan 14, 2021 11:10 am

Hello Marcel,

Does the issue persist?

Post Reply