GitHub user dmainou created a discussion: Rest connection: what am I doing wrong?
Hi All, thank you for your help! I'm trying to setup a rest connection to use instead of a full config of the rest step x n times. I am able to connect without issues if I configure the rest step, however, I can't seem to configure the rest connection. Can someone give me a hint as to what I'm doing wrong? <img width="1462" height="531" alt="image" src="https://github.com/user-attachments/assets/de57014e-25b1-47dc-b7d8-6d9eb29ca669" /> ``` javax.ws.rs.ProcessingException: URI is not absolute at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312) at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674) at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709) at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703) at org.glassfish.jersey.internal.Errors.process(Errors.java:292) at org.glassfish.jersey.internal.Errors.process(Errors.java:274) at org.glassfish.jersey.internal.Errors.process(Errors.java:205) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390) at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703) at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673) at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:413) at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:313) at org.apache.hop.metadata.rest.RestConnection.testConnection(RestConnection.java:115) at org.apache.hop.metadata.rest.RestConnectionEditor.test(RestConnectionEditor.java:205) at org.apache.hop.metadata.rest.RestConnectionEditor.lambda$createButtonsForButtonBar$2(RestConnectionEditor.java:187) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5862) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1652) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5072) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4524) at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:486) at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:364) Caused by: java.lang.IllegalArgumentException: URI is not absolute at java.base/java.net.URL.fromURI(URL.java:721) at java.base/java.net.URI.toURL(URI.java:1139) at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:371) at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:273) at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300) ... 21 more ``` GitHub link: https://github.com/apache/hop/discussions/5668 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
