|
@@ -41,6 +41,23 @@ with(IrcClientImpl(Server("my.server.com", 6667), Profile("nick", "realName", "u
|
41
|
41
|
}
|
42
|
42
|
```
|
43
|
43
|
|
|
44
|
+## Known issues / FAQ
|
|
45
|
+
|
|
46
|
+### `java.lang.IllegalStateException: Check failed` when connecting to some servers
|
|
47
|
+
|
|
48
|
+This happens when the IRC server requests an optional client certificate (for use
|
|
49
|
+in SASL auth, usually). At present there is no support for client certificates in
|
|
50
|
+the networking library used by KtIrc. This is tracked upstream in
|
|
51
|
+[ktor#641](https://github.com/ktorio/ktor/issues/641). There is no workaround
|
|
52
|
+other than using an insecure connection.
|
|
53
|
+
|
|
54
|
+### KtIrc connects over IPv4 even when host has IPv6
|
|
55
|
+
|
|
56
|
+This is an issue with the Java standard library. You can change its behaviour by
|
|
57
|
+defining the system property `java.net.preferIPv6Addresses` to `true`, e.g. by
|
|
58
|
+running Java with `-Djava.net.preferIPv6Addresses=true` or calling
|
|
59
|
+`System.setProperty("java.net.preferIPv6Addresses","true");` in code.
|
|
60
|
+
|
44
|
61
|
## Contributing
|
45
|
62
|
|
46
|
63
|
Contributing is welcomed and encouraged! Please try to add unit tests for new features,
|