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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃 [Question]: Fiber http with Cloudflare ssl reverse leading to 525, SSL handshake failed #2992

Closed
3 tasks done
nea opened this issue Apr 30, 2024 · 2 comments
Closed
3 tasks done

Comments

@nea
Copy link

nea commented Apr 30, 2024

Question Description

Hi there

I am trying to setup a just normally running app.Listen() behind a Cloudflare SSL instance. Configuration to IP and mapping works fine. But the issue is an error SSL handshake failed Error code 525 and I am not really sure what to do.

Is the only option I have if I want to TLS secure my server to have the certs myself or setup an autocert system? Is this additionally required? Can it be just Browser -> Cloudflare (SSL) -> Server (plain)?

Probably some stupid questions and I am just misreading/overlooking some things. I looked and Googled around but am a little lost right now (maybe its the weather ^^').

Thanks for any pointing in the right direction.

Thanks

Code Snippet (optional)

package main

import "github.com/gofiber/fiber/v3"
import "log"

func main() {
  app := fiber.New()

  // An example to describe the question

  log.Fatal(app.Listen(":3000"))
}

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my questions prior to opening this one.
  • I understand that improperly formatted questions may be closed without explanation.
Copy link

welcome bot commented Apr 30, 2024

Thanks for opening your first issue here! 馃帀 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord

@nea nea closed this as completed Apr 30, 2024
@nea
Copy link
Author

nea commented Apr 30, 2024

Strict handling issue... totally my bad. When writing about it, you just grasp my own idiocracy. Thousand times Sorry

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

No branches or pull requests

1 participant