You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/10/13 15:40:43 UTC

[GitHub] [pulsar-helm-chart] MonicaMagoniCom opened a new issue, #295: Pulsar-manager connection refused

MonicaMagoniCom opened a new issue, #295:
URL: https://github.com/apache/pulsar-helm-chart/issues/295

   Hi all,
   
   I have updated my pulsar cluster from 2.6.1 to 2.10.1 with pulsar-manager version 0.3.0.
   I try to login on pulsar-manager with credentials _pulsar/pulsar_ but it fails; from the logs I see:
   org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: 
   ### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is org.postgresql.util.PSQLException: **Connection to 127.0.0.1:5432 refused.** Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
   
   I have also tried to change in the application.properties file "user.management.enable" to "false" but nothing changes.
   
   Even if i run this curl
   CSRF_TOKEN=$(curl http://localhost:7750/pulsar-manager/csrf-token)
   I got connection refused.
   
   Can someone help me?
   
   Thank you
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] michaeljmarshall commented on issue #295: Pulsar-manager connection refused

Posted by GitBox <gi...@apache.org>.
michaeljmarshall commented on issue #295:
URL: https://github.com/apache/pulsar-helm-chart/issues/295#issuecomment-1284917570

   Is there any configuration that works? I wouldn't have thought authn/authz would affect this error since the specific error log is a failure related to the JDBC connection, which is not a Pulsar connection. That has to do with connecting to an internal Postgres database running in the Pulsar Manager. I am not familiar with the internals of that project, though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] michaeljmarshall commented on issue #295: Pulsar-manager connection refused

Posted by GitBox <gi...@apache.org>.
michaeljmarshall commented on issue #295:
URL: https://github.com/apache/pulsar-helm-chart/issues/295#issuecomment-1283320543

   @MonicaMagoniCom - is the pulsar-manager running? Do you see it configured with the pulsar/pulsar credentials? If so, it might be worth opening an issue in https://github.com/apache/pulsar-manager.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] eolivelli commented on issue #295: Pulsar-manager connection refused

Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #295:
URL: https://github.com/apache/pulsar-helm-chart/issues/295#issuecomment-1284978454

   It would be also interesting to default to storing the data on HerdDB, that in turn stored the data on the bookies. This will save us to run PostGree


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] MonicaMagoniCom commented on issue #295: Pulsar-manager connection refused

Posted by GitBox <gi...@apache.org>.
MonicaMagoniCom commented on issue #295:
URL: https://github.com/apache/pulsar-helm-chart/issues/295#issuecomment-1286722371

   They are two different errors, sorry. The first one is the one I got with pulsar-manager version 0.3.0, while the second related to JWT token happens with 0.2.0 version. It seems that version 0.3.0 has some problems at the login page already. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] zengzhengrong commented on issue #295: Pulsar-manager connection refused

Posted by GitBox <gi...@apache.org>.
zengzhengrong commented on issue #295:
URL: https://github.com/apache/pulsar-helm-chart/issues/295#issuecomment-1295730063

   #https://github.com/apache/pulsar-manager/pull/478
   
   Use tag v0.2.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pulsar-manager connection refused [pulsar-helm-chart]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #295: Pulsar-manager connection refused
URL: https://github.com/apache/pulsar-helm-chart/issues/295


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-helm-chart] MonicaMagoniCom commented on issue #295: Pulsar-manager connection refused

Posted by GitBox <gi...@apache.org>.
MonicaMagoniCom commented on issue #295:
URL: https://github.com/apache/pulsar-helm-chart/issues/295#issuecomment-1284204970

   Yes it is running but I have authentication and authorization enabled on the cluster. I see that by setting the following values:
   JWT_TOKEN:<token>
   SECRET_KEY: data:base64,<secret key>
   pulsar manager receives 401 http code from the brokers when it tries to ask for tenants/namespaces/etc. 
   
   Also, from pulsar manager logs, the jwt token is not used in the header of the request towards the broker. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pulsar-manager connection refused [pulsar-helm-chart]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #295:
URL: https://github.com/apache/pulsar-helm-chart/issues/295#issuecomment-1944381563

   Fixed by #457 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org