[GeoNetwork-users] New Topic: Issues in Admin-Console/User and Groups

Hi List.

I found the User/Groups-Interface to be quite laggy.
Reason are HTTP-Codes:500 while tying to load PNG-Images for each User and waiting until request-timeout .
Example for User with ID=1:
http://vogis.cnv.at/geonetwork/srv/api/users/1.png?size=18
...
</pre><p><b>Root Cause</b></p><pre>javax.imageio.IIOException: Can't get input stream from URL!
...

I could not find any user-specific PNG's in the Geonetwork-Folders.
Where should they be?
Can i fix this by providing PNG-Imagettes in some Folder geonetwork/XXXXXX?

Thanks
Andy

Mag Andreas Siegel
Abteilung Geoinformation

Landesamt für Vermessung und Geoinformation
Johannitergasse 6, A-6800 Feldkirch
T: +43(0) 5522 / 75482 - 60227
F: +43(0) 5522 / 75482 - 6
E: andreas.siegel@anonymised.com<mailto:andreas.andreas.sandreas.siegel@anonymised.com.>
I: http://www.vorarlberg.at/lva

Rechtsverbindlichen Schriftverkehr
(zB Anträge, Rechtsmittel) richten Sie an:
F: +43(0)5522/75482-6
E: landesvermessungsamt@anonymised.com<mailto:landesvermessungsamt@anonymised.com>

Hi,

On Thu, Nov 12, 2020 at 9:22 AM Siegel Andreas <Andreas.Siegel@anonymised.com>
wrote:

Hi List.

I found the User/Groups-Interface to be quite laggy.
Reason are HTTP-Codes:500 while tying to load PNG-Images for each User and
waiting until request-timeout .
Example for User with ID=1:
http://vogis.cnv.at/geonetwork/srv/api/users/1.png?size=18
...
</pre><p><b>Root Cause</b></p><pre>javax.imageio.IIOException: Can't get
input stream from URL!
...

I could not find any user-specific PNG's in the Geonetwork-Folders.
Where should they be?
Can i fix this by providing PNG-Imagettes in some Folder geonetwork/XXXXXX?

Looking at the code causing the issue [1] it seems there is a timeout
retrieving the image from Gravatar service [2]. A MD5 of the user email is
calculated and sent to https://gravatar.com/avatar/$\{MD5\}?\.\.\.

Is your server using a proxy to access internet? If yes, you'd need to pass
the http.proxyHost, http.proxyPort, https.proxyHost and https.proxyPort to
your application server [3][4].

[1]
https://github.com/geonetwork/core-geonetwork/blob/3.10.4/services/src/main/java/org/fao/geonet/api/users/UsersApi.java#L245-L251

[2] https://www.gravatar.com/
[3] https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html
[4] https://memorynotfound.com/configure-http-proxy-settings-java/

--

*Vriendelijke groeten / Kind regards,Juan Luis Rodríguez.
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*