Getting error: SetError() #22: open(): No such path or directory.
Posted: Thu Apr 10, 2025 1:29 pm
Getting error "SetError() #22: open(): No such path or directory. " in my IFS log file when I using
rc = http_get(%trim(fullURL): response);
"fullURL" has the url and the data i'm trying to execute. After I run it the "response" = Blank and
http_debug(*on: '/tmp/smarty_debug.txt'); I'm getting the error in my log file on IFS.
if I copy and paste the URL request in my browser it works. Just not working from the IBMi.
Notes:
1. I can ping the url from the ibmi
2. I'm using HTTPS
3. I'm using http_get
4. rc always return -1
5. I tried the same program on 3 different IBMi system on 3 different networks. Same problem.
Any help. Thanks.
rc = http_get(%trim(fullURL): response);
"fullURL" has the url and the data i'm trying to execute. After I run it the "response" = Blank and
http_debug(*on: '/tmp/smarty_debug.txt'); I'm getting the error in my log file on IFS.
if I copy and paste the URL request in my browser it works. Just not working from the IBMi.
Notes:
1. I can ping the url from the ibmi
2. I'm using HTTPS
3. I'm using http_get
4. rc always return -1
5. I tried the same program on 3 different IBMi system on 3 different networks. Same problem.
Any help. Thanks.