Help a noob with 'No UPnP device detected'

Hi everyone,

I am a total noob when it comes to diagnosing network related issues, so please have a bit of patience :smile:

I have a work computer (Win 7) and a home computer (osx 10.9.5) that I want to sync them. I added the devices and made a ‘test’ folder as per the ‘getting-started.pdf’

I restarted both systems and what I get is a ‘No UPnP device detected’ even though both devices are online. I have attached the Terminal message I get. I removed the device ID’s and replaced them with ‘xxx’ and ‘yyy’

[monitor] 09:06:25 INFO: Starting syncthing
[3PF6F] 09:06:26 INFO: syncthing v0.11.3 (go1.4.2 darwin-amd64 default) unknown-user@syncthing-builder 2015-05-10 12:59:12 UTC
[3PF6F] 09:06:26 INFO: My ID: xxx
[3PF6F] 09:06:26 INFO: Database block cache capacity 32768 KiB
[3PF6F] 09:06:26 INFO: Starting web GUI on http://127.0.0.1:8384/
[3PF6F] 09:06:26 INFO: Starting local discovery announcements
[3PF6F] 09:06:26 INFO: Starting global discovery announcements
[3PF6F] 09:06:26 OK: Ready to synchronize default (read-write)
[3PF6F] 09:06:26 INFO: Device xxx is "work" at [dynamic]
[3PF6F] 09:06:26 INFO: Device yyy is "noris-MacBook-Pro.local" at [dynamic]
[3PF6F] 09:06:26 INFO: Completed initial scan (rw) of folder default
[3PF6F] 09:06:26 INFO: UPnP parse: unrecognized UPnP device of type uuid:08F7BD72-0E32-1E81-10BB-28107BCFBDDF
[3PF6F] 09:06:26 INFO: [http://192.168.0.1:49152/InternetGatewayDevice.xml] Malformed InternetGatewayDevice description: no WANDevices specified.
[3PF6F] 09:06:26 INFO: UPnP parse: [http://192.168.0.1:49152/InternetGatewayDevice.xml] Malformed device description: no compatible service descriptions found.
[3PF6F] 09:06:36 INFO: No UPnP device detected

I have logged into my home router (Dlink D300) and enabled UPnP. I am not able to do that on my work computer as its at a University.

Anyone have any advice on how to troubleshoot and fix this?

Thanks.

edit: i did manage to get my Samsung S3 to sync with my mac at home. YaY!

Looks like the router is answering something we don’t understand. Can you run syncthing as STTRACE=upnp syncthing and post the log, either here or in a Github issue?

please forgive my stupid question.

But how do i run STTRACE=upnp syncthing I opened Terminal cd to syncthing directory and typed the command but nothing showed up.

I also tried syncthing STTRACE=upnp syncthing

calmh posted the command, it’s STTRACE=upnp syncthing

Hey there,

sorry my copy paste was wrong. this is what i get when i open a new terminal in the syncthing folder and type the command

noris-MacBook-Pro:syncthing-macosx-amd64-v0.11.3 nori$ STTRACE=upnp syncthing
-bash: syncthing: command not found

I assume I am doing this incorrectly.

Off topic but Syncthing started working now between my work and home computers. Not sure what happened but everything seems to be working.

Although it would be good for me to know how to send commands to syncthing.

Try STTRACE=upnp ./syncthing if you are in the directory where syncthing binary is.

@AudriusButkevicius THanks so much! that command works.

@calmh Syncthing just started working and I am syncing my work with home but here is the log as you requested (in case it can help)

Last login: Mon May 11 11:38:10 on ttys001
noris-MacBook-Pro:syncthing-macosx-amd64-v0.11.3 nori$ STTRACE=upnp ./syncthing
[monitor] 2015/05/11 11:38:52.226901 monitor.go:94: INFO: Starting syncthing
[3PF6F] 2015/05/11 11:38:52.615339 main.go:466: INFO: syncthing v0.11.3 (go1.4.2 darwin-amd64 default) unknown-user@syncthing-builder 2015-05-10 12:59:12 UTC
[3PF6F] 2015/05/11 11:38:52.615504 main.go:467: INFO: My ID: xxx
[3PF6F] 2015/05/11 11:38:52.619675 main.go:738: INFO: Database block cache capacity 32768 KiB
[3PF6F] 2015/05/11 11:38:52.648531 main.go:793: INFO: Starting web GUI on http://127.0.0.1:8384/
[3PF6F] 2015/05/11 11:38:53.735741 main.go:868: INFO: Starting local discovery announcements
[3PF6F] 2015/05/11 11:38:53.736997 main.go:873: INFO: Starting global discovery announcements
[3PF6F] 2015/05/11 11:38:53.737351 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on lo0
[3PF6F] 2015/05/11 11:38:53.737551 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on lo0
[3PF6F] 2015/05/11 11:38:53.737605 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on lo0
[3PF6F] 2015/05/11 11:38:53.737640 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on lo0
[3PF6F] 2015/05/11 11:38:53.737662 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on tun0
[3PF6F] 2015/05/11 11:38:53.737747 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on en0
[3PF6F] 2015/05/11 11:38:53.737776 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on lo0
[3PF6F] 2015/05/11 11:38:53.737811 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on tun0
[3PF6F] 2015/05/11 11:38:53.737846 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on en0
[3PF6F] 2015/05/11 11:38:53.737869 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on en0
[3PF6F] 2015/05/11 11:38:53.737918 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on en0
[3PF6F] 2015/05/11 11:38:53.737949 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on vnic0
[3PF6F] 2015/05/11 11:38:53.737962 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on en0
[3PF6F] 2015/05/11 11:38:53.737979 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on en2
[3PF6F] 2015/05/11 11:38:53.738012 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on en0
[3PF6F] 2015/05/11 11:38:53.738050 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on vnic0
[3PF6F] 2015/05/11 11:38:53.738071 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on p2p0
[3PF6F] 2015/05/11 11:38:53.738104 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on vnic0
[3PF6F] 2015/05/11 11:38:53.738153 upnp.go:177: DEBUG: listen udp4 239.255.255.250: setsockopt: no such network interface
[3PF6F] 2015/05/11 11:38:53.738168 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on en2
[3PF6F] 2015/05/11 11:38:53.738185 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on vnic1
[3PF6F] 2015/05/11 11:38:53.738214 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on vnic1
[3PF6F] 2015/05/11 11:38:53.738246 upnp.go:177: DEBUG: listen udp4 239.255.255.250: setsockopt: no such network interface
[3PF6F] 2015/05/11 11:38:53.738259 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on tun0
[3PF6F] 2015/05/11 11:38:53.738300 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on tun0
[3PF6F] 2015/05/11 11:38:53.738322 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on vnic1
[3PF6F] 2015/05/11 11:38:53.738339 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on vnic0
[3PF6F] 2015/05/11 11:38:53.738355 main.go:646: OK: Ready to synchronize default (read-write)
[3PF6F] 2015/05/11 11:38:53.738443 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on vnic0
[3PF6F] 2015/05/11 11:38:53.738478 upnp.go:171: DEBUG: Starting discovery of device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on p2p0
[3PF6F] 2015/05/11 11:38:53.738491 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on vnic0
[3PF6F] 2015/05/11 11:38:53.738519 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on vnic1
[3PF6F] 2015/05/11 11:38:53.738572 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on vnic1
[3PF6F] 2015/05/11 11:38:53.738600 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on vnic1
[3PF6F] 2015/05/11 11:38:53.738626 main.go:646: OK: Ready to synchronize work_data (read-write)
[3PF6F] 2015/05/11 11:38:53.738662 main.go:646: OK: Ready to synchronize work_test (read-write)
[3PF6F] 2015/05/11 11:38:53.738838 main.go:662: INFO: Device yyy is "work" at [dynamic]
[3PF6F] 2015/05/11 11:38:53.738968 main.go:662: INFO: Device xxx is "noris-MacBook-Pro.local" at [dynamic]
[3PF6F] 2015/05/11 11:38:53.739068 upnp.go:190: DEBUG: Sending search request for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on tun0
[3PF6F] 2015/05/11 11:38:53.739125 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on tun0
[3PF6F] 2015/05/11 11:38:53.739142 upnp.go:200: DEBUG: Listening for UPnP response for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on lo0
[3PF6F] 2015/05/11 11:38:53.739168 upnp.go:177: DEBUG: listen udp4 239.255.255.250: setsockopt: no such network interface
[3PF6F] 2015/05/11 11:38:53.739184 upnp.go:177: DEBUG: listen udp4 239.255.255.250: setsockopt: no such network interface
[3PF6F] 2015/05/11 11:38:53.740042 rwfolder.go:275: INFO: Completed initial scan (rw) of folder default
[3PF6F] 2015/05/11 11:38:53.740343 rwfolder.go:275: INFO: Completed initial scan (rw) of folder work_test
[3PF6F] 2015/05/11 11:38:54.014834 upnp.go:227: DEBUG: Handling UPnP response:

HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
DATE: Thu, 06 Jan 2000 20:27:41 GMT
EXT:
LOCATION: http://192.168.0.1:49152/InternetGatewayDevice.xml
SERVER: Linux, UPnP/1.0, DIR-300 Ver 2.11
ST: uuid:08F7BD72-0E32-1E81-10BB-28107BCFBDDF
USN: uuid:08F7BD72-0E32-1E81-10BB-28107BCFBDDF


[3PF6F] 2015/05/11 11:38:54.014910 upnp.go:215: INFO: UPnP parse: unrecognized UPnP device of type uuid:08F7BD72-0E32-1E81-10BB-28107BCFBDDF
[3PF6F] 2015/05/11 11:38:54.049454 upnp.go:227: DEBUG: Handling UPnP response:

HTTP/1.1 200 OK
CACHE-CONTROL: max-age=1800
DATE: Thu, 06 Jan 2000 20:27:41 GMT
EXT:
LOCATION: http://192.168.0.1:49152/InternetGatewayDevice.xml
SERVER: Linux, UPnP/1.0, DIR-300 Ver 2.11
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
USN: uuid:08F7BD72-0E32-1E81-10BB-28107BCFBDDF::urn:schemas-upnp-org:device:InternetGatewayDevice:1


[3PF6F] 2015/05/11 11:38:54.063717 upnp.go:371: INFO: [http://192.168.0.1:49152/InternetGatewayDevice.xml] Malformed InternetGatewayDevice description: no WANDevices specified.
[3PF6F] 2015/05/11 11:38:54.063763 upnp.go:215: INFO: UPnP parse: [http://192.168.0.1:49152/InternetGatewayDevice.xml] Malformed device description: no compatible service descriptions found.
[3PF6F] 2015/05/11 11:38:58.317491 rwfolder.go:275: INFO: Completed initial scan (rw) of folder work_data
[3PF6F] 2015/05/11 11:39:03.737868 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on lo0 finished.
[3PF6F] 2015/05/11 11:39:03.737915 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on lo0 finished.
[3PF6F] 2015/05/11 11:39:03.737954 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on en0 finished.
[3PF6F] 2015/05/11 11:39:03.737990 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on tun0 finished.
[3PF6F] 2015/05/11 11:39:03.738031 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on tun0 finished.
[3PF6F] 2015/05/11 11:39:03.738072 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on en0 finished.
[3PF6F] 2015/05/11 11:39:03.738091 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on vnic0 finished.
[3PF6F] 2015/05/11 11:39:03.738389 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on vnic1 finished.
[3PF6F] 2015/05/11 11:39:03.738412 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:1 on vnic1 finished.
[3PF6F] 2015/05/11 11:39:03.738474 upnp.go:221: DEBUG: Discovery for device type urn:schemas-upnp-org:device:InternetGatewayDevice:2 on vnic0 finished.
[3PF6F] 2015/05/11 11:39:03.738513 upnpsvc.go:46: INFO: No UPnP device detected