Skip to content

Error occurred while trying to proxy request to an https host #553

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

Closed
KangKai-fe opened this issue Aug 9, 2017 · 1 comment · May be fixed by FDiskas/vue-cli#4 or sayanriju/vue-cli#5
Closed

Error occurred while trying to proxy request to an https host #553

KangKai-fe opened this issue Aug 9, 2017 · 1 comment · May be fixed by FDiskas/vue-cli#4 or sayanriju/vue-cli#5

Comments

@KangKai-fe
Copy link

KangKai-fe commented Aug 9, 2017

When I tried to proxy request to an https host, I got 'EPROTO' error, help, please.

// config/index.js
proxyTable: {
  '/salt': {
    target: 'https://192.168.1.234:8443',
    changeOrigin: true
  }
}

my host: http://192.168.1.233:8080
api server host: https://192.168.1.234:8443

error log:

[HPM] Error occurred while trying to proxy request /salt/salt2rice/bask/lisNewtByPublish?pageSize=5&pageIndex=1 from 192.168.1.233:8080
to https://192.168.1.234:8443 (EPROTO) (https://nodejs.org/api/errors.html#errors_common_system_errors)
@posva
Copy link
Member

posva commented Aug 9, 2017

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.
This looks related to a specific template as well, so make sure to provide the name of the template you're using, if it turns out to actually be a bug, please, report it to the template's repository

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