Thanks for the suggested workaround!

I have unchecked the "HTTP connection pooling" option as suggested below and do 
not get the "Connection reset" error any more.

I occasionally get a "read timeout" error, but not even close so many as before.

Is the performance affected when the "HTTP connection pooling" is unchecked?

Best Regards
Mattias Andrén

Från: Andrea Aime <andrea.a...@geosolutionsgroup.com>
Skickat: den 20 december 2022 10:37
Till: Jody Garnett <jody.garn...@gmail.com>
Kopia: Mattias Andrén <mattias.and...@varberg.se>; 
geoserver-users@lists.sourceforge.net
Ämne: Re: [Geoserver-users] GeoServer 2.21 - Cascaded WMS returns Connection 
reset

On Tue, Dec 20, 2022 at 9:54 AM Jody Garnett 
<jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>> wrote:
I am not sure how you configure that from GeoServer (there should be a choice 
between the built-in java URL and HTTP connections, and the Apache HTTP 
library).

I was about to suggest the same. The default is with the Apache HTTP library 
with a connection pool and persistent connections,
which is faster but less reliable. The alternative is to turn that off, 
creating a new HTTP connection for each request.

To do so, un-check the "HTTP connection pooling" option:

https://docs.geoserver.org/latest/en/user/data/cascaded/wms.html#adding-an-external-wms<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.geoserver.org%2Flatest%2Fen%2Fuser%2Fdata%2Fcascaded%2Fwms.html%23adding-an-external-wms&data=05%7C01%7Cmattias.andren%40varberg.se%7Cf49d40c5b4c0408f338e08dae26dbdf0%7C7f8b8c7bffd84804914cfac1638c3f65%7C0%7C0%7C638071258211987029%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=K8Rlj4bUYkCdtTU3%2BwmCVk3oY%2BWLea149r6I708oo3Q%3D&reserved=0>

Cheers
Andrea

==

GeoServer Professional Services from the experts!

Visit 
http://bit.ly/gs-services-us<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbit.ly%2Fgs-services-us&data=05%7C01%7Cmattias.andren%40varberg.se%7Cf49d40c5b4c0408f338e08dae26dbdf0%7C7f8b8c7bffd84804914cfac1638c3f65%7C0%7C0%7C638071258211987029%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=1ZhSJH95hITB5Y7TyZTJDBqzKkUQsfvZco%2BmbLFaSVM%3D&reserved=0>
 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax:     +39 0584 1660272

mob:   +39  339 8844549


https://www.geosolutionsgroup.com/<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.geosolutionsgroup.com%2F&data=05%7C01%7Cmattias.andren%40varberg.se%7Cf49d40c5b4c0408f338e08dae26dbdf0%7C7f8b8c7bffd84804914cfac1638c3f65%7C0%7C0%7C638071258211987029%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cn7udXJdRsoSihAnKNiIgZ47xYMIXKmj9ACtBQ9%2FUBQ%3D&reserved=0>

http://twitter.com/geosolutions_it<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ftwitter.com%2Fgeosolutions_it&data=05%7C01%7Cmattias.andren%40varberg.se%7Cf49d40c5b4c0408f338e08dae26dbdf0%7C7f8b8c7bffd84804914cfac1638c3f65%7C0%7C0%7C638071258211987029%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=T2S93hU7hbnYUggUbrmB%2FfECFlsrsXvcj7kCKXL6hLM%3D&reserved=0>

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 
2016/679 - Regolamento generale sulla protezione dei dati "GDPR"), si precisa 
che ogni circostanza inerente alla presente email (il suo contenuto, gli 
eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i 
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per 
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei 
comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. We remind that - as provided by European Regulation 
2016/679 "GDPR" - copying, dissemination or use of this e-mail or the 
information herein by anyone other than the intended recipient is prohibited. 
If you have received this email by mistake, please notify us immediately by 
telephone or e-mail
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to