question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection timed out

See original GitHub issue

Using version 2.1

package com.nekiak.whatsapp;

import it.auties.whatsapp4j.api.WhatsappAPI;

public class Bot {
    public static void main(String... args) {
        var api = new WhatsappAPI();
        api.connect();
    }
}

and getting:

Exception in thread "main" java.io.IOException: UT003035: Connection timed out at io.undertow.websockets.jsr.ServerWebSocketContainer.connectToServerInternal(ServerWebSocketContainer.java:511) at io.undertow.websockets.jsr.ServerWebSocketContainer.connectToServerInternal(ServerWebSocketContainer.java:492) at io.undertow.websockets.jsr.ServerWebSocketContainer.connectToServer(ServerWebSocketContainer.java:226) at it.auties.whatsapp4j.socket.WhatsappWebSocket.openConnection(WhatsappWebSocket.java:210) at it.auties.whatsapp4j.socket.WhatsappWebSocket.connect(WhatsappWebSocket.java:194) at it.auties.whatsapp4j.api.WhatsappAPI.connect(WhatsappAPI.java:89) at com.nekiak.whatsapp.Bot.main(Bot.java:8)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Auties00commented, Jul 7, 2021

I’m working on a dependency for this project, once it’s done the issue will be fixed. Sorry for the delay

0reactions
nekiakcommented, Jul 8, 2021

@DevOFVictory @nekiak A new version(2.1.1) is now available, the issue should be fixed, let me know if I can close the issue

Yeah, just tested it. Seems to be working just fine. Closing this…

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] How to Fix the ERR_CONNECTION_TIMED_OUT ...
An 'err connection timed out' error is something that can be easily fixed by updating your system's network adapter driver. We recommend using ......
Read more >
How to Fix the ERR_CONNECTION_TIMED_OUT Error - Kinsta
According to the WordPress support documentation, a connection timed out error appears when your website is trying to do more than your ...
Read more >
What Does a Server Connection Timeout Mean?
A server connection timeout means that a server is taking too long to reply to a data request made from another device. Timeouts...
Read more >
11 Ways to Fix the ERR_CONNECTION_TIMED_OUT Error
The connection timed out error isn't a dangerous error, nor is it an infected file that can harm your computer.
Read more >
Resolve "Connection refused" or "Connection timed out ...
Error message: "ssh: connect to host ec2-X-X-X-X.compute-1.amazonaws.com port 22: Connection timed out". This error message comes from the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found