Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login failed #39

Open
klementszabolcs opened this issue Jan 26, 2023 · 4 comments
Open

login failed #39

klementszabolcs opened this issue Jan 26, 2023 · 4 comments

Comments

@klementszabolcs
Copy link

with large number of connection it is sometimes happening "handshake error" in rabbit log.
In postgresql log was the "login failed on broker 1" message.
I have changed the libamqp to 0.10.0, and in p
g_amqp.c, because some function call have changed in libamqp.
The connection error have disappeared, and the size of so file became cca1/2.
pg_amqp.txt

@altair86
Copy link

@klementszabolcs
Can you upload the source code or fork please?

@klementszabolcs
Copy link
Author

this work on rockylinux9:
wget https://github.com/alanxz/rabbitmq-c/archive/refs/tags/v0.14.0.zip
unzip v0.14.0.zip
cd rabbitmq-c.0.14.0
mkdir build (ha nincs)
cd build
cmake ..
cmake --build . --target install

cd ../..
rm src/librabbitmq/*
cp ../rabbitmq-c-0.10.0/librabbitmq/.h src/librabbitmq
cp ../rabbitmq-c-0.10.0/include/
.h src/librabbitmq
cp ../rabbitmq-c-0.10.0/build/librabbitmq/CMakeFiles/rabbitmq.dir/*.o src/librabbitmq
cp (the attached makefile and pg_amqp.c)

@klementszabolcs
Copy link
Author

ujlib3.zip

@klementszabolcs
Copy link
Author

i think this is in the top 10 most major/useful extension for pg, because very fast, and transactional, and with this it is possible make event base asynchronous communications between databases. For my own part, the absolute cool language for consumer is the crystal lang. The only alternative is the multicorn extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants