Hi,

i work with Pharo 1.4.

I need to manage a packages on a local server with Monticello http repository.

I configured the Monticello repository with:
MCHttpRepository location: 'http://www.server1.com/RepositoryDTR/' user: '' password: ''

And configured the local DNS to redirect the request on the IP server

and configured the lighttpd on the server   to redirect the /RepositoryDTR/  path on the specific server path.

Now when i open the repository with Monticello i can see the hold  *.mcz package   into server 1 /RepositoryDTR/   path


I found the error:
ZnHttpUnsuccessful: 404 Not Found

 when i save,  with Monticello browser, a new package version on the server.


I need to do some initialization before use a remote http ? 


Thanks for any considerations,

Dario


This is the stack relative of the error.

VM: Mac OS - intel - 1075 - CoInterpreter VMMaker-oscog-EstebanLorenzano.161 uuid: 8e0c22c3-b48d-4d8d-a7f9-8a75dc246f28 Jul 18 2012, StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.161 uuid: 8e0c22c3-b48d-4d8d-a7f9-8a75dc246f28 Jul 18 2012, https://git.gitorious.org/cogvm/blessed.git Commit: 5151310c41b08f55b70e9c6250711cb1f3672ce7 Date: 2012-07-18 14:06:15 +0200 By: Camillo Bruni <camillobruni@gmail.com>

Image: Pharo1.4 [Latest update: #14445]

 

ZnClient>>handleResponse

            Receiver: a ZnClient

            Arguments and temporary variables:

 

            Receiver's instance variables:

                        request:             a ZnRequest(PUT /RepositoryDTR/DtrLogin-DTR.417.mcz)

                        response:             a ZnResponse(404 Not Found text/html 345B)

                        connection:             nil

                        lastUsed:             nil

                        state:             #closed

                        options:             a Dictionary(#enforceAcceptContentType->true #enforceHttpSuccess->true...etc...

                        session:             nil

                        log:             a ZnLogSupport

 

ZnClient>>executeWithRedirectsRemaining:

            Receiver: a ZnClient

            Arguments and temporary variables:

                        redirectCount:             3

            Receiver's instance variables:

                        request:             a ZnRequest(PUT /RepositoryDTR/DtrLogin-DTR.417.mcz)

                        response:             a ZnResponse(404 Not Found text/html 345B)

                        connection:             nil

                        lastUsed:             nil

                        state:             #closed

                        options:             a Dictionary(#enforceAcceptContentType->true #enforceHttpSuccess->true...etc...

                        session:             nil

                        log:             a ZnLogSupport

 

[self executeWithRedirectsRemaining: self maxNumberOfRedirects] in ZnClient>>executeWithRetriesRemaining:

            Receiver: a ZnClient

            Arguments and temporary variables:

 

            Receiver's instance variables:

                        request:             a ZnRequest(PUT /RepositoryDTR/DtrLogin-DTR.417.mcz)

                        response:             a ZnResponse(404 Not Found text/html 345B)

                        connection:             nil

                        lastUsed:             nil

                        state:             #closed

                        options:             a Dictionary(#enforceAcceptContentType->true #enforceHttpSuccess->true...etc...

                        session:             nil

                        log:             a ZnLogSupport

 

BlockClosure>>on:do:

            Receiver: [self executeWithRedirectsRemaining: self maxNumberOfRedirects]

            Arguments and temporary variables:

                        exception:             Exception

                        handlerAction:             [:exception | retryCount > 0

                        ifTrue: [self handleRetry; execut...etc...

                        handlerActive:             false

            Receiver's instance variables:

                        outerContext:             ZnClient>>executeWithRetriesRemaining:

                        startpc:             49

                        numArgs:             0

 

ZnClient>>executeWithRetriesRemaining:

            Receiver: a ZnClient

            Arguments and temporary variables:

                        retryCount:             0

            Receiver's instance variables:

                        request:             a ZnRequest(PUT /RepositoryDTR/DtrLogin-DTR.417.mcz)

                        response:             a ZnResponse(404 Not Found text/html 345B)

                        connection:             nil

                        lastUsed:             nil

                        state:             #closed

                        options:             a Dictionary(#enforceAcceptContentType->true #enforceHttpSuccess->true...etc...

                        session:             nil

                        log:             a ZnLogSupport

 

[:exception | retryCount > 0

                        ifTrue: [self handleRetry; executeWithRetriesRemaining: retryCount - 1]

                        ifFalse: [exception pass]] in ZnClient>>executeWithRetriesRemaining:

            Receiver: a ZnClient

            Arguments and temporary variables:

                        retryCount:             HTTPProgress: Connecting to www.server1.com

                        exception:             1

            Receiver's instance variables:

                        request:             a ZnRequest(PUT /RepositoryDTR/DtrLogin-DTR.417.mcz)

                        response:             a ZnResponse(404 Not Found text/html 345B)

                        connection:             nil

                        lastUsed:             nil

                        state:             #closed

                        options:             a Dictionary(#enforceAcceptContentType->true #enforceHttpSuccess->true...etc...

                        session:             nil

                        log:             a ZnLogSupport