Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

REST Client - query not being sent

$
0
0
I have a transformation setup to run a REST query. I have a URL set and it's setup to make a GET request.

I am running a local Wildfly server and have a filter setup to dump all request information that comes in. This works. If I get the url with CURL:

Code:

curl --insecure https://127.0.0.1:8443/rest/v1/bd-user/find/mike
I see the response from Wildfly's filter in the logs:

Quote:

09:33:26,625 INFO [io.undertow.request.dump] (default task-12)
----------------------------REQUEST---------------------------
URI=/rest/v1/bd-user/find/mike
characterEncoding=null
contentLength=-1
contentType=null
header=Accept=*/*
header=User-Agent=curl/7.43.0
header=Host=127.0.0.1:8443
locale=[]
method=GET
protocol=HTTP/1.1
queryString=
remoteAddr=/127.0.0.1:62589
remoteHost=localhost
scheme=https
host=127.0.0.1:8443
serverPort=8443
--------------------------RESPONSE--------------------------

... snip ...
This shows me that my logging and server is setup properly, I see the request and response.

However, when I run the REST endpoint, I see this in the PDI logs:

Quote:

REST Client.0 - Connecting to [https://127.0.0.1:8443/rest/v1/bd-user/find/mike] ...
I do not see any information from Wildfly. It looks like the REST request is not even being sent. Why is that? I see the log message > 100 times (once for each row) but no exceptions but the flow in PDI goes to the error step. If I preview the error step, I see no extra data - neither the response nor any errors.

Why is PDI not sending the request? I have tried it with HTTP and HTTPS, as well as with headers and without. When I add headers, I see PDI adding them in the log, but it's not sending the request. Any ideas?

Here is a screen shot of the setup:

http://image.prntscr.com/image/d4271...8bc6837b1c.png

Viewing all articles
Browse latest Browse all 16689


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>