ellisvalentiner / steampipe-plugin-confluence

Use SQL to instantly query Confluence.
Apache License 2.0
8 stars 2 forks source link

error running plugin #59

Open shemreader opened 3 months ago

shemreader commented 3 months ago

Hi I am trying to use confluence and i am getting the following error. steampipe query "select * from confluence_content;" Error: rpc error: code = Internal desc = hydrate function listContent failed with panic runtime error: invalid memory address or nil pointer dereference (SQLSTATE HV000) +----+-------+-----------+--------+------+----------------+------+ | id | title | space_key | status | type | version_number | _ctx | +----+-------+-----------+--------+------+----------------+------+ +----+-------+-----------+--------+------+----------------+------+ any ideas why ?

Logs are attached

Thanks

plugin-2024-06-21.log steampipe-2024-06-21.log database-2024-06-21.log

ellisvalentiner commented 3 months ago

@shemreader thanks for the logs.

Does this also happen if you add a LIMIT to your query (e.g. SELECT * FROM confluence_content LIMIT 10;) or when you query for spaces (SELECT * FROM confluence_space;)?

shemreader commented 3 months ago

Hi

Unfortunately its the same result

steampipe query "select * from confluence_content limit 10;"

Error: rpc error: code = Internal desc = hydrate function listContent failed with panic runtime error: invalid memory address or nil pointer dereference (SQLSTATE HV000)

+----+-------+-----------+--------+------+----------------+------+ | id | title | space_key | status | type | version_number | _ctx | +----+-------+-----------+--------+------+----------------+------+ +----+-------+-----------+--------+------+----------------+------+

ellisvalentiner commented 3 months ago

I see this warning on line 52 of your Steampipe log:

2024-06-21 12:02:40.341 UTC [WARN]  steampipe [c66a]: Error waiting for notification: read tcp 127.0.0.1:56204->127.0.0.1:9193: use of closed network connection

This page suggests it may be due to two websockets connected to a singular address using the same port from the same machine. Do you have multiple Steampipe processes running, possible in the background?

shemreader commented 3 months ago

Hiw do i check it ?

On Fri, Jun 21, 2024, 23:11 Ellis Valentiner @.***> wrote:

I see this warning on line 52 of your Steampipe log:

2024-06-21 12:02:40.341 UTC [WARN] steampipe [c66a]: Error waiting for notification: read tcp 127.0.0.1:56204->127.0.0.1:9193: use of closed network connection

This https://stackoverflow.com/questions/59314363/read-tcp-addr-addr-use-of-closed-network-connection page suggests it may be due to two websockets connected to a singular address using the same port from the same machine. Do you have multiple Steampipe processes running, possible in the background?

— Reply to this email directly, view it on GitHub https://github.com/ellisvalentiner/steampipe-plugin-confluence/issues/59#issuecomment-2183388689, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHW564RU3G4HPPKD3EX3BDLZISCIXAVCNFSM6AAAAABJVYF3E6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTGM4DQNRYHE . You are receiving this because you were mentioned.Message ID: @.*** com>