Giter VIP home page Giter VIP logo

Comments (11)

sn0wcat avatar sn0wcat commented on August 26, 2024

@fPecc can you check if you can reach mindsphere from that PC using a browser? unfortunately that looks like a network connectivity issue and node-red or mindconnect node can't do much about it.

from node-red-contrib-mindconnect.

fPecc avatar fPecc commented on August 26, 2024

The NodeRed is installed behind a proxy, but all necessary environment variables to be able to reach Mindsphere were configured. Two configuration were added to npm using npm config set: https-proxy and proxy. Actually, if I type my tenants URL in a browser inside that machine, I am able to access the tenant.

I was looking at the troubleshooting guide and noticed that this could be related to a invalid date/time on the device. The computer where this NodeRed is installed is part of an Active Directory, and the entire Active Directory is synchronized via NTP with the Microsoft servers. Is this configuration OK, or should we synchronize to another specific NTP server?

from node-red-contrib-mindconnect.

sn0wcat avatar sn0wcat commented on August 26, 2024

@fPecc this is probably not the time on the device, but most probably your proxy settings. You need to have HTTP_PROXY variable set up correctly and that should happen before the node-red process is started. the error indicates that node process can't reach internet...

from node-red-contrib-mindconnect.

fPecc avatar fPecc commented on August 26, 2024

@sn0wcat Its strange that the communication has been working for a while now only using the npm proxy configs. But anyways, I configured both environment variables http_proxy and https_proxy and then opened a new command prompt and verified the configuration using:

echo %http_proxy%
echo %https_proxy%

The result of both commands was the expected configured proxy.
Then, I restarted the NodeRed.

I will be monitoring the communication today and give some feedback.

from node-red-contrib-mindconnect.

sn0wcat avatar sn0wcat commented on August 26, 2024

@fPecc glad to hear it :) just ping me if there are problems :)

from node-red-contrib-mindconnect.

EliasReuter avatar EliasReuter commented on August 26, 2024

Hi @sn0wcat

I'm having the same problem right now, but there is no proxy configured.
In order to test Internet Connection and if it's a network connectivity issue, I added a http request node (GET https://www.google.com) and the statusCode is "200".

image

What do you suggest us to try?

OS: Windows 10
NPM version: 6.14.11
Node version: 14.16.0
NodeRed version: 1.2.9
Mindconnect node version: 3.11.0

from node-red-contrib-mindconnect.

sn0wcat avatar sn0wcat commented on August 26, 2024

@EliasReuter if the device is in the same network configure the proxy the same way @fPecc did, this looks like network issue

from node-red-contrib-mindconnect.

sn0wcat avatar sn0wcat commented on August 26, 2024

@EliasReuter mindconnect node uses the HTTP_PROXY environment variable, it might be that http node can handle the system proxy settings but the node needs the variable explicitly set //cc @fPecc

from node-red-contrib-mindconnect.

EliasReuter avatar EliasReuter commented on August 26, 2024

@sn0wcat
Even if I don't have or need proxy configured in my environment?

from node-red-contrib-mindconnect.

sn0wcat avatar sn0wcat commented on August 26, 2024

@EliasReuter did you manage to get the connectivity working, can we close this issue?

from node-red-contrib-mindconnect.

EliasReuter avatar EliasReuter commented on August 26, 2024

Hi @sn0wcat
Yes. It was a customer's network configuration problem that caused this error in my case.
We can close this issue.

Thank you for the support!

from node-red-contrib-mindconnect.

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.