Giter Site home page Giter Site logo

Comments (3)

djammy33 avatar djammy33 commented on April 19, 2024

Can you check the following

Press the Windows Key
Search For Internet Options
Click on "Internet Options"
Click On "Connection"
Go to LAN Settings
Is there a checkmark in "Use Proxy Server for LAN" ? If so, try unchecking it

from eattheblocks.

johndoe75 avatar johndoe75 commented on April 19, 2024

I've tripple checked my network settings: no proxy setup (MacOS).

Also I've tried to run the code on two different hosted Linux server at different hoster as well – outside my network (Node v10.19.0) to exclude any issues with my network. Same result.

I've also stopped my local firewall (Little Snitch) to exclude this interfering with the WebSocket (never had that before, but well …)

Add: sometimes the error changes:

events.js:353
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:209:20)
Emitted 'error' event on WebSocket instance at:
    at ClientRequest.<anonymous> (/Users/alex/Development/crypto/sniper-bot/node_modules/ws/lib/websocket.js:555:15)
    at ClientRequest.emit (events.js:376:20)
    at TLSSocket.socketErrorListener (_http_client.js:475:9)
    at TLSSocket.emit (events.js:376:20)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -54,
  code: 'ECONNRESET',
  syscall: 'read'
}

Upgrading ethers to the latest 5.1.4 did not change anything. Also manually upgrading ws-package to latest 7.4.5 did not help.

from eattheblocks.

johndoe75 avatar johndoe75 commented on April 19, 2024

First wasn't working this morning, then suddenly it worked. I suspect the issue to be on side of Ankr.

from eattheblocks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.