Hello <@UDQU92KBK> <@UDRJ7G85T> I wrote a simple...
# troubleshooting
m
Hello @Mayank @Kishore G I wrote a simple java class to connect Pinot cluster locally, I am able to Get table config, able to call Post APIs pause and resume tables, however while updating the table config using PUT Api getting java.util.concurrent.Timeoutexception Has anyone reported this behaviour? Raised startree ticket
m
Can you try swagger api?
m
Yes that works fine.
m
What's the difference between the rest call that swagger makes and that your code makes?
m
Issue was able to reproduce on 1.1, 1.3 & Startree 1.4
The api is exactly same I am surprised too. Does Swagger API internally runs curl commands?
m
Can you copy paste the curl command that Swagger api shows and run that?
m
If you see my logs attched to the ticket seems failing in class TCPNIOTransportFilter handleread method.
Yes, tried the curl via postman that also works fine
m
Then it has to be your java class right?
m
What would be the difference if same url getting executed via Swagger api and in java class using HttpRequest?
m
I don't know what exact request is your code generating. But beyond that, another difference is where is that code running from and does it have network access to Pinot. Swagger runs on thec ontroller