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

Support IPv6 #191

Closed
1 task done
nuvme-devops opened this issue Apr 18, 2023 · 5 comments · Fixed by #192
Closed
1 task done

Support IPv6 #191

nuvme-devops opened this issue Apr 18, 2023 · 5 comments · Fixed by #192
Assignees
Labels
type:feature_request Feature request

Comments

@nuvme-devops
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the problem to be solved

We are trying to use the image on a K8S only IPv6.
I was not successful when using env LISTEN_ADDR, with "[::]" and "::".

Log:
listen tcp4: address :::8080: too many colons in address

Suggest a solution

No response

Additional context

No response

@tarampampam
Copy link
Owner

tarampampam commented Apr 20, 2023

@nuvme-devops Could you test the following tag tarampampam/error-pages:issue-191, please?

@nuvme-devops
Copy link
Author

Thanks for the feedback.
Here are the logs:

LISTEN_ADDR = "::"

{"level":"info","ts":1682010798.9243267,"msg":"We will use the requested template","name":"ghost"}
--
Thu, Apr 20 2023 2:13:18 pm | {"level":"info","ts":1682010798.9245071,"msg":"Server starting","addr":"::","port":8080,"default error page":"404","default HTTP response code":404,"proxy headers":[],"show request details":false,"localization disabled":false}
Thu, Apr 20 2023 2:13:18 pm | listen tcp6: address :::8080: too many colons in address

LISTEN_ADDR = "[::]"
Thu, Apr 20 2023 2:12:02 pm | wrong IP address [[::]] for listening

@tarampampam
Copy link
Owner

Oh, sorry, I was in a hurry not to check on my side.

Could you pull an updated tag tarampampam/error-pages:issue-191 and try again?

@nuvme-devops
Copy link
Author

@tarampampam worked perfectly!

Thank you so much!

Env:

env:
- name: LISTEN_ADDR
   value: "::" 
- name: TEMPLATE_NAME
   value: "ghost"  

Log:
{"level":"info","ts":1682079014.4915595,"msg":"Server starting","addr":"::","port":8080....

@tarampampam
Copy link
Owner

tarampampam commented Apr 21, 2023

Released in v2.24.0. Feel free to use it when this will be done

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

Successfully merging a pull request may close this issue.

2 participants