-
Alex
I usually update memberlist after every voting in our website repo the same or on the next day. So Git should be the reference
-
Alex
But I am a human and can make mistakes 😉
-
flow
Alex, sure, no worries
-
Alex
flow: nur in mailman, müsste schauen ob es dort einen export gibt
-
gaurav
can anyone help me with this .https://stackoverflow.com/questions/61341657/ssl-tls-required-by-server-but-disabled-in-client
-
Daniel
Maybe ask the actual question instead of linking to it
-
Neustradamus
gaurav: TIme to change of XMPP client!
-
gaurav
I am building a chat application using smack and prosody xmpp server hosted on digital ocean so cuurently i am facing issue when i am logging in my app,but teh same credentials work on other popular xmpp clients. I have made my own cert,key and conf file in my server. I am getting the same error again and again
-
gaurav
getting this error 2020-04-21 16:03:40.988 15114-15153/ E/app1: SSL/TLS required by server but disabled in client 2020-04-21 16:03:40.992 15114-15178/ E/xmpp: cononection closed on errorSSL/TLS required by server but disabled in client
-
gaurav
I have tried all the solutions available changed the port,added my cert file as pem file but that didnt go through used a keystore but no luck.
-
gaurav
My code:
-
gaurav
AbstractXMPPConnection mConnection; ConnectionListener connectionListener = new ConnectionListener() { @Override public void connected(XMPPConnection xmppConnection) { Log.e("xmpp", "connected"); try { SASLAuthentication.registerSASLMechanism(new SASLMechanism() { @Override protected void authenticateInternal(CallbackHandler callbackHandler) throws SmackException { } @Override protected byte[] getAuthenticationText() throws SmackException { byte[] authcid = toBytes('\u0000' + this.authenticationId); byte[] passw = toBytes('\u0000' + this.password); return ByteUtils.concact(authcid, passw); } @Override public String getName() { return "PLAIN"; } @Override public int getPriority() { return 410; } @Override public void checkIfSuccessfulOrThrow() throws SmackException { } @Override protected SASLMechanism newInstance() { return this; } }); mConnection.login(); } catch (XMPPException e) { runOnUiThread(new Runnable() { @Override public void run() { Toast.makeText(SplashScreenActivity.this, "Incorrect username or password", Toast.LENGTH_LONG).show(); } }); Log.e("app",e.getMessage()); } catch (SmackException e) { Log.e("app",e.getMessage()); } catch (IOException e) { Log.e("app",e.getMessage()); } catch (InterruptedException e) { Log.e("app",e.getMessage()); } } @Override public void authenticated(XMPPConnection xmppConnection, boolean b) { Log.e("xmpp", "authenticated"); runOnUiThread(new Runnable() { @Override public void run() { Toast.makeText(SplashScreenActivity.this,"Logged in successfully...",Toast.LENGTH_LONG ).show(); } }); } @Override public void connectionClosed() { Log.e("xmpp", "connection closed"); } @Override public void connectionClosedOnError(Exception e) { Log.e("xmpp", "cononection closed on error" + e.getMessage()); } }; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_splash_screen);= new Connect().execute(""); } class Connect extends AsyncTask<String, Void, Void> { @Override protected Void doInBackground(String... params) { AndroidUsingLinkProperties.setup(getApplicationContext()); String HOST = "myip"; DomainBareJid serviceName = null; InetAddress addr = null; try { serviceName = JidCreate.domainBareFrom("myip"); addr = InetAddress.getByName(HOST); XMPPTCPConnectionConfiguration config = null; XMPPTCPConnectionConfiguration.Builder builder = XMPPTCPConnectionConfiguration.builder(); builder.setServiceName(serviceName) .setHost(HOST) .setHostAddress(addr) .setPort(5222) .setHostnameVerifier(new HostnameVerifier() { public boolean verify(String hostname, SSLSession session) { return true; } }) .setUsernameAndPassword("myusename", "qwerty123") .setSecurityMode(ConnectionConfiguration.SecurityMode.disabled); XMPPTCPConnection.setUseStreamManagementResumptiodDefault(true); XMPPTCPConnection.setUseStreamManagementDefault(true); config = builder.build(); mConnection = new XMPPTCPConnection(config); } catch (XmppStringprepException | UnknownHostException e) { e.printStackTrace(); } try { mConnection.setReplyTimeout(10000); mConnection.addConnectionListener(connectionListener); mConnection.connect(); } catch (SmackException e) { Log.e("app1",e.getMessage()); } catch (IOException e) { Log.e("app2",e.getMessage()); } catch (XMPPException e) { Log.e("app3",e.getMessage()); } catch (InterruptedException e) { Log.e("app4",e.getMessage()); } return null; } }
-
jonas’
gaurav, this is not a room for development support
-
jonas’
also, posting large snippets of code is generally frowned upon
- lovetox frowns at gaurav
-
gaurav
very sorry , but can anyone guide where can i find help on this .
-
jonas’
you are using smack, so maybe a smack support forum would be best
-
jonas’
I think that’s somewhere here: https://discourse.igniterealtime.org/
-
Neustradamus
gaurav: there is the jdev mucroom: xmpp:jdev@muc.xmpp.org?join and for ignite realtime projects: xmpp:open_chat@conference.igniterealtime.org?join
-
jonas’
I made a thing: https://observe.jabber.network/ Feedback and other requests welcome. also announced in more detail on the operators@ mailing list
-
Ge0rG
Nice how nobody complains about the "accept all certificates" part.
-
Jeybe
Sound nice jonas’✎ -
Jeybe
Sounds nice jonas’ ✏
-
jonas’
Ge0rG, I guess it’s irrelevant in the context of ConnectionConfiguration.SecurityMode.disabled
-
Guus
jonas’: sent you an account in a one-on-one message. Unsure if it arrived due to lack of preexisting subscription.
-
Ge0rG
gaurav: your code will result in a very insecure application where hackers can steal users' passwords and read and manipulate everything they write
-
gaurav
Ge0rG i am totally new to this , can you help me understand what i might be doing wrong .
-
Guus
Someone here that has access to the tigase.org server?
-
Guus
It and the igniterealtime.org server are not playing nice.
-
Maranda
Guus out of curiousity why does igniterealtime.org query the version of each server connecting? :)
-
Guus
Maranda: stats
-
southerntofu
hey folks, i just noticed there's 3rd party requests on https://xmpp.org to google and github, thought i'd let you know in case you'd like to do something about it :P
-
pep.
southerntofu, I think there's already an issue for this, and I've seen activity on it not so long ago
-
southerntofu
thanks pep. have a good day! :)
-
pep.
:)