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.

Error: Invalid URI

See original GitHub issue

Hello,

I get the following error message when I try to configure the meross plug “mss310”:

[4/12/2020, 11:25:27 AM] [Meross_device] Failed to POST to the Meross Plug: Error: Invalid URI "192.168.178.35/config"
    at Request.init (/usr/local/lib/node_modules/homebridge-meross/node_modules/request/request.js:273:31)
    at new Request (/usr/local/lib/node_modules/homebridge-meross/node_modules/request/request.js:127:8)
    at request (/usr/local/lib/node_modules/homebridge-meross/node_modules/request/index.js:53:10)
    at /usr/local/lib/node_modules/homebridge-meross/index.js:9:5
    at new Promise (<anonymous>)
    at doRequest (/usr/local/lib/node_modules/homebridge-meross/index.js:8:10)
    at MerossPlug.getOnCharacteristicHandler (/usr/local/lib/node_modules/homebridge-meross/index.js:175:24)
    at Characteristic.On.emit (events.js:310:20)
    at Characteristic.On.Characteristic.getValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Characteristic.js:164:10)
    at Bridge.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:771:20)

This is the configuration:

{
            "name": "Meross_device",
            "deviceUrl": "192.168.178.35",
            "hardwareVersion": 2,
            "channel": 0,
            "messageId": "242afa8372dd827e10ee53de77fdfc35",
            "timestamp": 1586678958,
            "sign": "40f1117a6bf82cae9757915ff8a9a564",
            "accessory": "Meross"
        }

I got the informations from the Charles ios app.

Thanks in advance!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:23

github_iconTop GitHub Comments

1reaction
arohlcommented, Apr 29, 2020

Done and can confirm works for me

On 29 Apr 2020, at 4:50 am, Donavan Becker <notifications@github.commailto:notifications@github.com> wrote:

Just released Version 1.1.0https://github.com/donavanbecker/homebridge-meross/releases/tag/v1.1.0, if you want to give it a try.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/donavanbecker/homebridge-meross/issues/20#issuecomment-620847234, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACTZWLHZWA4LGZTWZPS2PG3RO46QLANCNFSM4MGLCACQ.

1reaction
arohlcommented, Apr 20, 2020

Can confirm it works!

Once you have updated the repo, I just need to

sudo npm install -g --homebridge-meross

to get back on the release version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.JS Request - Invalid URI "/" - Stack Overflow
I'm using request in my app to send a POST request over HTTPS with Client Authentication. Request always throws an error Error: Invalid...
Read more >
Error: Invalid URI "/" · Issue #2318 · request/request - GitHub
This is occurring for me as well for some mysterious reason. I can see using the request object & options that there is...
Read more >
Invalid URI: - Common causes and quick fixes - Opster
A detailed guide on how to resolve errors related to "Invalid URI:"
Read more >
Invalid URI - Questions - n8n community
I'm getting an invalid uri error when using the http node. I'm populating the URL like this:
Read more >
Receiving error: Invalid URI: The hostname could not be parsed
Receiving error: Invalid URI: The hostname could not be parsed · Go to the Control Panel and open Internet Options · Click on...
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