Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http request / html node does not work after upgrading to v2.0 #3079

Closed
taaning opened this issue Jul 22, 2021 · 0 comments
Closed

http request / html node does not work after upgrading to v2.0 #3079

taaning opened this issue Jul 22, 2021 · 0 comments

Comments

@taaning
Copy link

taaning commented Jul 22, 2021

Current Behavior

The flow should return Sunset and sunrise data, scraped from https://www.solnedgangidag.dk/silkeborg, but returns nothing.

Link to forum post.
https://discourse.nodered.org/t/http-request-node-not-working-after-update-to-v2-0-1/48713/3?u=thansen

Expected Behavior

In Version 1.3.5 the flow was returning Sunset and sunrise data

Steps To Reproduce

Press the inject node

Example flow

[{"id":"87e2dfe141b3f4f7","type":"tab","label":"Sunrice/set Debug","disabled":false,"info":""},{"id":"1761511da4cc7d8f","type":"inject","z":"87e2dfe141b3f4f7","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"300","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":190,"y":240,"wires":[["4383dd2443230f68"]]},{"id":"4383dd2443230f68","type":"http request","z":"87e2dfe141b3f4f7","name":"Sol OP/NED","method":"GET","ret":"txt","paytoqs":"ignore","url":"https://www.solnedgangidag.dk/silkeborg","tls":"","persist":false,"proxy":"","authType":"","x":400,"y":240,"wires":[["757bdf641892a73c","0dd3427a481fe1c9"]]},{"id":"757bdf641892a73c","type":"html","z":"87e2dfe141b3f4f7","name":"Op","property":"payload","outproperty":"payload","tag":"body > div:nth-child(2) > div.well.visual > div > div:nth-child(1) > h3 > span","ret":"html","as":"multi","x":580,"y":220,"wires":[["a48cb98de943d018"]]},{"id":"0dd3427a481fe1c9","type":"html","z":"87e2dfe141b3f4f7","name":"Ned","property":"payload","outproperty":"payload","tag":"body > div:nth-child(2) > div.well.visual > div > div:nth-child(2) > h3 > span","ret":"html","as":"multi","x":580,"y":260,"wires":[["37f0f98cbc06f22a"]]},{"id":"a48cb98de943d018","type":"function","z":"87e2dfe141b3f4f7","name":"","func":"global.set ('sol_op',msg.payload);\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":750,"y":220,"wires":[[]]},{"id":"37f0f98cbc06f22a","type":"function","z":"87e2dfe141b3f4f7","name":"","func":"global.set ('sol_ned',msg.payload);\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":750,"y":260,"wires":[[]]}]

Environment

  • Node-RED version: v2.0.2
  • Node.js version: v12.22.2
  • npm version: ??
  • Platform/OS: Raspberry Pi 4 / Raspbian V10 (buster)
  • Browser: Chrome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant