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

Error with GN login with GN 3.10.3 #20

Closed
Davien44 opened this issue Feb 1, 2022 · 3 comments
Closed

Error with GN login with GN 3.10.3 #20

Davien44 opened this issue Feb 1, 2022 · 3 comments
Assignees

Comments

@Davien44
Copy link

Davien44 commented Feb 1, 2022

Hi,

I'm trying to connect to a GeoNetwork (version 3.10.3) with the folowing parameters:

> GN <- GNManager$new(url = "gn_url", version = "3.10.3", user = "xxx", pwd = "xxx", logger = "DEBUG")

But I have this error, and I don't really understand where it come from:

Error in curl::curl_fetch_memory(url, handle = handle) : Maximum (10) redirects followed

I tried to connect to another GeoNetwork (version 3.12.2) and it works perfectly.

Do you have any idea where the error might come from?

Thanks,
Davien

@eblondel
Copy link
Owner

eblondel commented Feb 2, 2022

Without a test, I can assert anything. I could get similar issues with a geonetwork trying to get the url as http, although it was supposed to be in https. From 3.12, the GNManager will now switch to the new API, although before the legacy API is used. I don't exclude some intermediate logics to 3.10.x series have been skipped with geonapi.
If you can send me a test case (by email), with a test user assigned, i'll be able to test and debug.

@eblondel
Copy link
Owner

@Davien44 can you reinstall and check if #21 fixes the issue?

@eblondel
Copy link
Owner

Fixed with #21

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

No branches or pull requests

2 participants