Open docsa opened 6 years ago
Hi Alain,
Thanks for taking time to revert back with the issue. If possible can you upload the logs in the /logs that can be found in the dashuploader application folder (/resources/app).
The current implementation is via mDNS and I have seen cases in other apps where bounjour/zeroconf don't play well with the mdns nodejs library that I have used. But wouldn't jump to the conclusion now. I will go through the logs once you provide them and do an RCA
Hi Naresh,
Thanks for your answer. When I run DashUploader.exe, I get only this messages in debug.log : {"level":"debug","message":"devices found :: 0"} {"level":"debug","message":"devices found :: 0"}
However w, hen I install src (npm install && npm start) I get included logfile.
The RAKButton is responding at adress 192.168.0.32 :
[cid:image001.png@01D372FF.904E64C0]
Regards Alain De : Naresh Krish [mailto:notifications@github.com] Envoyé : mardi 12 décembre 2017 03:35 À : narioinc/DashUploader-app DashUploader-app@noreply.github.com Cc : Alain Couchot alain.couchot@docsa.fr; Author author@noreply.github.com Objet : Re: [narioinc/DashUploader-app] DashUploader does not see RAKButton (#1)
Hi Alain,
Thanks for taking time to revert back with the issue. If possible can you upload the logs in the /logs that can be found in the dashuploader application folder (/resources/app).
The current implementation is via mDNS and I have seen cases in other apps where bounjour/zeroconf don't play well with the mdns nodejs library that I have used. But wouldn't jump to the conclusion now. I will go through the logs once you provide them and do an RCA
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/narioinc/DashUploader-app/issues/1#issuecomment-350926116, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYHbyWrjCBXRd2OzXpNdj3WpfRk9c5LGks5s_eZQgaJpZM4Q8L1r.
I made a new try, I found this answer from DashButton in log , but DashUploader does not see it . {"level":"debug","message":"devices found :: 0"} {"level":"info","message":"{\"addresses\":[\"192.168.0.32\"],\"query\":[\"_services._dns-sd._udp.local\"],\"type\":[{\"name\" :\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":1,\"networkInterface\":\"Ethernet\"}"} {"level":"debug","message":"devices found :: 0"}
My configuration : Windows 10 Regards Alaiin
De : Alain Couchot Envoyé : mardi 12 décembre 2017 04:15 À : 'narioinc/DashUploader-app' reply@reply.github.com Objet : RE: [narioinc/DashUploader-app] DashUploader does not see RAKButton (#1)
Hi Naresh,
Thanks for your answer. When I run DashUploader.exe, I get only this messages in debug.log : {"level":"debug","message":"devices found :: 0"} {"level":"debug","message":"devices found :: 0"}
However w, hen I install src (npm install && npm start) I get included logfile.
The RAKButton is responding at adress 192.168.0.32 :
[cid:image001.png@01D37301.388ECAC0]
Regards Alain De : Naresh Krish [mailto:notifications@github.com] Envoyé : mardi 12 décembre 2017 03:35 À : narioinc/DashUploader-app DashUploader-app@noreply.github.com<mailto:DashUploader-app@noreply.github.com> Cc : Alain Couchot alain.couchot@docsa.fr<mailto:alain.couchot@docsa.fr>; Author author@noreply.github.com<mailto:author@noreply.github.com> Objet : Re: [narioinc/DashUploader-app] DashUploader does not see RAKButton (#1)
Hi Alain,
Thanks for taking time to revert back with the issue. If possible can you upload the logs in the /logs that can be found in the dashuploader application folder (/resources/app).
The current implementation is via mDNS and I have seen cases in other apps where bounjour/zeroconf don't play well with the mdns nodejs library that I have used. But wouldn't jump to the conclusion now. I will go through the logs once you provide them and do an RCA
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/narioinc/DashUploader-app/issues/1#issuecomment-350926116, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYHbyWrjCBXRd2OzXpNdj3WpfRk9c5LGks5s_eZQgaJpZM4Q8L1r.
Hi Alain
Debugging a bit from my end. Will revert back in a few minutes :)
Hi Alain
I just tested from my end and stangely i am getting the same JSON output for the mdns discovery query. Ideally a discovery should result in a data json that has the host details as ameba.local for an Ameba boards. I was testing this to discover ameba boards in particular and show up as a device in the app.
Currently this doesnt seem to work as expected. Will research more into this and resolve as soon as possible.
Alain
Could you pls give me an idea of your network setup; i.e. is the windows desktop and rak611 connected via the same wifi ? and also can you disable bonjour services and retry.
PC and RAkbutton are on the same network, but as you can see I live i, a connected house ! Il’l try in a « desert » and send you a log…
Breaking news : il run uploader on a mac in the same network, it can see the Button :
{"level":"info","message":"{\"addresses\":[\"192.168.0.31\"],\"query\":[],\"type\":[{\"name\":\"hap\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"http\",\"protocol\":\"tcp\",\"subtypes\":[],\"description\":\"Web Site\"},{\"name\":\"coap\",\"protocol\":\"udp\",\"subtypes\":[]},{\"name\":\"sleep-proxy\",\"protocol\":\"udp\",\"subtypes\":[]},{\"name\":\"print-caps\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"pdl-datastream\",\"protocol\":\"tcp\",\"subtypes\":[],\"description\":\"PDL Printer\"},{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"ipps\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"apple-mobdev2\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"apple-mobdev2\",\"protocol\":\"tcp\",\"subtypes\":[\"\"]},{\"name\":\"ipp\",\"protocol\":\"tcp\",\"subtypes\":[],\"description\":\"Internet Printer\"},{\"name\":\"printer\",\"protocol\":\"tcp\",\"subtypes\":[],\"description\":\"UNIX Printer\"},{\"name\":\"http-alt\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.32\"],\"query\":[\"_services._dns-sd._udp.local\"],\"type\":[{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":1,\"networkInterface\":\"en5\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.32\"],\"query\":[\"_services._dns-sd._udp.local\"],\"type\":[{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":0,\"networkInterface\":\"en0\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.27\"],\"query\":[],\"type\":[{\"name\":\"apple-mobdev2\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.27\"],\"query\":[],\"txt\":[\"\"],\"type\":[{\"name\":\"apple-mobdev2\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"port\":32498,\"fullname\":\"40:98:ad:ac:3e:3d@fe80::4298:adff:feac:3e3d._apple-mobdev2._tcp.local\",\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.27\"],\"query\":[\"_hap._tcp.local\",\"_homekit._tcp.local\",\"_sleep-proxy._udp.local\"],\"type\":[{\"name\":\"hap\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"sleep-proxy\",\"protocol\":\"udp\",\"subtypes\":[]}],\"host\":\"CoucalPhone.local\",\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.27\"],\"query\":[],\"type\":[{\"name\":\"apple-mobdev2\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.27\"],\"query\":[],\"txt\":[\"\"],\"type\":[{\"name\":\"apple-mobdev2\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"port\":32498,\"fullname\":\"40:98:ad:ac:3e:3d@fe80::4298:adff:feac:3e3d._apple-mobdev2._tcp.local\",\"host\":\"CoucalPhone.local\",\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.27\"],\"query\":[\"_hap._tcp.local\",\"_homekit._tcp.local\",\"_sleep-proxy._udp.local\"],\"type\":[{\"name\":\"hap\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"sleep-proxy\",\"protocol\":\"udp\",\"subtypes\":[]}],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.27\"],\"query\":[],\"type\":[{\"name\":\"apple-mobdev2\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.32\"],\"query\":[],\"port\":5000,\"fullname\":\"RakButton-5000._arduino._tcp.local\",\"txt\":[\"board=ameba_rtl8195a\",\"auth_upload=no\",\"tcp_check=no\",\"ssh_upload=no\"],\"type\":[{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.32\"],\"query\":[],\"port\":5000,\"fullname\":\"RakButton-5000._arduino._tcp.local\",\"txt\":[\"board=ameba_rtl8195a\",\"auth_upload=no\",\"tcp_check=no\",\"ssh_upload=no\"],\"type\":[{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"host\":\"ameba.local\",\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.32\"],\"query\":[],\"port\":5000,\"fullname\":\"RakButton-5000._arduino._tcp.local\",\"txt\":[\"board=ameba_rtl8195a\",\"auth_upload=no\",\"tcp_check=no\",\"ssh_upload=no\"],\"type\":[{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.32\"],\"query\":[],\"host\":\"ameba.local\",\"type\":[{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]},{\"name\":\"arduino\",\"protocol\":\"tcp\",\"subtypes\":[]}],\"port\":5000,\"fullname\":\"RakButton-5000._arduino._tcp.local\",\"txt\":[\"board=ameba_rtl8195a\",\"auth_upload=no\",\"tcp_check=no\",\"ssh_upload=no\"],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"/Users/couchot/workspace/DashUploader-app/src is the app path"} {"level":"info","message":"User requests device selection window"} {"level":"info","message":"Launch select devices window[{\"ip\":\"192.168.0.32\",\"port\":5000}]"} {"level":"info","message":"User selected :: 0"} {"level":"info","message":"{\"addresses\":[\"169.254.100.146\"],\"query\":[],\"type\":[{\"name\":\"coap\",\"protocol\":\"udp\",\"subtypes\":[]}],\"txt\":[\"version=1.2.42\"],\"port\":5684,\"fullname\":\"gw-b8d7af2a9d2d._coap._udp.local\",\"host\":\"TRADFRI-Gateway-b8d7af2a9d2d.local\",\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"{\"addresses\":[\"192.168.0.18\"],\"query\":[\"_coap._udp.local\"],\"type\":[{\"name\":\"coap\",\"protocol\":\"udp\",\"subtypes\":[]}],\"interfaceIndex\":2,\"networkInterface\":\"pseudo multicast\"}"} {"level":"info","message":"User selected devices ::: 1"} {"level":"info","message":"1 device(s) ready for firmware upload procedure."} {"level":"info","message":"Number of device ready for new firmware provisioning :: 1"}
Regards Alain
De : Naresh Krish [mailto:notifications@github.com] Envoyé : mardi 12 décembre 2017 17:10 À : narioinc/DashUploader-app DashUploader-app@noreply.github.com Cc : Alain Couchot alain.couchot@docsa.fr; Author author@noreply.github.com Objet : Re: [narioinc/DashUploader-app] DashUploader does not see RAKButton (#1)
Alain
Could you pls give me an idea of your network setup; i.e. is the windows desktop and rak611 connected via wifi and also can you disable bonjour services and retry.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/narioinc/DashUploader-app/issues/1#issuecomment-351099154, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYHbyU9f-Hu9zAIiQufnqgDq5h7AuByoks5s_qVugaJpZM4Q8L1r.
Hi alain
This is great, Happy to know that on the mac, the tool is working as expected. I tried it on my ubuntu system and it works without issues. However i need to definitely have a look at the windows issue. I am also running windows 10 and even though i had developed this tool primarily on windows 10, i am seeing that the mdns library is not integrated as expected
I will be working closely on the windows issue and maybe ask some of my friends to help me get a mac build out as well for the app.
Alain, could you confirm if your able to upload firmware to the boards once the board is successfully discovered ?
I downloaded the Arduino sketch in Rak611 device. When I use Arduino, i can see network port on Rakbutton but when I start DashUploader no device is found. (I am running Windows 10 with firewall disabled and Bonjour service installed)
Regards Alain