Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication failed: Basic authentication or X-Trino-User must be sent #381

Open
xihuishawpy opened this issue Apr 15, 2022 · 1 comment

Comments

@xihuishawpy
Copy link

xihuishawpy commented Apr 15, 2022

Yanagishima version: 20.0

trino version: trino377

conf/application.yml:
jetty.port=8083
presto.datasources=presto
presto.coordinator.server.presto=http://ip:port
catalog.presto=oracle
schema.presto=xxx
sql.query.engines=presto
auth.presto=false

JVM version (java -version):
java11

Description of the problem including expected versus actual behavior:

Authentication failed: Basic authentication or X-Trino-User must be sent

image

how to fix the problem??

@datta90
Copy link

datta90 commented Oct 25, 2022

please set this property in config.properties of trino
protocol.v1.alternate-header-name=Presto
and restart trino
it worked for me in trino 397.

also you need to enable https in trino otherwise yanagishima does not connect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants