-
Notifications
You must be signed in to change notification settings - Fork 203
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
Keep getting "but no presentation is available. Ignoring." and no connection. #244
Comments
OK, stupid me I guess. The certs were correct, but I have used the ca.crt for the one node which didn't have the updated creds of the other node's certificate. For anyone having the same issue on the future, first sign all of the certificates to the authority and then copy the ca.crt at the end :) |
Scratch that, it worked once and then started having the same issue again. Two machines, one Linux the other Windows. The Linux machine is throwing the aforementioned error, the Windows machine does not. It doesn't make any sense at this point. |
I don't think the ca.crt is changed by signing new certs. The ca's private key is used to sign other certs, which means the resulting user cert is "only readable" through the ca's public key (aka the ca cert, aka everybody) which is okay since ONLY the CA could encrypt it with the private key, and its role is to tell everybody "I, the CA, signed his certificate, if you trust me, then trust him" ; concerning "but no presentation is available" it is located in /libs/fscp/src/server.cpp :
(and more possible errors behind that), which seems to come from :
Not sure what it does exactly, as I'm only below basic (at best) at C++, but it seems to me that it checks (.find)for a presentation stored in the map (m_presentation_store_map), with the index being the sender's "ep", passed by reference (with &); You have to keep following that lead to see WHY you get no presentation. Is it something you did in the settings, or something about the way you made the certificates, only someone involved in C or one of the contributors could tell you. |
I've found this part of the code-base too. Did follow the "official" guidelines on creating the CA certs as well as the configuration. I've even prepared a GUI tool for using Freelan (which I have now abandoned because of this), meaning I went to great lengths studying the configuration and whatnot, and tried numerous permutations to no avail. The main-contributors seem to have lost interest on the project unfortunately (happens, I know by personal experience), so I don't expect anything on that front. Anyway, thanks mate. |
Could be that the certs are "ok" (from the creation POV) while not being "ok" after check (validity ?). |
That is a very good point (and quite insightful) but I already had the same train of thought and did set them to 10 years as well as re-issued new certs on my tests. I had set a ten year duration on the configuration file, plus the certificates were showing a 10 year expiration date afterwards, |
Hi,
I keep getting a "but no presentation is available. Ignoring." message when establishing a connection which keeps repeating as shown above and no connectivity is established in between the nodes.
I have no other errors on the debug output. No server, just peers, certificates are correct.
Any ideas?
The text was updated successfully, but these errors were encountered: