Skip to content

Instantly share code, notes, and snippets.

@calmh
Last active October 15, 2015 01:34
Show Gist options
  • Save calmh/79e466d47847d6042f38 to your computer and use it in GitHub Desktop.
Save calmh/79e466d47847d6042f38 to your computer and use it in GitHub Desktop.
proxy traces
jb@syno:~/src/github.com/syncthing/syncthing git:(master) $ git checkout syncthing/pr/2375
Note: checking out 'syncthing/pr/2375'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 5580cf1... Patch up HTTP clients
jb@syno:~/src/github.com/syncthing/syncthing git:(upstream ⚡ detached@5580cf1) $ ./build.sh clean
rm -r bin
rm -r Godeps/_workspace/pkg
rm -r Godeps/_workspace/bin
rm -r /Users/jb/pkg/darwin_amd64/github.com/syncthing
jb@syno:~/src/github.com/syncthing/syncthing git:(upstream ⚡ detached@5580cf1) $ ./build.sh
GOPATH=/Users/jb/src/github.com/syncthing/syncthing/Godeps/_workspace:/Users/jb
go install -v -ldflags -w -X main.Version=v0.12.0-beta3+5-g5580cf1 -X main.BuildStamp=1444762342 -X main.BuildUser=jb -X main.BuildHost=syno -X main.BuildEnv=default ./cmd/...
github.com/calmh/xdr
github.com/calmh/luhn
github.com/bkaradzic/go-lz4
github.com/syncthing/syncthing/lib/logger
golang.org/x/text/transform
github.com/calmh/du
github.com/syndtr/goleveldb/leveldb/util
github.com/syncthing/syncthing/cmd/stevents
github.com/syndtr/goleveldb/leveldb/comparer
github.com/golang/snappy
golang.org/x/crypto/blowfish
golang.org/x/text/unicode/norm
github.com/thejerf/suture
golang.org/x/net/internal/iana
golang.org/x/net/proxy
golang.org/x/net/ipv6
golang.org/x/crypto/bcrypt
github.com/syncthing/syncthing/lib/sync
github.com/syndtr/goleveldb/leveldb/cache
github.com/syndtr/goleveldb/leveldb/storage
github.com/syndtr/goleveldb/leveldb/filter
github.com/syncthing/syncthing/lib/events
github.com/syncthing/syncthing/lib/signature
github.com/syndtr/goleveldb/leveldb/opt
github.com/kardianos/osext
github.com/syncthing/syncthing/lib/dialer
github.com/syncthing/syncthing/cmd/stwatchfile
github.com/syncthing/syncthing/lib/auto
github.com/juju/ratelimit
github.com/syncthing/syncthing/lib/upgrade
github.com/syncthing/syncthing/lib/fnmatch
github.com/syncthing/syncthing/lib/ignore
github.com/syndtr/goleveldb/leveldb/errors
github.com/syndtr/goleveldb/leveldb/iterator
github.com/syndtr/goleveldb/leveldb/journal
github.com/syncthing/syncthing/lib/tlsutil
github.com/syndtr/goleveldb/leveldb/memdb
github.com/syndtr/goleveldb/leveldb/table
github.com/syncthing/syncthing/lib/beacon
github.com/syncthing/syncthing/cmd/stsigtool
github.com/syncthing/syncthing/lib/upnp
github.com/vitrun/qart/gf256
github.com/vitrun/qart/coding
github.com/syndtr/goleveldb/leveldb
github.com/vitrun/qart/qr
github.com/syncthing/syncthing/lib/osutil
github.com/syncthing/syncthing/lib/protocol
github.com/syncthing/syncthing/lib/symlinks
github.com/syncthing/syncthing/lib/versioner
github.com/syncthing/syncthing/cmd/stcompdirs
github.com/syncthing/syncthing/lib/config
github.com/syncthing/syncthing/lib/discover
github.com/syncthing/syncthing/lib/relay/protocol
github.com/syncthing/syncthing/lib/relay/client
github.com/syncthing/syncthing/lib/db
github.com/syncthing/syncthing/lib/relay
github.com/syncthing/syncthing/cmd/stfinddevice
github.com/syncthing/syncthing/lib/scanner
github.com/syncthing/syncthing/cmd/stindex
github.com/syncthing/syncthing/lib/stats
github.com/syncthing/syncthing/cmd/stfileinfo
github.com/syncthing/syncthing/lib/model
github.com/syncthing/syncthing/lib/connections
github.com/syncthing/syncthing/cmd/syncthing
jb@syno:~/src/github.com/syncthing/syncthing git:(upstream ⚡ detached@5580cf1) $ export http_proxy="http://10.24.8.191:8080/"
jb@syno:~/src/github.com/syncthing/syncthing git:(upstream ⚡ detached@5580cf1) $ STTRACE=dialer,connections syncthing -home ~/.syncthing-anto-acro
[monitor] 2015/10/15 10:23:44.423339 monitor.go:94: INFO: Starting syncthing
[7DDRT] 2015/10/15 10:23:44.450344 main.go:514: INFO: syncthing v0.12.0-beta3+5-g5580cf1 "Beryllium Bedbug" (go1.5.1 darwin-amd64 default) jb@syno 2015-10-13 18:52:22 UTC
[7DDRT] 2015/10/15 10:23:44.450512 main.go:515: INFO: My ID: 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA
[7DDRT] 2015/10/15 10:23:44.459001 main.go:883: INFO: Database block cache capacity 65536 KiB
[7DDRT] 2015/10/15 10:23:44.482615 model.go:151: INFO: Starting deadlock detector with 20m0s timeout
[7DDRT] 2015/10/15 10:23:44.525864 model.go:215: OK: Ready to synchronize documents (read only; no external updates accepted)
[7DDRT] 2015/10/15 10:23:44.571670 model.go:215: OK: Ready to synchronize dropbox (read only; no external updates accepted)
[7DDRT] 2015/10/15 10:23:44.708754 model.go:215: OK: Ready to synchronize lightroom (read only; no external updates accepted)
[7DDRT] 2015/10/15 10:23:45.142669 rofolder.go:93: INFO: Completed initial scan (ro) of folder dropbox
[7DDRT] 2015/10/15 10:23:45.169596 rofolder.go:93: INFO: Completed initial scan (ro) of folder documents
[7DDRT] 2015/10/15 10:23:49.726615 main.go:727: INFO: Using discovery server https://discovery-v4-1.syncthing.net/?id=SR7AARM-TCBUZ5O-VFAXY4D-CECGSDE-3Q6IZ4G-XG7AH75-OBIXJQV-QJ6NLQA
[7DDRT] 2015/10/15 10:23:49.726723 main.go:727: INFO: Using discovery server https://discovery-v4-2.syncthing.net/?id=AQEHEO2-XOS7QRA-X2COH5K-PO6OPVA-EWOSEGO-KZFMD32-XJ4ZV46-CUUVKAS
[7DDRT] 2015/10/15 10:23:49.726805 main.go:727: INFO: Using discovery server https://discovery-v4-3.syncthing.net/?id=7WT2BVR-FX62ZOW-TNVVW25-6AHFJGD-XEXQSBW-VO3MPL2-JBTLL4T-P4572Q4
[7DDRT] 2015/10/15 10:23:49.726876 main.go:727: INFO: Using discovery server https://discovery-v6-1.syncthing.net/?id=SR7AARM-TCBUZ5O-VFAXY4D-CECGSDE-3Q6IZ4G-XG7AH75-OBIXJQV-QJ6NLQA
[7DDRT] 2015/10/15 10:23:49.726968 main.go:727: INFO: Using discovery server https://discovery-v6-2.syncthing.net/?id=AQEHEO2-XOS7QRA-X2COH5K-PO6OPVA-EWOSEGO-KZFMD32-XJ4ZV46-CUUVKAS
[7DDRT] 2015/10/15 10:23:49.727054 main.go:727: INFO: Using discovery server https://discovery-v6-3.syncthing.net/?id=7WT2BVR-FX62ZOW-TNVVW25-6AHFJGD-XEXQSBW-VO3MPL2-JBTLL4T-P4572Q4
[7DDRT] 2015/10/15 10:23:49.727204 main.go:943: INFO: Starting web GUI on http://127.0.0.1:8385/
[7DDRT] 2015/10/15 10:23:49.729045 logger.go:296: DEBUG: listening on tcp://0.0.0.0:22200
[7DDRT] 2015/10/15 10:23:49.729170 main.go:777: INFO: Device AFQDMYL-2JNH6RL-V4I5KLX-M7RFGEJ-ASQDZWA-TWGEP3Z-KAQINKM-WTNYIAH is "acro-syncer" at [dynamic]
[7DDRT] 2015/10/15 10:23:49.729248 main.go:777: INFO: Device 4OODCIS-RBMFWYK-2NNWTGG-5JQTOQJ-QIGM5CE-2UMYWIP-N6TVOVR-INAN3Q5 is "anto-syncer" at [dynamic]
[7DDRT] 2015/10/15 10:23:49.729353 main.go:777: INFO: Device 7DDRT7J-UICR4PM-PBIZYL3-MZOJ7X7-EX56JP6-IK6HHMW-S7EK32W-G3EUPQA is "syno" at [dynamic]
[7DDRT] 2015/10/15 10:23:49.729424 main.go:812: INFO: No automatic upgrades; v0.12.0-beta3+5-g5580cf1 is not a release version.
[7DDRT] 2015/10/15 10:23:49.729570 usage_report.go:281: INFO: Starting usage reporting
[7DDRT] 2015/10/15 10:23:49.732604 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53232 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:49.732841 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53233 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:49.733386 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53234 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:49.736895 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53235 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:49.737114 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53236 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:49.738281 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53237 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:49.739614 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53238 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:49.739903 gui.go:238: INFO: API listening on 127.0.0.1:8385
[7DDRT] 2015/10/15 10:23:50.775293 rofolder.go:93: INFO: Completed initial scan (ro) of folder lightroom
[7DDRT] 2015/10/15 10:23:51.232874 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53239 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:52.563033 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53240 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:53.025655 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53241 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:53.157269 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53242 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:53.287270 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53243 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:53.413348 logger.go:296: DEBUG: dial AFQDMYL-2JNH6RL-V4I5KLX-M7RFGEJ-ASQDZWA-TWGEP3Z-KAQINKM-WTNYIAH tcp://194.126.249.11:22000
[7DDRT] 2015/10/15 10:23:59.752730 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53245 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:59.753845 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53246 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:23:59.754123 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53247 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:25:04.977633 logger.go:304: DEBUG: Dialing tcp address 78.49.77.109:22067 error dial tcp 78.49.77.109:22067: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:25:08.612218 logger.go:304: DEBUG: Dialing tcp address 194.126.249.11:22000 error dial tcp 194.126.249.11:22000: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:25:08.612267 logger.go:296: DEBUG: dial tcp 194.126.249.11:22000: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:25:08.612428 logger.go:296: DEBUG: dial failed AFQDMYL-2JNH6RL-V4I5KLX-M7RFGEJ-ASQDZWA-TWGEP3Z-KAQINKM-WTNYIAH tcp://194.126.249.11:22000 dial tcp 194.126.249.11:22000: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:25:08.612510 logger.go:296: DEBUG: Trying relay connections to AFQDMYL-2JNH6RL-V4I5KLX-M7RFGEJ-ASQDZWA-TWGEP3Z-KAQINKM-WTNYIAH [{relay://194.126.249.21:443/?id=BHEHSWE-IN7234T-QM5F4F3-YJLE64D-DMDY3AS-UKZOFAG-ITCZU4W-KDH22AF 0}]
[7DDRT] 2015/10/15 10:26:20.119805 logger.go:304: DEBUG: Dialing tcp address 78.49.77.109:22067 error dial tcp 78.49.77.109:22067: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:26:23.757250 logger.go:304: DEBUG: Dialing tcp address 194.126.249.21:443 error dial tcp 194.126.249.21:443: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:26:23.757433 logger.go:304: DEBUG: Failed to get invitation for AFQDMYL-2JNH6RL-V4I5KLX-M7RFGEJ-ASQDZWA-TWGEP3Z-KAQINKM-WTNYIAH from relay://194.126.249.21:443/?id=BHEHSWE-IN7234T-QM5F4F3-YJLE64D-DMDY3AS-UKZOFAG-ITCZU4W-KDH22AF: dial tcp 194.126.249.21:443: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:26:23.760134 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53253 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:26:25.449251 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53254 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:26:26.675075 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53255 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:26:27.218950 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53256 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:26:27.358058 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53257 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:26:27.373987 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53258 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:26:27.386058 logger.go:296: DEBUG: dial 4OODCIS-RBMFWYK-2NNWTGG-5JQTOQJ-QIGM5CE-2UMYWIP-N6TVOVR-INAN3Q5 tcp://213.114.1.152:22000
[7DDRT] 2015/10/15 10:27:36.290415 logger.go:304: DEBUG: Dialing tcp address 78.49.77.109:22067 error dial tcp 78.49.77.109:22067: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:27:43.531842 logger.go:304: DEBUG: Dialing tcp address 213.114.1.152:22000 error dial tcp 213.114.1.152:22000: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:27:43.531869 logger.go:296: DEBUG: dial tcp 213.114.1.152:22000: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:27:43.532017 logger.go:296: DEBUG: dial failed 4OODCIS-RBMFWYK-2NNWTGG-5JQTOQJ-QIGM5CE-2UMYWIP-N6TVOVR-INAN3Q5 tcp://213.114.1.152:22000 dial tcp 213.114.1.152:22000: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:27:43.532098 logger.go:296: DEBUG: Trying relay connections to 4OODCIS-RBMFWYK-2NNWTGG-5JQTOQJ-QIGM5CE-2UMYWIP-N6TVOVR-INAN3Q5 [{relay://5.9.90.188:22067/?id=7LNU7VT-OYCQVFA-NYXL2BK-FVNZYMA-MYGTTAV-M55ZHOJ-CQM6KLL-YKTL4AD&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=500000&globalLimitBps=5000000&statusAddr=:22070 47}]
[7DDRT] 2015/10/15 10:28:51.624253 logger.go:304: DEBUG: Dialing tcp address 78.49.77.109:22067 error dial tcp 78.49.77.109:22067: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:28:58.868938 logger.go:304: DEBUG: Dialing tcp address 5.9.90.188:22067 error dial tcp 5.9.90.188:22067: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:28:58.869117 logger.go:304: DEBUG: Failed to get invitation for 4OODCIS-RBMFWYK-2NNWTGG-5JQTOQJ-QIGM5CE-2UMYWIP-N6TVOVR-INAN3Q5 from relay://5.9.90.188:22067/?id=7LNU7VT-OYCQVFA-NYXL2BK-FVNZYMA-MYGTTAV-M55ZHOJ-CQM6KLL-YKTL4AD&pingInterval=1m0s&networkTimeout=2m0s&sessionLimitBps=500000&globalLimitBps=5000000&statusAddr=:22070: dial tcp 5.9.90.188:22067: getsockopt: operation timed out
[7DDRT] 2015/10/15 10:28:59.772558 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53494 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:28:59.782013 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53495 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:28:59.795368 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53496 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:28:59.876485 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53497 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:29:01.512316 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53498 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:29:02.837459 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53499 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:29:03.271667 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53500 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:29:03.290504 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53501 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:29:03.420325 logger.go:304: DEBUG: Dialing tcp address 10.24.8.191:8080 success, 192.168.11.3:53502 -> 10.24.8.191:8080
[7DDRT] 2015/10/15 10:29:03.546471 logger.go:296: DEBUG: dial AFQDMYL-2JNH6RL-V4I5KLX-M7RFGEJ-ASQDZWA-TWGEP3Z-KAQINKM-WTNYIAH tcp://194.126.249.11:22000
^C[monitor] 2015/10/15 10:29:27.558362 monitor.go:132: INFO: Signal 2 received; exiting
jb@syno:~/src/github.com/syncthing/syncthing git:(upstream ⚡ detached@5580cf1) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment