[GeoNode-users] problems connect refused when upload shapefiles in geonode

Toni Schönbuchner toni.schoenbuchner at csgis.de
Wed Feb 21 09:07:00 PST 2018


Dear Silvia,

>  if according to the manual I have made the indicated changes, at least in the connection configuration of postgres and local_settings.


I just gone through your mail and logs again. I would have bet that your geoserver is down.
Unfortunately I´m unfamiliar with installation on centos7. My guess is that something is misconfigured
with auth between geonode and geoserver. We should check that everything is setup correctly.

This gist shows a working local_settings.py for geonode2.6:
https://gist.github.com/t-book/0da94fce8c88a1e31dc9f14f99e2aa1b <https://gist.github.com/t-book/0da94fce8c88a1e31dc9f14f99e2aa1b>
Please compare it with your settings.
I´ve marked the parts where you should take special care of with ( !!! ).
( Replace the credentials and IP regarding your setup. )

Next visit geoserver admin GUI and navigate to security „authentification“. Here click
the geonode-oauth2 link. Compare the URL configuration with the one I´ve posted as image in the gist (link above).
It shows you where to set the server IP and where localhost.

Last but not least go to
geonode admin -> applications -> GeoServer

and check your IP and secret etc as well.
(Image posted under gist as well)

If all this does not help something else blocks your connection … like iptables etc.
But this is really hard to guess.

Hope this helps a bit to get you started.

Cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil	+49/ (0) 176 6680 3198
Tel 		+49/ (0) 341 24 04 738
Fax 		+49/ (0) 341 24 04 73
Web		http://csgis.de
-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung,
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

> Am 21.02.2018 um 16:06 schrieb SILVIA GAMERO <gamerinsky at gmail.com>:
> 
>  Toni, thanks for your help
> Geoserver is responding correctly, and if I have restarted tomcat without any improvement.
> 
> It is obvious that you can not connect, but I can not know what configuration I should modify, if according to the manual I have made the indicated changes, at least in the connection configuration of postgres and local_settings.
> 
> 2018-02-21 08:12:45,115 ERROR [common.sender] - Conexión rehusada (Connection refused)
> java.net.ConnectException: Conexión rehusada (Connection refused)
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
> 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
> 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> 	at java.net.Socket.connect(Socket.java:589)
> 	at com.rabbitmq.client.impl.SocketFrameHandlerFactory.create(SocketFrameHandlerFactory.java:50)
> 	at com.rabbitmq.client.impl.recovery.RecoveryAwareAMQConnectionFactory.newConnection(RecoveryAwareAMQConnectionFactory.java:60)
> 	at com.rabbitmq.client.impl.recovery.AutorecoveringConnection.init(AutorecoveringConnection.java:99)
> 	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:900)
> 	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:859)
> 	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:817)
> 	at com.rabbitmq.client.ConnectionFactory.newConnection(ConnectionFactory.java:954)
> 	at org.geoserver.notification.common.sender.RabbitMQSender.initialize(RabbitMQSender.java:79)
> 	at org.geoserver.notification.common.sender.RabbitMQSender.send(RabbitMQSender.java:98)
> 	at org.geoserver.notification.common.DefaultNotificationProcessor.process(DefaultNotificationProcessor.java:39)
> 	at org.geoserver.notification.MessageProcessor$WorkerThread.run(MessageProcessor.java:79)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:748)
> 
> Do you have any idea?
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180221/307d9a50/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180221/307d9a50/attachment-0001.sig>


More information about the geonode-users mailing list