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

Stripe DIY example errors: not reachable + incompatible encodings: ASCII-8BIT and UTF-8 #1941

Closed
j2l opened this issue Jan 3, 2024 · 3 comments

Comments

@j2l
Copy link

j2l commented Jan 3, 2024

Hello,
On ubuntu 22.04, docker 24.0.5, docker-compose 1.27.4, I setup killbill tenant according to https://docs.killbill.io/latest/stripe_plugin
when I run docker run -e PUBLISHABLE_KEY=pk_test_XXX -e KB_URL=http://host.docker.internal:8080 -ti -p4567:4567 killbill/stripe-demo fill info and click, I get an error I understand:
failed to open TCP connection to host.docker.internal:8080 ...
image
This way of calling internal address is not working on linux, containers are isolated, can't call each others until they are on the same network.

But even after settings the demo in the correct docker network, I get the error:

Internal Server Error
incompatible encodings: ASCII-8BIT and UTF-8
WEBrick/1.6.1 (Ruby/2.5.8/2021-06-15) at localhost:4567 

Is the doc up to date?

@reshmabidikar
Copy link
Contributor

Yes, the document at https://docs.killbill.io/latest/stripe_plugin is up to date. However, I'm not sure if the demo has been tested on Linux. If you were able to get it working on Linux, could you please let us know what worked so we can update the docs accordingly? If not, could you check if it works by cloning the code as explained here and reach out via the mailing list if you are still facing issues?

@j2l
Copy link
Author

j2l commented May 1, 2024

I can't. It was January, I moved to Django.

@j2l j2l closed this as completed May 1, 2024
@reshmabidikar
Copy link
Contributor

Thanks for responding. In order to get quicker responses in the future, I would suggest that you use the mailing list.

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