Comments (12)
You should get more info than that in the debug mode, full request/response.
from console.
the debug does not provide much more information:
{
"id": "0a9cc59c-2857-451e-a488-f5cc09cab0e1",
"name": "foxtrackr",
"status": "error"
}
{}
the request (URL and body content looks good, content-type is ok) but the console report error as seen.
On my backend server, I see no incoming request from the console server.
Any other traces ?
from console.
getting more in the router log (was thinking is was a console job to manage the integration)
[2021-03-23 13:29:53.429] <0.4155.0> [info] [c563e843-dc17-4fc2-9268-33aa4593b3b0] [router_http_channel:check_url:144] got bad dns record "xxxxxx" {notimp,{dns_rec,{dns_header,4,true,query,false,false,true,true,false,4},[{dns_query,"xxxx",a,any}],[],[],[]}}
From the inside of the container I'm able to ping the target and also to curl the target, so it sounds being an issue inside the router
from console.
Sadly, I could not reproduce in any of our servers or locally.
You could run this:
docker exec -it helium_router _build/default/rel/router/bin/router remote_console
inet_res:resolve("XXX", any, a).
XXX
being the url without http(s)
and path (ex: https://google.com/maps
-> google.com
)
I would also take a look at your DNS setup on your server.
from console.
Here is the result
([email protected])1> inet_res:resolve("www.google.com",any,a)
([email protected])1> inet_res:resolve(www.google.com,any,a)
([email protected])1> inet_res:resolve(helium.com,any,a)
From inside the container:
root@2f929337f7cf:/opt/router# ping www.google.com
PING www.google.com (172.217.19.228) 56(84) bytes of data.
64 bytes from par21s11-in-f4.1e100.net (172.217.19.228): icmp_seq=1 ttl=108 time=13.3 ms
from console.
I would like to see the result with your HTTP integration's URL
from console.
FYI: we have an option https://github.com/helium/router/blob/master/src/channels/router_http_channel.erl#L105 to turn off the url check. It is not exposed via env variables but can be added here https://github.com/helium/router/blob/master/config/sys.config.src#L32
from console.
Command update
inet_res:resolve("xxx.com",any,a).
{error,{notimp,{dns_rec,{dns_header,82,true,query,false,
false,true,true,false,4},
[{dns_query,"xxx.com",a,any}],
[],[],[]}}}
of with google
inet_res:resolve("www.google.com",any,a).
{error,{notimp,{dns_rec,{dns_header,96,true,query,false,
false,true,true,false,4},
[{dns_query,"www.google.com",a,any}],
[],[],[]}}}
from console.
What DNS resolver do you have configured for this system? does the 'dig' command work?
from console.
dig is not part of the router container but as described above :
From inside the container:
root@2f929337f7cf:/opt/router# ping www.google.com
PING www.google.com (172.217.19.228) 56(84) bytes of data.
64 bytes from par21s11-in-f4.1e100.net (172.217.19.228): icmp_seq=1 ttl=108 time=13.3 ms
from console.
ability to disabled that check exposed here helium/router#260
from console.
Tested working with the DNS check deactivation
from console.
Related Issues (20)
- Improvement - Ability to search and scroll through labels HOT 1
- MQTT integration missing 'retain' flag and QoS setting
- public api endpoint for packet configs HOT 1
- Feature Request: Add MQTT Integration with TLS support HOT 3
- bug while changing device labels over the api HOT 1
- Invalid MQTT URI for MQTT Endpoint containing special characters
- Default JSON Template for HTTP integrations missing hotspots and dc objects
- MQTT integration randomly disconnects HOT 2
- Feature Request: Need ability to set DEVICE/LABEL ALERT SETTINGS timer longer
- EU868 channel mask ack message
- qqoq
- Hotpots not showing up in HOT 2
- Sensor data stopped showing up on console on 12/16 HOT 3
- bug on cayenne lpp function
- Issue Report: Community Hotspot Processing Data from Incorrect Region
- The Helium Non-VIP Dev Console stopped processing or displaying sensor data packets as at 5.41am AEST. HOT 4
- Device not getting uplink data after getting join accept.
- Data packet transfer is not using preferred Hotspot HOT 1
- Console gets success for integration message but nothing in debug information and broker gets no message
- Aggressive ADR from Helium
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 console.