Git Product home page Git Product logo

Comments (10)

JKRhb avatar JKRhb commented on June 30, 2024 1

I provided a fix for #56 in #125, maybe this issue will be resolved by it as well.

from coap-cli.

gerdemann avatar gerdemann commented on June 30, 2024 1

Can you try to see if it works with #128?

from coap-cli.

JKRhb avatar JKRhb commented on June 30, 2024 1

Can you try to see if it works with #128?

I tried it out (also see my comment in #128) and it seems to work :) Thanks for providing a fix for this!

from coap-cli.

gerdemann avatar gerdemann commented on June 30, 2024 1

I release a new version tomorrow.

from coap-cli.

gerdemann avatar gerdemann commented on June 30, 2024

@Citrullin I published a new version (0.8.0) with @JKRhb changes. Please test it again to see if the problem has been solved.

from coap-cli.

JKRhb avatar JKRhb commented on June 30, 2024

I just tried out the command @Citrullin posted and the error message at least has changed:

...\node_modules\coap-cli\index.js:62
let hostname = url.hostname
                   ^

TypeError: Cannot read property 'hostname' of undefined
    at Object.<anonymous> (...\node_modules\coap-cli\index.js:62:20)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
    at node:internal/main/run_main_module:17:47

I suppose the URL module has problems with parsing the interface part (%bt0) of the hostname.

from coap-cli.

gerdemann avatar gerdemann commented on June 30, 2024

Is it also working with the interface in the IPv6 address?

from coap-cli.

Citrullin avatar Citrullin commented on June 30, 2024

Can you try to see if it works with #128?

I tried it out (also see my comment in #128) and it seems to work :) Thanks for providing a fix for this!

You are a hero. Thanks. Didn't had time to try it out. 👍

from coap-cli.

JKRhb avatar JKRhb commented on June 30, 2024

Is it also working with the interface in the IPv6 address?

Yep, I just ran another test with a properly configured CoAP node :) Thank you very much for the fix, once more!

You are a hero. Thanks. Didn't had time to try it out. 👍

@Citrullin <3 You're welcome! :)

from coap-cli.

gerdemann avatar gerdemann commented on June 30, 2024

A new Version v0.9.0 is published.

from coap-cli.

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.