[Pharo-users] Pharo 7, Iceberg, Proxy and Windows

Vitor Medina Cruz vitormcruz at gmail.com
Thu Jun 21 11:48:30 EDT 2018


I am sorry, the correct message is "LGit_GIT_ERROR: failed to get server
certificate: The handle is in the wrong state for the requested operation".


I tried to add corporate certificates to the git curl-ca-bundle.crt, I
tried to git config --global http.sslVerify false also, no success... :(

On Thu, Jun 21, 2018 at 9:31 AM, Vitor Medina Cruz <vitormcruz at gmail.com>
wrote:

> Ok, I forgot to mention I have changed LGitRepository>>clone:url:local_path:options:,
> but for some odd reason it's arguments names were switched to arg 1, arg2,
> arg3 etc, so the out error was because was renamed to one of those generic
> arg names. I figure that out looking at the versions of the methods, and it
> apers that when I first access it this change is made.
>
> Anyways, I fixed that and I still get "IceGenericError: failed to get
> server certificate: The identifier is not in the correct state for the
> resquested operation"
>
> On Wed, Jun 20, 2018 at 4:49 PM, Vitor Medina Cruz <vitormcruz at gmail.com>
> wrote:
>
>> Hello,
>>
>> Iceberg fail to function behind a proxy on Pharo 7 32bits Windows. When I
>> try to clone I get a:
>>
>> IceGenericError: failed to get server certificate: The identifier is not
>> in the correct state for the resquested operation
>>
>> I had a similar problem some time ago with Pharo 6, in which I made a
>> local hot fix after questioning here. The fix was to the LGitCloneOptions
>> and LGitFetchOptions both at the initializeWithDefaults, currently this
>> method on LGitCloneOptions is like this:
>>
>>
>> initializeWithDefaults
>>     self withReturnHandlerDo: [
>>         self
>>             clone_init_options: self
>>             version: LGitOptionsVersionsEnum  git_clone_options_version_1
>> ].
>>
>>
>>
>> *    self prim_fetch_opts prim_proxy_opts prim_type: LGitProxyTypeEnum
>> git_proxy_auto*
>> The bold is the fix, but it should come first in the method:
>>
>> initializeWithDefaults
>>
>>
>> *    self prim_fetch_opts prim_proxy_opts prim_type: LGitProxyTypeEnum
>> git_proxy_auto*    self withReturnHandlerDo: [
>>         self
>>             clone_init_options: self
>>             version: LGitOptionsVersionsEnum  git_clone_options_version_1
>> ].
>>
>>
>> That way worked on Pharo 6, but now I got a:
>>
>> "FFIVariableNameNotFound: Could not find accessor for variable named
>> 'out'"
>>
>> Any clues?
>>
>> Regards,
>> Vitor
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20180621/307300ae/attachment.html>


More information about the Pharo-users mailing list