Code Monkey home page Code Monkey logo

Comments (14)

andreespirela avatar andreespirela commented on June 9, 2024

This is a tricky one since we are not showing an stacktrace of the error, when we should. I would suspect your postgres has a different authentication method than the ones supported..

@Saverio-Angelicola I will create a branch for this bug with a debug logger for the DB connection, and you could use that branch instead of deno.land/x just to get more information in the meantime. Would that work for you?

from mandarinets.

Saverio-Angelicola avatar Saverio-Angelicola commented on June 9, 2024

Yes, it's good.

from mandarinets.

andreespirela avatar andreespirela commented on June 9, 2024

@Saverio-Angelicola This is the branch github-283 , this is the mod.ts: https://raw.githubusercontent.com/mandarineorg/mandarinets/github-283/mod.ts

any other file you need from the repo, please use it from there.

In order to enable debug logs, please use DEBUG environment variable.
Ex.

DEBUG=true deno run myscript.ts

from mandarinets.

Saverio-Angelicola avatar Saverio-Angelicola commented on June 9, 2024

Here is the error I have now after using the mod.ts: https://raw.githubusercontent.com/mandarineorg/mandarinets/github-283/mod.ts.

image

from mandarinets.

andreespirela avatar andreespirela commented on June 9, 2024

Try again, remember to use the flag --reload so Deno fetches the module again @Saverio-Angelicola

from mandarinets.

Saverio-Angelicola avatar Saverio-Angelicola commented on June 9, 2024

It still doesn't work even with the flag --reload.

image

from mandarinets.

andreespirela avatar andreespirela commented on June 9, 2024

Please try again, sorry for the inconvenience. There was a merge conflict. @Saverio-Angelicola . Remember using --reload

from mandarinets.

Saverio-Angelicola avatar Saverio-Angelicola commented on June 9, 2024

I still have the same bug there are no differences.

image

from mandarinets.

andreespirela avatar andreespirela commented on June 9, 2024

@Saverio-Angelicola Are you still getting the one with this[msgType] is not a function, or that one went away?

from mandarinets.

Saverio-Angelicola avatar Saverio-Angelicola commented on June 9, 2024

This error is no longer there but restarting the server without the --watch flag I have this error:

image

from mandarinets.

andreespirela avatar andreespirela commented on June 9, 2024

Ok that's perfect.

cc @Soremwar . @Saverio-Angelicola is getting an unknown auth message code *10. Would you know what this is about? Thanks.

This is postgres version 0.5.0.

from mandarinets.

andreespirela avatar andreespirela commented on June 9, 2024

@Saverio-Angelicola Further discussion with @Soremwar , seems like authentication method number 10 is not supported but it is in latest versions, I will be submitting a patch version throughout the day and that should solve the issue.

from mandarinets.

Saverio-Angelicola avatar Saverio-Angelicola commented on June 9, 2024

OK thank you for your answer.

from mandarinets.

andreespirela avatar andreespirela commented on June 9, 2024

@Saverio-Angelicola After further investigation, The latest version of Postgres used by Mandarine is only compatible with Deno 1.9.0, deno 1.9.0 breaks many of our tests (already solved in master branch) but will not be able to create a release since it will be unstable. Best is to way for Mandarine v3.0.0. We apologize for this inconvenience, Mandarine v3.0.0 will be available soon.

from mandarinets.

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.