However, using Rails 4, if I try to browse Rails app directory via Nautilus webdav, I can get the list of files at the root, such as app, db, config etc... However, if I click on any of these files or subdirectory, then Nautilus gives me the following error:
"Unhandled error message: Response invalid"
Using tcpdump, I registered the whole communication, connecting to the root Rails app directory (OK) and then trying to click on the db subdirectory (KO)
Hope this help. Here is the tcdump output (sudo tcpdump -i lo -A):
16:28:10.746912 IP localhost.50779 > raphael-laptop.domain: 12293+ A? daisy.ubuntu.com. (34)
E..>..@.@.~..........[.5..=0............daisy.ubuntu.com.....
16:28:10.746933 IP localhost.50779 > raphael-laptop.domain: 58388+ AAAA? daisy.ubuntu.com. (34)
E..>..@.@.~..........[.5..=.............daisy.ubuntu.com.....
16:28:10.751589 IP raphael-laptop.domain > localhost.50779: 12293 2/0/0 A 91.189.95.55, A 91.189.95.54 (66)
E..^..@.@.;..........5.[.J.]0............daisy.ubuntu.com.................[._7............[.6
16:28:10.752486 IP raphael-laptop.domain > localhost.50779: 58388 0/0/0 (34)
E..>..@.@.;..........5.[..=.............daisy.ubuntu.com.....
16:28:11.749756 IP localhost.52432 > raphael-laptop.domain: 9993+ A? daisy.ubuntu.com. (34)
E..>..@.@.}............5..=' ...........daisy.ubuntu.com.....
16:28:11.749801 IP localhost.52432 > raphael-laptop.domain: 57388+ AAAA? daisy.ubuntu.com. (34)
E..>..@.@.}............5..=.,...........daisy.ubuntu.com.....
16:28:11.752905 IP raphael-laptop.domain > localhost.52432: 9993 2/0/0 A 91.189.95.54, A 91.189.95.55 (66)
E..^..@.@.;..........5...J.]' ...........daisy.ubuntu.com.................[._6............[.7
16:28:11.753471 IP raphael-laptop.domain > localhost.52432: 57388 0/0/0 (34)
E..>..@.@.;..........5....=.,...........daisy.ubuntu.com.....
16:28:30.878026 IP localhost.53277 > localhost.53277: UDP, length 16
E..,.E@.@.9z...............+........j.m.....
16:28:30.896867 IP localhost.53277 > localhost.53277: UDP, length 24
E..4.F@.@.9q............. .3........./..q.....u.....
16:28:30.902344 IP localhost.53277 > localhost.53277: UDP, length 16
E..,.G@.@.9x...............+..........u.....
16:28:30.912905 IP localhost.53277 > localhost.53277: UDP, length 976
E....H@.@.5........................../.. ...................................................................................................................".......".......f
..q.......................................................................................................q...................................................................................................c
..q...................................................................................................2
..q...................................................................................................w
..q...................................................................................................)
..q...................................................................................................8
.......................................................................................................
..q...................................................................................................
16:28:30.912924 IP localhost.53277 > localhost.53277: UDP, length 248
E....I@.@.8........................../..............................+
......................................................................................................_
..q...................................................................................................
16:28:30.912930 IP localhost.53277 > localhost.53277: UDP, length 456
E....J@.@.7.................................................................................................................................................................p
......................................................................................................o
..q.......................................................................................................q...................................................................................................
16:28:34.912542 IP localhost.46441 > localhost.46441: UDP, length 16
E..,..@.@.R..........i.i...+........Z.......
16:28:37.185812 IP localhost.52976 > raphael-laptop.3000: Flags [S], seq 1992207733, win 43690, options [mss 65495,sackOK,TS val 2217650 ecr 0,nop,wscale 7], length 0
E..<{.@.@...............v..u.........0.........
.!..........
16:28:37.185833 IP raphael-laptop.3000 > localhost.52976: Flags [S.], seq 3776194973, ack 1992207734, win 43690, options [mss 65495,sackOK,TS val 2217650 ecr 2217650,nop,wscale 7], length 0
E..<..@.@.;...............).v..v.....0.........
.!...!......
16:28:37.185847 IP localhost.52976 > raphael-laptop.3000: Flags [.], ack 1, win 342, options [nop,nop,TS val 2217650 ecr 2217650], length 0
E..4{.@.@...............v..v..)....V.(.....
.!...!..
16:28:37.186102 IP localhost.52976 > raphael-laptop.3000: Flags [P.], seq 1:164, ack 1, win 342, options [nop,nop,TS val 2217650 ecr 2217650], length 163
E...{.@.@..U............v..v..)....V.......
.!...!..OPTIONS / HTTP/1.1
Host: webdav.lvh.me:3000
Accept-Encoding: gzip, deflate
User-Agent: gvfs/1.16.1
Accept-Language: en-us, en;q=0.9
Connection: Keep-Alive
Hello,
I tested the basic Rails tutorial here https://github.com/chrisroberts/dav4rack/wiki/Rails-3 with success on Rails 3.
However, using Rails 4, if I try to browse Rails app directory via Nautilus webdav, I can get the list of files at the root, such as app, db, config etc... However, if I click on any of these files or subdirectory, then Nautilus gives me the following error: "Unhandled error message: Response invalid"
Using tcpdump, I registered the whole communication, connecting to the root Rails app directory (OK) and then trying to click on the db subdirectory (KO)
Hope this help. Here is the tcdump output (sudo tcpdump -i lo -A):
16:28:10.746912 IP localhost.50779 > raphael-laptop.domain: 12293+ A? daisy.ubuntu.com. (34) E..>..@.@.~..........[.5..=0............daisy.ubuntu.com..... 16:28:10.746933 IP localhost.50779 > raphael-laptop.domain: 58388+ AAAA? daisy.ubuntu.com. (34) E..>..@.@.~..........[.5..=.............daisy.ubuntu.com..... 16:28:10.751589 IP raphael-laptop.domain > localhost.50779: 12293 2/0/0 A 91.189.95.55, A 91.189.95.54 (66) E..^..@.@.;..........5.[.J.]0............daisy.ubuntu.com.................[._7............[.6 16:28:10.752486 IP raphael-laptop.domain > localhost.50779: 58388 0/0/0 (34) E..>..@.@.;..........5.[..=.............daisy.ubuntu.com..... 16:28:11.749756 IP localhost.52432 > raphael-laptop.domain: 9993+ A? daisy.ubuntu.com. (34) E..>..@.@.}............5..=' ...........daisy.ubuntu.com..... 16:28:11.749801 IP localhost.52432 > raphael-laptop.domain: 57388+ AAAA? daisy.ubuntu.com. (34) E..>..@.@.}............5..=.,...........daisy.ubuntu.com..... 16:28:11.752905 IP raphael-laptop.domain > localhost.52432: 9993 2/0/0 A 91.189.95.54, A 91.189.95.55 (66) E..^..@.@.;..........5...J.]' ...........daisy.ubuntu.com.................[._6............[.7 16:28:11.753471 IP raphael-laptop.domain > localhost.52432: 57388 0/0/0 (34) E..>..@.@.;..........5....=.,...........daisy.ubuntu.com..... 16:28:30.878026 IP localhost.53277 > localhost.53277: UDP, length 16 E..,.E@.@.9z...............+........j.m..... 16:28:30.896867 IP localhost.53277 > localhost.53277: UDP, length 24 E..4.F@.@.9q............. .3........./..q.....u..... 16:28:30.902344 IP localhost.53277 > localhost.53277: UDP, length 16 E..,.G@.@.9x...............+..........u..... 16:28:30.912905 IP localhost.53277 > localhost.53277: UDP, length 976 E....H@.@.5........................../.. ...................................................................................................................".......".......f ..q.......................................................................................................q...................................................................................................c ..q...................................................................................................2 ..q...................................................................................................w ..q...................................................................................................) ..q...................................................................................................8 ....................................................................................................... ..q................................................................................................... 16:28:30.912924 IP localhost.53277 > localhost.53277: UDP, length 248 E....I@.@.8........................../..............................+ ......................................................................................................_ ..q................................................................................................... 16:28:30.912930 IP localhost.53277 > localhost.53277: UDP, length 456 E....J@.@.7.................................................................................................................................................................p ......................................................................................................o ..q.......................................................................................................q................................................................................................... 16:28:34.912542 IP localhost.46441 > localhost.46441: UDP, length 16 E..,..@.@.R..........i.i...+........Z....... 16:28:37.185812 IP localhost.52976 > raphael-laptop.3000: Flags [S], seq 1992207733, win 43690, options [mss 65495,sackOK,TS val 2217650 ecr 0,nop,wscale 7], length 0 E..<{.@.@...............v..u.........0......... .!.......... 16:28:37.185833 IP raphael-laptop.3000 > localhost.52976: Flags [S.], seq 3776194973, ack 1992207734, win 43690, options [mss 65495,sackOK,TS val 2217650 ecr 2217650,nop,wscale 7], length 0 E..<..@.@.;...............).v..v.....0......... .!...!...... 16:28:37.185847 IP localhost.52976 > raphael-laptop.3000: Flags [.], ack 1, win 342, options [nop,nop,TS val 2217650 ecr 2217650], length 0 E..4{.@.@...............v..v..)....V.(..... .!...!.. 16:28:37.186102 IP localhost.52976 > raphael-laptop.3000: Flags [P.], seq 1:164, ack 1, win 342, options [nop,nop,TS val 2217650 ecr 2217650], length 163 E...{.@.@..U............v..v..)....V....... .!...!..OPTIONS / HTTP/1.1 Host: webdav.lvh.me:3000 Accept-Encoding: gzip, deflate User-Agent: gvfs/1.16.1 Accept-Language: en-us, en;q=0.9 Connection: Keep-Alive
16:28:37.186117 IP raphael-laptop.3000 > localhost.52976: Flags [.], ack 164, win 350, options [nop,nop,TS val 2217650 ecr 2217650], length 0 E..4.,@.@.<...............).v......^.(..... .!...!.. 16:28:37.192532 IP raphael-laptop.3000 > localhost.52976: Flags [P.], seq 1:365, ack 164, win 350, options [nop,nop,TS val 2217651 ecr 2217650], length 364 E....-@.@.;(..............).v......^....... .!...!..HTTP/1.1 200 OK Dav: 1, 2 Allow: OPTIONS,HEAD,GET,PUT,POST,DELETE,PROPFIND,PROPPATCH,MKCOL,COPY,MOVE,LOCK,UNLOCK Ms-Author-Via: DAV Cache-Control: no-cache X-Request-Id: dbf89bc3-1aa0-40dd-b9f5-670b6d616190 X-Runtime: 0.004844 Server: WEBrick/1.3.1 (Ruby/1.9.3/2012-04-20) Date: Sat, 27 Jul 2013 19:28:37 GMT Content-Length: 0 Connection: Keep-Alive
16:28:37.192569 IP localhost.52976 > raphael-laptop.3000: Flags [.], ack 365, win 350, options [nop,nop,TS val 2217651 ecr 2217651], length 0 E..4{.@.@...............v.....+ ...^.(..... .!...!.. 16:28:37.193060 IP localhost.52976 > raphael-laptop.3000: Flags [P.], seq 164:390, ack 365, win 350, options [nop,nop,TS val 2217651 ecr 2217651], length 226 E...{.@.@...............v.....+ ...^....... .!...!..PROPFIND / HTTP/1.1 Host: webdav.lvh.me:3000 Depth: 0 Content-Type: application/xml Accept-Encoding: gzip, deflate User-Agent: gvfs/1.16.1 Accept-Language: en-us, en;q=0.9 Connection: Keep-Alive Content-Length: 124
16:28:37.229628 IP raphael-laptop.3000 > localhost.52976: Flags [.], ack 390, win 359, options [nop,nop,TS val 2217661 ecr 2217651], length 0 E..4..@.@.<...............+ v......g.(..... .!...!.. 16:28:37.229707 IP localhost.52976 > raphael-laptop.3000: Flags [P.], seq 390:514, ack 365, win 350, options [nop,nop,TS val 2217661 ecr 2217661], length 124 E...{.@.@..y............v.....+ ...^....... .!...!..<?xml version="1.0" encoding="utf-8" ?>