Re: HTTP 405 from propfind method

John Rousseau <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
My guess is that you are connecting to a server that is only speaking 
HTTP. I would look at their mod_dav installation / configuration.

-John

Matthew Roland wrote:
> All -
> 
> I'm trying to get the slide client working for integration with one of
> our customers. Whenever I try to connect however, I get a 405 from
> them. My understanding is that they are using apache's mod_dav on
> there end. They have yet to give mea technical contact on there end,
> so I'm trying to debug this as best I can on my end.
> 
> Any help on what I could be doing wrong (or that they could be doing
> wrong) would be greatly appreciated.
> 
> The nly thing that looks wierd to me is the part that says:
> 
> 00A0: 20 6D 65 74 68 6F 64 20   50 52 4F 50 46 49 4E 44   method PROPFIND
> 00B0: 20 69 73 20 6E 6F 74 20   61 6C 6C 6F 77 65 64 20   is not allowed
> 00C0: 66 6F 72 20 74 68 65 20   55 52 4C 20 2F 31 30 31  for the URL /101
> 00D0: 31 36 2F 30 30 31 2F 4F   75 74 62 6F 78 2E 3C 2F  16/001/Outbox
> 
> The URL isn't https://....., it's just the path. I've seen some
> information on message boards that seems to indicates that this could
> be an issue for apache?
> 
> Thanks,
> 
> matt
> 
> the HTTPS session dump is shown below.
> 
> HTTPS Session dump:
> --------------------------------------------------------------------
> 0000: 50 52 4F 50 46 49 4E 44   20 2F 31 30 31 31 36 2F  PROPFIND /10116/
> 0010: 30 30 31 2F 4F 75 74 62   6F 78 20 48 54 54 50 2F  001/Outbox HTTP/
> 0020: 31 2E 31 0D 0A 41 75 74   68 6F 72 69 7A 61 74 69  1.1..Authorizati
> 0030: 6F 6E 3A 20 42 61 73 69   63 20 4D 54 41 78 4D 54  on: Basic MTAxMT
> 0040: 59 74 4D 44 41 78 4F 6D   59 33 4E 7A 4D 33 4E 57  YtMDAxOmY3NzM3NW
> 0050: 51 32 0D 0A 43 6F 6E 74   65 6E 74 2D 54 79 70 65  Q2..Content-Type
> 0060: 3A 20 74 65 78 74 2F 78   6D 6C 3B 20 63 68 61 72  : text/xml; char
> 0070: 73 65 74 3D 75 74 66 2D   38 0D 0A 55 73 65 72 2D  set=utf-8..User-
> 0080: 41 67 65 6E 74 3A 20 4A   61 6B 61 72 74 61 20 43  Agent: Jakarta C
> 0090: 6F 6D 6D 6F 6E 73 2D 48   74 74 70 43 6C 69 65 6E  ommons-HttpClien
> 00A0: 74 2F 32 2E 30 66 69 6E   61 6C 0D 0A 48 6F 73 74  t/2.0final..Host
> 00B0: 3A 20 73 65 72 76 69 63   65 2E 73 69 67 6E 61 6D  : service.signam
> 00C0: 75 73 2E 63 6F 6D 0D 0A   43 6F 6E 74 65 6E 74 2D  us.com..Content-
> 00D0: 4C 65 6E 67 74 68 3A 20   32 30 37 0D 0A 44 65 70  Length: 207..Dep
> 00E0: 74 68 3A 20 30 0D 0A 0D   0A 8C AF CD 7C B1 49 C4  th: 0.........I.
> 00F0: 76 D7 A4 56 42 CE 03 EB   E5 22 B8 B8 E7           v..VB...."...
> ExecuteThread: '13' for queue: 'XPSN-MDB-Thread-Pool', WRITE:  SSL
> v3.1 Application Data, length = 253
> Plaintext before ENCRYPTION:  len = 227
> 0000: 3C 3F 78 6D 6C 20 76 65   72 73 69 6F 6E 3D 22 31  <?xml version="1
> 0010: 2E 30 22 20 65 6E 63 6F   64 69 6E 67 3D 22 75 74  .0" encoding="ut
> 0020: 66 2D 38 22 20 3F 3E 3C   44 3A 70 72 6F 70 66 69  f-8" ?><D:propfi
> 0030: 6E 64 20 78 6D 6C 6E 73   3A 44 3D 22 44 41 56 3A  nd xmlns:D="DAV:
> 0040: 22 3E 3C 44 3A 70 72 6F   70 3E 3C 44 3A 64 69 73  "><D:prop><D:dis
> 0050: 70 6C 61 79 6E 61 6D 65   2F 3E 3C 44 3A 67 65 74  playname/><D:get
> 0060: 63 6F 6E 74 65 6E 74 6C   65 6E 67 74 68 2F 3E 3C  contentlength/><
> 0070: 44 3A 67 65 74 63 6F 6E   74 65 6E 74 74 79 70 65  D:getcontenttype
> 0080: 2F 3E 3C 44 3A 72 65 73   6F 75 72 63 65 74 79 70  /><D:resourcetyp
> 0090: 65 2F 3E 3C 44 3A 67 65   74 6C 61 73 74 6D 6F 64  e/><D:getlastmod
> 00A0: 69 66 69 65 64 2F 3E 3C   44 3A 6C 6F 63 6B 64 69  ified/><D:lockdi
> 00B0: 73 63 6F 76 65 72 79 2F   3E 3C 2F 44 3A 70 72 6F  scovery/></D:pro
> 00C0: 70 3E 3C 2F 44 3A 70 72   6F 70 66 69 6E 64 3E 90  p></D:propfind>.
> 00D0: 28 A3 33 49 DF FF 89 88   AD 03 1A 01 DA 9E 6C F3  (.3I..........l.
> 00E0: A6 C3 61                                           ..a
> ExecuteThread: '13' for queue: 'XPSN-MDB-Thread-Pool', WRITE:  SSL
> v3.1 Application Data, length = 227
> ExecuteThread: '13' for queue: 'XPSN-MDB-Thread-Pool', READ:  SSL v3.1
> Application Data, length = 210
> Plaintext after DECRYPTION:  len = 210
> 0000: 48 54 54 50 2F 31 2E 31   20 34 30 35 20 4D 65 74  HTTP/1.1 405 Met
> 0010: 68 6F 64 20 4E 6F 74 20   41 6C 6C 6F 77 65 64 0D  hod Not Allowed.
> 0020: 0A 44 61 74 65 3A 20 54   68 75 2C 20 32 34 20 41  .Date: Thu, 24 A
> 0030: 75 67 20 32 30 30 36 20   32 30 3A 30 32 3A 34 31  ug 2006 20:02:41
> 0040: 20 47 4D 54 0D 0A 53 65   72 76 65 72 3A 20 41 70   GMT..Server: Ap
> 0050: 61 63 68 65 0D 0A 41 6C   6C 6F 77 3A 20 47 45 54  ache..Allow: GET
> 0060: 2C 48 45 41 44 2C 50 4F   53 54 2C 4F 50 54 49 4F  ,HEAD,POST,OPTIO
> 0070: 4E 53 2C 54 52 41 43 45   0D 0A 43 6F 6E 74 65 6E  NS,TRACE..Conten
> 0080: 74 2D 4C 65 6E 67 74 68   3A 20 33 31 33 0D 0A 43  t-Length: 313..C
> 0090: 6F 6E 74 65 6E 74 2D 54   79 70 65 3A 20 74 65 78  ontent-Type: tex
> 00A0: 74 2F 68 74 6D 6C 3B 20   63 68 61 72 73 65 74 3D  t/html; charset=
> 00B0: 69 73 6F 2D 38 38 35 39   2D 31 0D 0A 0D 0A 4F DF  iso-8859-1....O.
> 00C0: FD 58 79 FC 5B 3C 8A 52   CA 89 AB AA CF 65 76 BF  .Xy.[<.R.....ev.
> 00D0: C7 7C                                              ..
> ExecuteThread: '13' for queue: 'XPSN-MDB-Thread-Pool', READ:  SSL v3.1
> Application Data, length = 333
> Plaintext after DECRYPTION:  len = 333
> 0000: 3C 21 44 4F 43 54 59 50   45 20 48 54 4D 4C 20 50  <!DOCTYPE HTML P
> 0010: 55 42 4C 49 43 20 22 2D   2F 2F 49 45 54 46 2F 2F  UBLIC "-//IETF//
> 0020: 44 54 44 20 48 54 4D 4C   20 32 2E 30 2F 2F 45 4E  DTD HTML 2.0//EN
> 0030: 22 3E 0A 3C 68 74 6D 6C   3E 3C 68 65 61 64 3E 0A  ">.<html><head>.
> 0040: 3C 74 69 74 6C 65 3E 34   30 35 20 4D 65 74 68 6F  <title>405 Metho
> 0050: 64 20 4E 6F 74 20 41 6C   6C 6F 77 65 64 3C 2F 74  d Not Allowed</t
> 0060: 69 74 6C 65 3E 0A 3C 2F   68 65 61 64 3E 3C 62 6F  itle>.</head><bo
> 0070: 64 79 3E 0A 3C 68 31 3E   4D 65 74 68 6F 64 20 4E  dy>.<h1>Method N
> 0080: 6F 74 20 41 6C 6C 6F 77   65 64 3C 2F 68 31 3E 0A  ot Allowed</h1>.
> 0090: 3C 70 3E 54 68 65 20 72   65 71 75 65 73 74 65 64  <p>The requested
> 00A0: 20 6D 65 74 68 6F 64 20   50 52 4F 50 46 49 4E 44   method PROPFIND
> 00B0: 20 69 73 20 6E 6F 74 20   61 6C 6C 6F 77 65 64 20   is not allowed
> 00C0: 66 6F 72 20 74 68 65 20   55 52 4C 20 2F 31 30 31  for the URL /101
> 00D0: 31 36 2F 30 30 31 2F 4F   75 74 62 6F 78 2E 3C 2F  16/001/Outbox.</
> 00E0: 70 3E 0A 3C 68 72 3E 0A   3C 61 64 64 72 65 73 73  p>.<hr>.<address
> 00F0: 3E 41 70 61 63 68 65 20   53 65 72 76 65 72 20 61  >Apache Server a
> 0100: 74 20 73 65 72 76 69 63   65 2E 73 69 67 6E 61 6D  t service.signam
> 0110: 75 73 2E 63 6F 6D 20 50   6F 72 74 20 34 34 33 3C  us.com Port 443<
> 0120: 2F 61 64 64 72 65 73 73   3E 0A 3C 2F 62 6F 64 79  /address>.</body
> 0130: 3E 3C 2F 68 74 6D 6C 3E   0A F4 17 BF 46 C2 40 FB  ></html>....F.@.
> 0140: C1 67 33 03 E5 C9 FE 21   BF F4 59 75 2F           .g3....!..Yu/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 

-- 
John Rousseau
Archivas, Inc.
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.