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 fails with The operation couldn’t be completed. (ProseCoreFFI.ClientError error 0.) #132

Open
neilalexander opened this issue Jun 7, 2023 · 6 comments

Comments

@neilalexander
Copy link

The username and password are fine and the log reports a successful login (as does another logged in client) but this error appears instead.

Xcode version 14.3.1 (14E300c)
macOS version 13.4 (22F66)
Git commit 1cbe0fd

Screenshot 2023-06-07 at 15 58 18
2023-06-07 15:57:51.672876+0100 Prose[33129:11883916] [ffi] Migrating database from version 3 to 3…
2023-06-07 15:57:51.673700+0100 Prose[33129:11883916] [ffi] Waiting for connection…
2023-06-07 15:57:51.673847+0100 Prose[33129:11883916] [ffi] Starting XMPP polling thread…
2023-06-07 15:57:51.677929+0100 Prose[33129:11883916] [ffi] Connecting to server via libstrophe…
2023-06-07 15:57:52.092961+0100 Prose[33129:11883916] [ffi] Established libstrophe connection after 414.98ms
2023-06-07 15:57:54.245722+0100 Prose[33129:11883955] [ffi] Connection established after 2.57s
Connected BareJid(node: Optional("xxx"), domain: "xxx.xxx")
2023-06-07 15:57:55.223661+0100 Prose[33129:11882949] [default] CGSWindowShmemCreateWithPort failed on port 0
@nesium
Copy link
Contributor

nesium commented Jun 12, 2023

Hey @neilalexander. Thanks for trying Prose. I'm finishing up another task ATM. I'll look into this issue afterwards and let you know.

@neilalexander
Copy link
Author

Please do let me know if I can provide any more information or test further!

@RemiBardon
Copy link
Member

Thank @neilalexander for trying the app!
I think your issue is the same as mine, reported in prose-im/prose-wrapper-swift#2 and #129.

You can try what @nesium proposed in #129 (comment), but I believe you already did seeing your log is more verbose than the one I had.

I didn't take the time to dig into the issue either, but I can try to reproduce if needed.

@RemiBardon
Copy link
Member

@neilalexander The issue was fixed, can you try logging in again using the latest commit on master?

@neilalexander
Copy link
Author

The ProseCoreFFI.ClientError is gone now, but replaced with a new error:

XMPP error: XMPPError { kind: Some(Cancel), text: Some("No module is handling this query"), status: Some(ServiceUnavailable) }

Should I be able to log in using a normal XMPP account?

@nesium
Copy link
Contributor

nesium commented Jun 15, 2023

Hey! Sorry for the confusion.

I'm assuming that you might be connecting against a server that doesn't support vCard4 Over XMPP (hence the error message).

We're not yet at a point where we have fallbacks in place when a server doesn't support certain protocol extensions. I guess we’ll have specific requirements for a server to work with the Prose client, especially since it needs to function in a workplace setting, but alas, we haven’t documented these yet. So this is all very early stages.

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

3 participants