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

Failed to parse URL when using $fetch plugin + proxy #833

Open
lammerfalcon opened this issue Jul 20, 2024 · 1 comment
Open

Failed to parse URL when using $fetch plugin + proxy #833

lammerfalcon opened this issue Jul 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lammerfalcon
Copy link

lammerfalcon commented Jul 20, 2024

Environment


  • Operating System: Darwin
  • Node Version: v20.12.2
  • Nuxt Version: 3.12.4
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: npm@10.5.0
  • Builder: -
  • User Config: modules, app, css, routeRules, runtimeConfig, colorMode, ui, devtools
  • Runtime Modules: @nuxt/ui@2.17.0, @nuxtjs/i18n@8.3.1, @nuxt/image@1.7.0, @pinia/nuxt@0.5.1, @samk-dev/nuxt-vcalendar@1.0.4, @nuxt/fonts@0.6.1, nuxt-monaco-editor@1.2.9
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-c51gfm-fpwdjf?file=app.vue,plugins%2Fapi.ts

Describe the bug

$fetch plugin with proxy cannot parse URL on server side
Error: [GET] "/api/auth/me": <no response> Failed to parse URL from /api/auth/me

Additional context

No response

Logs

No response

@lammerfalcon lammerfalcon added the bug Something isn't working label Jul 20, 2024
@lammerfalcon
Copy link
Author

@pi0 Hello! can you look at this bug please, really dont understand why this error happens. i want to proxy request custom $fetch plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant