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

Requested to sign in when accessing viewer https://ggis.un-igrac.org/view/G3P/ #638

Open
seabilwe opened this issue Feb 7, 2024 · 8 comments
Assignees
Labels
bug Something isn't working geoserver Issue relating to Geoserver side

Comments

@seabilwe
Copy link

seabilwe commented Feb 7, 2024

Please see issue logged through the support portal: https://kartoza.com/app/issue/ISS-2024-00006

Dear colleagues, when visiting the page https://ggis.un-igrac.org/view/G3P/, you are requested to sign in. Why is that? Could you please remove this sign in request?
image

Priority: Medium
cc @meomancer

@meomancer
Copy link
Collaborator

hi @NyakudyaA
i think it is permission issue
could you help me check it? Arnaud tried to access the view, and i think some of dataset can't be accessed

@NyakudyaA
Copy link
Collaborator

Ok, I will take a look

@meomancer meomancer added the bug Something isn't working label Feb 14, 2024
@meomancer
Copy link
Collaborator

@meomancer meomancer assigned ThiashaV and Jeremy-Prior and unassigned NyakudyaA Mar 27, 2024
@meomancer meomancer added the geoserver Issue relating to Geoserver side label Mar 28, 2024
@meomancer meomancer moved this to Blocked or More Information in IGRAC GGIS Jun 19, 2024
@robertohuru
Copy link
Collaborator

Resolved by:

Creating a new filter chain matching the URL pattern /gwc/service/** in Geoserver > Authentication > Filter Section with "no security" checked, only "GET" HTTP method checked, and only "anonymous" active in the "chain filter" list. Then position the /gwc/service/** on top of the /gwc/** to override it.

@meomancer restart of GeoServer required to test if this setting persists.

cc: @tharanathkartoza @EliVolsch

@meomancer
Copy link
Collaborator

Thank you @robertohuru
It works, i also update it on DO server
cc @EliVolsch

@meomancer meomancer moved this from Blocked or More Information to In Review in IGRAC GGIS Sep 13, 2024
@meomancer
Copy link
Collaborator

Hi @robertohuru cc @EliVolsch
The settings is being restored on geoserver restarted
Could you help me how to make it persist

@robertohuru
Copy link
Collaborator

@meomancer please mount /spcgeonode-geodatadir/security/config.xml similar to #719 to persist the changes.

@meomancer
Copy link
Collaborator

Hi @robertohuru
I have tried to mount the file, but when restarting, there is error

"sed: cannot rename /spcgeonode-geodatadir/security/sedHQkVgT: Device or resource busy"

It seems the geoserver try to rename some file but because it is mounted, it gives error
I tried to check the entrypoints or any calls for rename, but i can't find it

Could you help me check it? Thank you so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working geoserver Issue relating to Geoserver side
Projects
Status: Blocked or More Information
Development

No branches or pull requests

6 participants