Re: New Topic: Issues in Admin-Console/User and Groups

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: New Topic: Issues in Admin-Console/User and Groups

Juan Luis Rodríguez Ponce
Hi,

On Thu, Nov 12, 2020 at 9:22 AM Siegel Andreas <[hidden email]>
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/>Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork