[Glass] Jadeite not connecting
Norm Green
norm.green at gemtalksystems.com
Mon Dec 1 10:50:02 PST 2025
By default netldi starts in a mode that requires a host user id and host
password for security reasons.
If you don't provide those credentials then you will see errors like this.
To avoid, start netdli with the -g (guest mode) flag:
startnetldi -d -g
Norm Green
On 12/1/2025 10:31 AM, Tariq Hamid via Glass wrote:
> Dear James
>
> The log file: /opt/gemstone/log/gs64ldi.log
> shows the error:
>
> --- 12/01/25 18:23:41.186 GMT Client 1: Finished reading client request:
>
> Client is a rpc application onlocalhost
>
> '!#encrypted:tariq!gemnetobject'
>
> Status byte to client: ok=1, useKerberos=0.
>
> Shutting down SSL connection
>
> 12/01/25 18:23:41 GMT Authorization Warning:
>
> Incorrect password for user 'tariq'.
>
> error =
>
> hostpw decryptionfailed
>
>
> But I am using the Gemstone user SystemUser or DataCurator with the
> default password, swordfish
> I have not supplied my MacBook username, tariq or password.
>
>
> Here is more output:
>
> topaz> set user DataCurator pass swordfish gems gs64stone gemn
> gemnetobject
>
> Warning: clearing the previous GemStone password.
>
> topaz> login
>
> [01/12/2025 18:07:33.259 GMT]
>
> gci login: currSession 1rpc gem processId 7008 socket 4
>
> successful login
>
> topaz 1> printit
>
> 1+1
>
> %
>
> 2
>
>
> % stopnetldi
>
> stopnetldi[Info]: GemStone version '3.7.4.3'
>
> stopnetldi[Info]: GemStone server 'gs64ldi' has been stopped.
>
> tariq at Tariqs-MacBook-Pro-2 64bit % rm /opt/gemstone/log/gs64ldi.log
>
> tariq at Tariqs-MacBook-Pro-2 64bit % startnetldi -d
>
> startnetldi[Info]: setting GEMSTONE_NRS_ALL='!#netldi:gs64ldi'
>
> startnetldi[Info]: GemStone version '3.7.4.3'
>
> startnetldi[Info]: Starting GemStone network server 'gs64ldi'.
>
> startnetldi[Info]: GEMSTONE is:
> '/Users/tariq/GemStone64Bit3.7.4.3-arm64.Darwin'
>
> startnetldi[Info]: Log file is '/opt/gemstone/log/gs64ldi.log'.
>
> startnetldi[Info]: GemStone server 'gs64ldi' has been started, process
> 7465
>
>
>
>
> image.png
>
> % more /opt/gemstone/log/gs64ldi.log
>
> Server socket gs64ldi created
>
> Summary of netldi parameters:
>
> The host name is 'Tariqs-MacBook-Pro-2.local'.
>
> GEMSTONE is'/Users/tariq/GemStone64Bit3.7.4.3-arm64.Darwin'.
>
> GEMSTONE_NRS_ALL is: '!#netldi:gs64ldi'.
>
> Authentication is required only to create processes.
>
> Process creation is permitted through user's HOME directory.
>
> Created processes belong to client's account.
>
> The command line is:
>
> /Users/tariq/GemStone64Bit3.7.4.3-arm64.Darwin/sys/netldid -d gs64ldi
>
> current directory is
> /Users/tariq/gemstone/src/clientLibs/3.7.4.3/64bit <http://3.7.4.3/64bit>
>
> --- 12/01/25 18:22:35.797 GMT Entering Service Loop
>
>
> --- 12/01/25 18:23:41.186 GMT Client 1: Finished reading client request:
>
> Client is a rpc application onlocalhost
>
> '!#encrypted:tariq!gemnetobject'
>
> Status byte to client: ok=1, useKerberos=0.
>
> Shutting down SSL connection
>
> 12/01/25 18:23:41 GMT Authorization Warning:
>
> Incorrect password for user 'tariq'.
>
> error =
>
> hostpw decryptionfailed
>
> --- 12/01/25 18:23:41.188 GMT Client 1: Reply to client started:
>
> 'ERRORNetldi 'gs64ldi' on host 'Tariqs-MacBook-Pro-2.local' reports
> the request 'gemnetobject' failed: '
>
> --- 12/01/25 18:23:41.189 GMT Client 1: Disposed. elapsed time = 3ms
>
>
> Many thanks !
>
> Tariq
>
>
>
> On Mon, 1 Dec 2025 at 18:06, James Foster <Smalltalk at jgfoster.net> wrote:
>
> Dear Tariq,
>
> Well, that covered the easy possible problems. From there, I would
> be inclined to restart the NetLDI process in debug mode (add `-d`
> to the command line), then look at the NetLDI log file to see if
> it received a connection request and whether it has any details.
> Next, I would try `topaz -r` to see if you can connect that way
> (`set user DataCurator pass swordfish gems gs64stone gemn
> gemnetobject` followed by `login`).
>
> I realize that these suggestions are a bit vague. I’m about to
> board a plane so can’t same much more now. At this point I should
> probably leave it to someone with more expertise in Jadeite.
>
> James
>
>> On Dec 1, 2025, at 10:46 AM, Tariq Hamid <tariq at hamid.com> wrote:
>>
>> Dear James
>>
>> Yes, Jadeite Pharo is running on the same host as Gemstone.
>>
>> As requested:
>>
>> % gslist -cvl
>> StatusVersionOwner Pid Port Started Type Name
>> ---------------- --------- -------- ----- ------------ ----------
>> OK 3.7.4.3 tariq977 50377 Nov 26 13:50 Netldigs64ldi
>> OK 3.7.4.3 tariq831 51054 Nov 26 13:44 Stone gs64stone
>> OK 3.7.4.3 tariq832 51052 Nov 26 13:44 cache
>> gs64stone~e65467ac4c061631
>>
>> % tail /etc/services
>> # 48130-48555 Unassigned
>> com-bardac-dw 48556/udp# com-bardac-dw
>> com-bardac-dw 48556/tcp# com-bardac-dw
>> # Nicholas J Howes <nick at ghostwood.org>
>> # 48557-49150 Unassigned
>> # 49151 IANA Reserved
>>
>> gs64ldi 50377/tcp #GemStone/S 64 Bit 3.7.4.3
>>
>>
>> Many thanks
>> Tariq
>>
>> On Mon, 1 Dec 2025 at 16:52, James Foster
>> <Smalltalk at jgfoster.net> wrote:
>>
>> What do you get from `gslist -cvl`? Is `gs64ldi` in your
>> `/etc/services` file? Is Jadeite on the same host?
>>
>> James
>>
>>> On Dec 1, 2025, at 9:41 AM, Tariq Hamid via Glass
>>> <glass at lists.gemtalksystems.com> wrote:
>>>
>>> Dear Gemstoners
>>>
>>> My Jadeite does not connect.
>>>
>>> Gemstone is running locally on my MacBook:
>>> % gslist
>>> StatusVersionOwner Started Type Name
>>> ---------------- --------- ------------ ----------
>>> exists 3.7.4.3 tariq Nov 26 13:50 Netldigs64ldi
>>> exists 3.7.4.3 tariq Nov 26 13:44 Stone gs64stone
>>> exists 3.7.4.3 tariq Nov 26 13:44 cache
>>> gs64stone~e65467ac4c061631
>>>
>>> I have unzipped the client libraries:
>>> % pwd
>>> /Users/tariq/gemstone/src/clientLibs/3.7.4.3/64bit
>>> <http://3.7.4.3/64bit>
>>> % ls
>>> libgbjts320.dyliblibgcits-3.7.4.3-64.dyliblibssl-3.7.4.3-64.dylib
>>>
>>> libgcirpc-3.7.4.3-64.dyliblibkrb5-3.7.4.3-64.dylib
>>>
>>> <image.png>
>>>
>>> I click connect:
>>> <image.png>
>>> error contacting GemService, ssl call to netldi failed, ;
>>> Netldi 'gs64ldi' on host 'Tariqs-MacBook-Pro-2.local'
>>> reports the request 'gemnetobject' failed:
>>>
>>> Any suggestions?
>>>
>>> Muchas Gracias Amigos
>>> _______________________________________________
>>> Glass mailing list
>>> Glass at lists.gemtalksystems.com
>>> https://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>
>
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/glass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20251201/ecf4b051/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 526714 bytes
Desc: not available
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20251201/ecf4b051/attachment-0001.png>
More information about the Glass
mailing list