Created 10-20-2023 11:39 AM
Hi,
I have been using the cdswctl tool for a while for creating sessions that can be accessed by VS Code from Windows.
Today i tried to create a session from a Mac using the same command and it throws an error complaining that the API key is not valid. I have checked the key and same key works fine from Windows.
The command i am using is :
./cdswctl login -n USERNAME -u http://cdsw.mydomain.xxxx/ -y APIKEY
Can anyone offer any advice?
Thanks
Created 11-02-2023 04:17 AM
So - it is related to proxy/dns settings when on RAS.
Adding a lookup to etc/hosts from the IP address to the Host name has fixed my issue:
e.g.
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
192.99.90.1 cdsw.XXXXXX.xxxx
Created 11-02-2023 04:17 AM
So - it is related to proxy/dns settings when on RAS.
Adding a lookup to etc/hosts from the IP address to the Host name has fixed my issue:
e.g.
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
192.99.90.1 cdsw.XXXXXX.xxxx
Created 11-02-2023 08:37 AM
Hmm, that makes sense I suppose. That was my next guess 😉 Glad you figured it out, and thanks for posting the answer here, I appreciate it!