Giter Site home page Giter Site logo

Comments (5)

nk-gears avatar nk-gears commented on May 30, 2024

I had a suspect that this happens due to a network latency. Then i created a VM in US Region and installed paconn and tried. To my surprise the same connector.json worked in just 20 seconds.

So, you need to check how to deal with the network latency due to geographical usage. I reside in India and i am decided not to use PACONN from my terminal anymore.

from powerplatformconnectors.

maventis avatar maventis commented on May 30, 2024

I have exactly the same issue and I agree with you @nk-gears, it seems to be latency-based as I tried the same as you except with a proxy instead, and it worked fine within 20 seconds.

from powerplatformconnectors.

mmurshed avatar mmurshed commented on May 30, 2024

Hi,
I think I have some idea about the problem. I think the rest call is returning with an empty response due to latency most likely. The CLI is trying to parse the empty response and fails with JSON error. The resolution would be to not parse empty response and output to console saying that it encountered and empty response.

Since latency isn't an issue for me I can't reproduce. Would any of you be willing to help me test this fix? @maventis @nk-gears

from powerplatformconnectors.

nk-gears avatar nk-gears commented on May 30, 2024

@mmurshed I started using a VPN (TunnelBear) and then run the paconn update. Now i no more have this error as the latency issue is resolved.

I can definitely test and send you the results related to the empty JSON fix. But that doesn't solves the actual problem which the users are facing on other side of the globe.

What i recommend is, when uploading the changes to the server via update, it will be great if you use some compression techniques while POSTing them to the PACONN server. This way we will have a huge benefit for users who have 400+ operations in a single swagger file.

from powerplatformconnectors.

nk-gears avatar nk-gears commented on May 30, 2024

@mmurshed Closing this as i am using VPN to paconn update to resolve latency.

from powerplatformconnectors.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.