texxasrulez / roundcube-plugin-nextcloud

28 stars 13 forks source link

This address cannot be opened because one of the following protocols (env) is not assigned to any program or is not allowed in this context. #9

Closed martinloucka closed 1 year ago

martinloucka commented 4 years ago

Hi, after following the installation instructions I am getting the following error rendered by Firefox once I click the "nextcloud" task in Roundcube's left navigation bar:

This address cannot be opened because one of the following protocols (env) is not assigned to any program or is not allowed in this context.

Do you have any idea what went wrong? Many thanks in advance!

texxasrulez commented 4 years ago

I have not ran into this. I have tested this using Chrome and Firefox with no issues. Please provide logs. Roundcube error logs, systems logs, etc ... The more the better.

martinloucka commented 4 years ago

@texxasrulez Many thanks for your quick reaction, and sorry for taking so long - I have still not been able to grab the logs, and will get to them no sooner than next week. Sorry - you can close the issue for now if you prefer, and I will reopen once I have the full information for you.

madeus commented 4 years ago

I have exactly the same message. There is no information about the error in the logs. Both in Roundcube and in Nextcloud. I tried on Firefox and Edge.

texxasrulez commented 4 years ago

What are the URL's of both roundcube and Nextcloud are you using?

mart-ffbsee commented 4 years ago

Hi. So I also had this issue. But let me be more specific. I'm using the nextcloud 19.0.1 and roundcube 1.4.8

In Firefox I see this same error message that the other users described before but only for a split second, then I see the login page of my nextcloud. In Chrome I get a message, that chrome does not know how to open "env:blankpage".

I investigated a bit and the env:blankpage is from skins/elastic/templates/nextcloud.html After I removed the src="env:blankpage" from skins/elastic/templates/nextcloud.html I do net get any error anymore, just the login screen of nextcloud.

So, since I'm trying this out for the first time, I don't relly know what this plugin is supposed to do. Should it try to login to nextcloud with same credentials as roundcube or do I just have to login manually?

I'd be happy to provide more information and/or logs. Any help would be appreciated

texxasrulez commented 4 years ago

The purpose of this login is to have integration of Nextcloud within Roundcube without the need to login to Nextcloud by using Roundcube login credentials. That is why your username and passwords must be IDENTICAL on Roundcube and Nextcloud. If your instance is not logging in automatically for you, did you upload the nextcloud app to nextcloud, add nextcloud des key to nextcloud config and enable that plugin?

I will take your deletion on the elastic template and test that out if I can since it does work for me. Thank you for your contribution.