Comments (10)
I provided a fix for #56 in #125, maybe this issue will be resolved by it as well.
from coap-cli.
Can you try to see if it works with #128?
from coap-cli.
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.
I release a new version tomorrow.
from coap-cli.
@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.
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.
Is it also working with the interface in the IPv6 address?
from coap-cli.
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.
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.
A new Version v0.9.0 is published.
from coap-cli.
Related Issues (20)
- Lead maintainer wanted HOT 11
- URI with encoded characters not supported HOT 1
- How do I send a parameter value? HOT 1
- Not working anymore after breaking changes in `commander` dependency?
- CLI does not exit since 0.11.0 HOT 5
- Numeric options are not encoded correctly
- Add option -H <headers> (for e.g. auth headers) HOT 4
- Observing more than one server HOT 2
- Remove CONTRIBUTORS.md and associated workflow? HOT 1
- support param HOT 1
- Echo adds newline to payload HOT 4
- Support DTLS Setup HOT 1
- Add CoAP Option in Request HOT 1
- Support coap options as hex HOT 1
- How to realized request with uri_query? HOT 1
- Tokens with 8 bit length HOT 3
- Problems with sending coap ipv6 messages in version 0.6.0+ HOT 4
- coaps (CoAP over DTLS) support as described in RFC 7252 section-9.1
- How set up GET command with proxy-uri option HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coap-cli.