Skip to content

Instantly share code, notes, and snippets.

View grigoryfedorov's full-sized avatar

Grigory Fedorov grigoryfedorov

View GitHub Profile
@grigoryfedorov
grigoryfedorov / main.dart
Last active May 6, 2018 19:19
You need: http: "^0.11.3+16"
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@grigoryfedorov
grigoryfedorov / main.dart
Created May 6, 2018 19:18
Требуется зависимость: http: "^0.11.3+16"
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:http/http.dart' as http;
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@grigoryfedorov
grigoryfedorov / 22017-04-12_10-53-14.txt
Created April 12, 2017 10:08
Xabber could not connect to openfire 4.1.3: Failure in SSL library
2017-04-12_11-38-22 D/org.jivesoftware.smack.tcp.XMPPTCPConnection﹕ Trying to establish TCP connection to /195.112.122.2 at port 5222
2017-04-12_11-38-22 D/org.jivesoftware.smack.tcp.XMPPTCPConnection﹕ Established TCP connection to /195.112.122.2 at port 5222
2017-04-12_11-38-22 D/Smack﹕ SENT (3): <stream:stream xmlns='jabber:client' to='195.112.122.2' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='username@195.112.122.2' xml:lang='en'>
2017-04-12_11-38-27 D/Smack﹕ RECV (3): <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="inetserver" id="8qoqp9b0wt" xml:lang="en" version="1.0">
2017-04-12_11-38-27 D/Smack﹕ RECV (3): <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>SCRAM-SHA-1</mechanism><mechanism>EXTERNAL</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>DIGEST-MD5</mechanism
----------- First connection is ok ---------------
2017-04-10_19-51-42 D/org.jivesoftware.smack.util.DNSUtil﹕ Resolved SRV RR for _xmpp-client._tcp.xabber.modum.by: jabber.modum.by:5220 prio:5:w:0
2017-04-10_19-51-42 D/org.jivesoftware.smack.tcp.XMPPTCPConnection﹕ Trying to establish TCP connection to jabber.modum.by./80.249.82.72 at port 5220
2017-04-10_19-51-42 D/org.jivesoftware.smack.tcp.XMPPTCPConnection﹕ Established TCP connection to jabber.modum.by./80.249.82.72 at port 5220
2017-04-10_19-51-42 D/Smack﹕ SENT (1): <stream:stream xmlns='jabber:client' to='xabber.modum.by' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='test@xabber.modum.by' xml:lang='en'>
2017-04-10_19-51-42 D/Smack﹕ RECV (1): <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='test@xabber.modum.by' from='xabber.modum.by' version='1.0' id='bowovqkmyu5s0lk7lxwjxcg9mcog7c6j037wusjs' xmlns:ack='http://www.xmpp.org/extensions/xep-0198.html#ns'>
2017-04-10_19-51-42
2017-04-07_13-06-06 D/org.jivesoftware.smack.tcp.XMPPTCPConnection﹕ Trying to establish TCP connection to /195.242.98.58 at port 5222
2017-04-07_13-06-07 D/org.jivesoftware.smack.tcp.XMPPTCPConnection﹕ Established TCP connection to /195.242.98.58 at port 5222
2017-04-07_13-06-07 D/Smack﹕ SENT (2): <stream:stream xmlns='jabber:client' to='jabber.no-sense.net' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='grigory.fedorov@jabber.no-sense.net' xml:lang='en'>
2017-04-07_13-06-07 D/Smack﹕ RECV (2): <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='grigory.fedorov@jabber.no-sense.net' from='jabber.no-sense.net' version='1.0' id='hql5m57isly85e774320wleedbz6zknha8nxeug6' xmlns:ack='http://www.xmpp.org/extensions/xep-0198.html#ns'>
2017-04-07_13-06-07 D/Smack﹕ RECV (2): <stream:features xmlns:stream='http://etherx.jabber.org/streams'><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls><address xmlns='http://affinix.co
04-06 11:48:15.417 D/de.measite.minidns.AbstractDNSClient: Asking /192.168.11.254 on 53 for _xmpp-client._tcp.dukgo.com. IN SRV with:
DNSMessage(45575 QUERY NO_ERROR query[qr=0] rd)
[Q: _xmpp-client._tcp.dukgo.com. IN SRV]
[X: EDNS: version: 0, flags:; udp: 1024]
04-06 11:48:15.495 D/de.measite.minidns.AbstractDNSClient: Response from /192.168.11.254 on 53 for _xmpp-client._tcp.dukgo.com. IN SRV:
DNSMessage(45575 QUERY NO_ERROR resp[qr=1] rd ra)
[Q: _xmpp-client._tcp.dukgo.com. IN SRV]
[A: _xmpp-client._tcp.dukgo.com. 223 IN SRV 0 5 5222 xmpp.dukgo.com.]
[N: . 68955 IN NS a.root-servers.net.]
@grigoryfedorov
grigoryfedorov / SCRAM-SHA-1 malformed-request prosody boese-ban.de
Last active November 27, 2017 17:33
SCRAM-SHA-1 malformed-request prosody boese-ban.de
SENT : <stream:stream xmlns='jabber:client' to='boese-ban.de' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='grigory.fedorov2@boese-ban.de' xml:lang='en'>
RECV : <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' from='boese-ban.de' id='80839c36-d1df-40e4-a8d2-94175930e899' version='1.0' xmlns='jabber:client'><stream:features><c hash='sha-1' ver='wBlvgkM1+mhpz81eJoge4hYoI0Q=' node='http://prosody.im' xmlns='http://jabber.org/protocol/caps'/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>
SENT : <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>
RECV : <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
SENT : <stream:stream xmlns='jabber:client' to='boese-ban.de' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='grigory.fedorov2@boese-ban.de' xml:lang='en'>
RECV : <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xml:lang='en' from='boese-
@grigoryfedorov
grigoryfedorov / 2017-01-16_15-28-41.txt]
Created January 16, 2017 10:34
Smack 4.2.0-rc2 long time reconnection on Android
2017-01-16_15-28-42 <<< Android LTE connected, screen is on >>>
2017-01-16_15-28-43 D/de.measite.minidns.AbstractDNSClient﹕ Asking /::1 on 53 for _xmpp-client._tcp.creep.im. IN SRV with:
DNSMessage(22913 QUERY NO_ERROR query[qr=0] rd)
[Q: _xmpp-client._tcp.creep.im. IN SRV]
[X: EDNS: version: 0, flags:; udp: 1024]
2017-01-16_15-28-48 D/de.measite.minidns.AbstractDNSClient﹕ IOException /::1 on 53 while resolving _xmpp-client._tcp.creep.im. IN SRV: de.measite.minidns.util.MultipleIoException: Receive timed out, Connection refused
2017-01-16_15-28-48 D/de.measite.minidns.AbstractDNSClient﹕ Asking /83.149.33.203 on 53 for _xmpp-client._tcp.creep.im. IN SRV with:
DNSMessage(22913 QUERY NO_ERROR query[qr=0] rd)
[Q: _xmpp-client._tcp.creep.im. IN SRV]
[X: EDNS: version: 0, flags:; udp: 1024]
@grigoryfedorov
grigoryfedorov / 2017-01-16_15-19-04.txt
Created January 16, 2017 10:30
Smack 4.2.0-rc2 long time reconnection on Android
2017-01-16_15-20-47 <<< Android LTE connected >>>
2017-01-16_15-20-50 D/de.measite.minidns.AbstractDNSClient﹕ Asking /::1 on 53 for _xmpp-client._tcp.creep.im. IN SRV with:
DNSMessage(12863 QUERY NO_ERROR query[qr=0] rd)
[Q: _xmpp-client._tcp.creep.im. IN SRV]
[X: EDNS: version: 0, flags:; udp: 1024]
2017-01-16_15-20-55 D/de.measite.minidns.AbstractDNSClient﹕ IOException /::1 on 53 while resolving _xmpp-client._tcp.creep.im. IN SRV: de.measite.minidns.util.MultipleIoException: Receive timed out, Connection refused
2017-01-16_15-20-55 D/de.measite.minidns.AbstractDNSClient﹕ Asking /83.149.33.203 on 53 for _xmpp-client._tcp.creep.im. IN SRV with:
DNSMessage(12863 QUERY NO_ERROR query[qr=0] rd)
[Q: _xmpp-client._tcp.creep.im. IN SRV]
[X: EDNS: version: 0, flags:; udp: 1024]