Skip to content

Bigquery connection failing #143

Closed
Closed

Description

@Navrooz

I have been trying to connect VulcanSQL with BigQuery but receive an error 'Not found'.

Also, not getting any endpoints in /localhost/doc
image

image

The credentials file is working fine as I tested the connection with DBeaver.

  • profiles, vulcan, sql and yaml files are at the below link.

Files: https://drive.google.com/drive/folders/1g1lyEG32x63hAzrIo2JK8vFAk5GpNC1U?usp=sharing

Activity

  1. wwwy3y3 commented on Feb 4, 2023

    @wwwy3y3
    Member

    hi @Navrooz , thanks for your issue report. We'll check out your attached files and see what's going on.

  2. JSYOU commented on Feb 4, 2023

    @JSYOU
    Contributor

    Hi @Navrooz, based on your configuration in vulcan.yaml, the files user.sql and user.yaml need to be placed in the sqls folder in order for it to run correctly.

    image

    Please create a sqls folder and move user.sql and user.yaml into it, then try again. Thank you.

    image

  3. self-assigned this
    on Feb 4, 2023
  4. Navrooz commented on Feb 6, 2023

    @Navrooz
    Author

    @JSYOU -Hi, Thank you for your reply !
    Both the user.sql and user.yaml files are already in sqls folder.
    vulcanTest-1

  5. JSYOU commented on Feb 6, 2023

    @JSYOU
    Contributor

    Hi @Navrooz ,
    Have you successfully executed your project?

  6. Navrooz commented on Feb 6, 2023

    @Navrooz
    Author

    I tried but as I shared in the screenshots, I get an error 'Not Found' and blank 'localhost:3000/doc' page. It seems like Vulcan is not parsing the endpoint.

  7. JSYOU commented on Feb 7, 2023

    @JSYOU
    Contributor

    Hi @Navrooz ,
    Are you using the vulcan start command in the vulcanTest-1 directory?

    We recommend that the working directory be in the same location as the vulcan.yaml.

    If you want to use the vulcan start --config ./vulcanTest-1/vulcan.yaml command from the upper directory, you need to add ./vulcanTest-1/ to the path of folderPath, 'profiles', keyFilename in vulcan.yaml and profiles.yaml.

    for example:
    Directory Structure
    image

    vulcan.yaml
    image

    profiles.yaml
    image

  8. Navrooz commented on Feb 7, 2023

    @Navrooz
    Author

    Hi @JSYOU ,

    Thank you for your valuable suggestion.

    I am executing the vulcan start command from the vulcanTest-1 directory which has vulcan.yaml, profiles and creds file in it.The result is still the same (Blank home page with no endpoints and 'Not Found' error on API endpoint). Please let me know if you need any files from my end for investigation.

    image

    image

    image

    image

    image

  9. wwwy3y3 commented on Feb 7, 2023

    @wwwy3y3
    Member

    hi @Navrooz
    Can you also provide following information ?

    • Version:
      Use command vulcan version to get your packages' version

      cli version: 0.1.0-alpha.1
      core version: 0.1.0-alpha.1
      build version: 0.1.0-alpha.1
      serve version: 0.1.0-alpha.1
      
    • OS: macOS, windows 11 ...

  10. Navrooz commented on Feb 7, 2023

    @Navrooz
    Author

    Yes sure. Here's the extract:
    OS: Windows 11
    image

  11. oscar60310 commented on Feb 8, 2023

    @oscar60310
    Contributor
  12. Navrooz commented on Feb 8, 2023

    @Navrooz
    Author

    So, is there any workaround for sqls in Windows ?

  13. Navrooz commented on Feb 10, 2023

    @Navrooz
    Author

    You are right, the problem is with listing issue .I tried to reproduce the issue and below are my findings.

    1.The demo project https://vulcansql.com/docs/quickstart runs fine. However, if I modify the sql path in vulcan.yaml then I am encountering the same issue as with my project i.e. no endpoints appearing in localhost:3000/doc

    VulcanTesting-1
    VulcanTesting-2

    2. I changed code as described in your above comment and tried executing the project but no luck.

    VulcanTesting-5
    VulcanTesting-6
    VulcanTesting-7

    3.Tried running the project in Linux environment on Windows using WSL. It's not able to install dependencies and fails at building project stage.

    VulcanTesting-8

  14. wwwy3y3 commented on Feb 13, 2023

    @wwwy3y3
    Member

    @Navrooz We're fixing this windows issue in #145.

    Please give us some time to do a proper PR review.

    We'll release a new version after this PR get merged.

  15. wwwy3y3 commented on Feb 18, 2023

    @wwwy3y3
    Member

    hi @Navrooz thanks for your patience. This windows path issues has been fixed at release v0.3.2.

    Please upgrade your version and let us know if it resolves your issues. We'll close this issue in a few days if it's resolved or other issues come up unrelated to this windows path parsing issue.

    If there are other windows development issues, please do share with us at our discussion thread: #148

  16. Navrooz commented on Feb 22, 2023

    @Navrooz
    Author

    @wwwy3y3 Thank you for the update!

    I am able to establish the connection and receive response now.

  17. wwwy3y3 commented on Feb 22, 2023

    @wwwy3y3
    Member

    @Navrooz Glad to hear that!

    If there are other windows development issues come up, please do let us know at our discussion thread: #148

    Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions