You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, guys but I'm trying to connect my frontend to multisite wp backend and no luck yet. Basically, from browser perspective everything works fine (I'm able to open both my WP REST APIs using browser). Unfortunately, when frontend (NextJS) is trying to reach WP REST API on server side using node wpapi, it crashes (ECONNREFUSED).
My only assumption is that when frontend frontend tries to GET from WP it uses docker container name instead of real domain name so maybe that casues issues in WP?
I found this closed isssue - #204 - but unfortunately in my case it doesn't work.
Could you please give me any advices on that? @tinhochu did you solve this somehow?
The text was updated successfully, but these errors were encountered:
Hello, guys but I'm trying to connect my frontend to multisite wp backend and no luck yet. Basically, from browser perspective everything works fine (I'm able to open both my WP REST APIs using browser). Unfortunately, when frontend (NextJS) is trying to reach WP REST API on server side using node wpapi, it crashes (ECONNREFUSED).
My only assumption is that when frontend frontend tries to GET from WP it uses docker container name instead of real domain name so maybe that casues issues in WP?
I found this closed isssue - #204 - but unfortunately in my case it doesn't work.
Could you please give me any advices on that? @tinhochu did you solve this somehow?
The text was updated successfully, but these errors were encountered: