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

When we create a project with docker port no. after that refresh mailbox then shows an error #107

Open
komal-sh-27 opened this issue Sep 4, 2023 · 0 comments
Labels
Bug Something isn't working Docker Regarding docker installation issues

Comments

@komal-sh-27
Copy link

Description
When we create a project with docker port no. after that refresh mailbox then shows an error

How to reproduce
Step 1: Install the project with docker using port number
Step 2: Now setup your swiftmailer, email settings, and mailbox then create new ticket or agents. Here mail going successfully with correct url

Step 3: Now refresh mailbox in project root directory then here shows an error like this:

root@73c0dbf0cf26:/var/www/uvdesk# php bin/console uvdesk:refresh-mailbox [email protected]

# Retrieving mailbox configuration details for [email protected]:

  - Establishing connection with mailbox
  - Fetching all emails since 03 September 2023
  - Found a total of 10 emails in mailbox since 03 September 2023

  # Processing all found emails iteratively:

    API http://localhost:4002/mailbox/listener

    - Processing email 1 of 2:

      ERROR Failed to connect to localhost port 4002: Connection refused

    - Processing email 2 of 2:

      ERROR Failed to connect to localhost port 4002: Connection refused

- Mailbox refreshed successfully!

Step 4: Here we check it site_url is correct in uvdesk.yaml file like this:

uvdesk:
    site_url: 'localhost:4002'
    upload_manager:
        id: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost

If We have removed port no. from site_url: 'localhost' then refresh again mailbox so here refreshed successfully without any error and also received emails to customer emails.

But received emails site url links click on here then shows an error because here port no. is not contains.

image

Possible Solution

If we have created a project using port no then should be refresh without any error.

@komal-sh-27 komal-sh-27 added Bug Something isn't working Docker Regarding docker installation issues labels Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Docker Regarding docker installation issues
Projects
None yet
Development

No branches or pull requests

1 participant