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

Connection Issues #1

Open
lquessenberry opened this issue Jan 23, 2020 · 0 comments
Open

Connection Issues #1

lquessenberry opened this issue Jan 23, 2020 · 0 comments

Comments

@lquessenberry
Copy link

I have mautic and suitecrm both running on Docker for local development.

I am using localhost for the suitecrm hostname. I am using localhost:81 for the mautic host name.

I have created an OAuth2 API on the mautic side and entered the client and secret key in the module configuration settings. For the return URI I have used http://localhost

I may be stuck in the weeds using localhost and 127.0.0.1 instead of an actual host name like suitecrm.dev or mautic.dev. I am merely trying to get the module to install and test with it.

Anyway, when it tries to redirect back, I get a white screen and I notice the URL is

http://127.0.0.1//index.php?module=Mautic&action=OauthAuthorize&state=779145b2f5da4476c5d24b0dd76336e1&code=NDRmYTAxMWEzYTliZDI0MDk2ZmYwNmNmMDk1YmQyZjM4MmI3N2VlZmU0ZjA4Mjg0NGE0ODZjYzU4YWIzMmY0Zg

There are 2 slashes after 127.0.0.1. This provides a blank screen. I have yet to look at logs.

When I change the URL to:

http://localhost/index.php?module=Mautic&action=OauthAuthorize&state=642d4a0e21cb8b9e78c927d308095982&code=ODA0OGUyODA2Y2YyOTQ5YjNhNjY0YTkwMzFlZmFhZjhhNGUxZTQ1ZmExZDRjMzYzOTllZjgyMTEzYjc2MTU3YQ

I get the following:

string(56) "The response has unexpected status code (0). Response: "

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

1 participant