Comments (11)
@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.
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.
@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.
@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.
@fPecc glad to hear it :) just ping me if there are problems :)
from node-red-contrib-mindconnect.
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".
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.
@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.
@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.
@sn0wcat
Even if I don't have or need proxy configured in my environment?
from node-red-contrib-mindconnect.
@EliasReuter did you manage to get the connectivity working, can we close this issue?
from node-red-contrib-mindconnect.
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)
- Mindsphere node V3.10.0 gives error in IOT2040 HOT 3
- Typo in the sample flow for IDL upload HOT 1
- feat: add message to read static and dynamic variable data from assets
- Installation error in linux HOT 1
- problems with docker image on raspberry pi
- Problems connecting to Mindsphere in Node-Red and Asset connections with more than 100 data point HOT 2
- feat: upgrade node to 2.0. version of node-red HOT 1
- Simatic IOT2040 lost connection
- DietPi 8.1.2, Node-red 2.2.2 HOT 3
- HTTP Status 500 Internal Error
- HTTP Status (500 Internal Error) HOT 2
- Don´t know how to see data received from node-red mindconnect in mindsphere. HOT 2
- feat: add BOOL validator to node.
- feat: add advanced settings to node with custom location for .mc files HOT 1
- IOT2050 - 4G - Network error : Socket hang up HOT 1
- feat: Add Metadata Tags when uploading files to Integrated Data Lake
- Error: EROFS: read-only file system, mkdir '//.mc/' HOT 2
- mindconnect not compatible with node version node:20.2.0-buster-slim
- Node.js Package: jsonwebtoken < 9.0.0 - Multiple Vulnerabilities
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 node-red-contrib-mindconnect.