Closed kasir-barati closed 3 months ago
I guess I found the issue, it was related to docker and networking, it seems that when I run the nodejs app on its own on my local env and just dockerize fusionauth and its stack it is working but now when I dockerize my nodejs app alongside the fusionauth. Any idea on what is wrong?
I had to access fusionauth instance with its service name and not localhost
😜. Just look at my .env.example
to understand what was wrong.
I like to first express my gratitude and appreciation for this lovely library. So many thanks for maintaining and developing it :heart:.
Now let's talk about the issue I am dealing with, I have a simple nodejs app which utilizes
@fusionauth/typescript-client
to make requests to my local dockerized fusionauth instance but as of now it is getting a connection refused error but when I try to register and create a user with curl it works. So I like to know what is wrong with the library since I am following the docs and common sense.Here is the repo to reproduce this issue: https://github.com/kasir-barati/docker/tree/docker-compose/docker-compose-files/fusionauth-nodejs
I appreciate your comments and helps.