🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent
    1. Home
    2. afe038
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by afe038

    • RE: User Login Timeout

      @peopleinside, sure thing, I will try to setup the demo and a private ticket.

      posted in Technical Help
      A
      afe038
    • RE: User Login Timeout

      @peopleinside @Komal-Sharma ,

      I'm still experiencing the issue after even after following the steps!

      BR,
      Agron

      posted in Technical Help
      A
      afe038
    • RE: User Login Timeout

      @Komal-Sharma said in User Login Timeout:

      for

      Hi @Komal-Sharma,

      I just checked, apart from the configuration of the email services and modification of the templates, no other change was performd (beside the modification of the framework.yaml file).

      Kind regards,
      Agron

      posted in Technical Help
      A
      afe038
    • RE: User Login Timeout

      Hi @Komal-Sharma

      Please find below my framework.yaml file:

      $ cat config/packages/framework.yaml
      # see https://symfony.com/doc/current/reference/configuration/framework.html
      framework:
          secret: '%env(APP_SECRET)%'
          #csrf_protection: true
          http_method_override: false
      
          # Enables session support. Note that the session will ONLY be started if you read or write from it.
          # Remove or comment this section to explicitly disable session support.
          session:
            handler_id: session.handler.native_file
            storage_factory_id: session.storage.factory.native
            save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
            #2 Days lifetime (172800 seconds)
            cookie_lifetime: 172800
            cookie_secure: 'auto'
            cookie_samesite: 'lax'
      
      
          #esi: true
          #fragments: true
          php_errors:
              log: true
      
      when@test:
          framework:
              test: true
              session:
                  storage_factory_id: session.storage.factory.mock_file
      

      Please find the log here: https://notepad.link/y3jrz

      posted in Technical Help
      A
      afe038
    • RE: User Login Timeout

      @Komal-Sharma

      I have updated the framework.yaml file as instructed (cleared the cache, etc), but my session is still termintated on default timeout.

          session:
            handler_id: session.handler.native_file
            storage_factory_id: session.storage.factory.native
            save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
            #2 Days lifetime (172800 seconds)
            cookie_lifetime: 172800
            cookie_secure: 'auto'
            cookie_samesite: 'lax'
      

      I can see that the session files are present on the var/sessions/prod folder:

      $ ls -ltr
      total 16
      -rw------- 1 xxxx xxxx 5731 Mar 20 11:04 sess_5ba960f1dd644841ce1bd23039064a7f
      -rw------- 1 xxxx xxxx    0 Mar 20 11:26 sess_0eed0aa1ac5b34ded6eeca85a7469761
      -rw------- 1 xxxx xxxx 5729 Mar 20 11:27 sess_5839f77cacb7880a945f2e4bd2f6a466
      

      Bare in mind I'm running the uvdesk/community-skeleton:dev-master

      Kind regards,
      A.

      posted in Technical Help
      A
      afe038
    • RE: UVDesk not sending emails with SMTP (ssl)

      @Komal-Sharma, done!

      posted in Technical Help
      A
      afe038
    • RE: UVDesk not sending emails with SMTP (ssl)

      Hi @Komal-Sharma ,

      All good with this version! It seems swiftmailer is not used anymore!

      Thanks a lot for your support!

      Kind regards,
      Agron

      posted in Technical Help
      A
      afe038
    • RE: UVDesk not sending emails with SMTP (ssl)

      Hi @Komal-Sharma,

      I installed the mentioned version, after I complete the installation there the member login page is not getting loaded properlly:

      4397c919-664d-4587-89d5-3e76f49e8547-image.png

      I noticed that the forntend is trying to load the js & css resources from:

      GET https://domain.com/uvdesk/public/bundles/uvdeskcoreframework/js/_dropdown.js net::ERR_ABORTED 404

      GET https://domain.com/uvdesk/public/bundles/uvdeskcoreframework/css/_uikit.css net::ERR_ABORTED 404

      This was not the case on the previous version!

      BR,
      A

      posted in Technical Help
      A
      afe038
    • RE: UVDesk not sending emails with SMTP (ssl)

      Hi @Komal-Sharma

      I'm using Zoho mail service.

      Mailbox setup is OK. I'm receiving emails/tickets:

      $ php bin/console uvdesk:refresh-mailbox email@domain.com
      
       1. Processing uvdesk mailbox configuration.
      
       2. Opening imap stream... 
      
       3. IMAP stream opened.
      
       4. Fetching Email collection since 08 March 2023.
      
       5. Total fetched email -> 1
      
       6. Starting to convert Emails into Tickets -> 
      =============================================
      =============================================
      
      
        Converting email 1 out of 1.
      
       Mailbox refreshed successfully !!!
      
      

      The issues is that I don't have any errors when I'm sending replies 😞

      9b792252-2315-4af4-8aae-cd9639c2c558-image.png

      As explained, I also created a sample php script (using SwiftMail) and it's sending emails with the same credentials.

      I noticed that there is a configuration on the .env file:

      ###> symfony/swiftmailer-bundle ###
      # For Gmail as a transport, use: "gmail://username:password@localhost"
      # For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
      # Delivery is disabled by default via "null://localhost"
      MAILER_URL=null://localhost
      ###< symfony/swiftmailer-bundle ###
      

      Do I need to change this as well (althogh not mentioned in some of the HowTos)?

      Kind regards,
      A.

      posted in Technical Help
      A
      afe038
    • UVDesk not sending emails with SMTP (ssl)

      Hi to all,

      I have a fresh setup and all works OK apart from email delivery. I have followed the guides and also checked other already solved topics within the forum but still didn't manage to solve that. My config files (anonymized the domain, email, smtp, imap data):

      $ cat config/packages/uvdesk.yaml 
      
      parameters:
          app_locales: en|fr|it
          
          # Default Assets
          assets_default_agent_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-batman.png'
          assets_default_customer_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-ironman.png'
          assets_default_helpdesk_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-uvdesk.png'
      
          uvdesk_site_path.member_prefix: _member_
          uvdesk_site_path.knowledgebase_customer_prefix: _customer_
          
          # File uploads constraints
          # @TODO: Set these parameters via compilers
          max_post_size: 8388608
          max_file_uploads: 20
          upload_max_filesize: 2097152
      
      uvdesk:
          site_url: 'real_url/uvdesk/public'
          upload_manager:
              id: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost
          
          support_email:
              id: email@domain.com
              name: Domain SSC
              mailer_id: my-support-swift
          
          # Default resources
          default:
              ticket:
                  type: support
                  status: open
                  priority: low
              templates:
                  email: mail.html.twig
      
      
      #######
      $ cat config/packages/uvdesk_mailbox.yaml 
      uvdesk_mailbox:
          emails: ~
              # Often Reply emails like from gmail contains extra and redundant previous mail data.
              # This data can be removed by adding delimiter i.e. specific line before each reply. 
              # delimiter: '<-- Please add content above this line -->'
              # enable_delimiter: true
          
          # Configure your mailboxes here
          mailboxes:
              support-mailbox:
                  name: Domain Support Mailbox
                  enabled: true
                  deleted: false
      
                  # [SMTP] Outgoing mail server
                  # Swiftmailer smtp mailer to use for sending emails through on behalf of this mailbox
                  smtp_server: 
                      mailer_id: my-support-swift
      
                  # [IMAP] Incoming mail server
                  # IMAP configurations to use for fetching emails from mailbox
                  imap_server:
                      host: '{imap.domain.com:993/ssl}'
                      username: email@domain.com
                      password: xxxxxxx
      
      ######
      $ cat config/packages/swiftmailer.yaml 
      swiftmailer:
          default_mailer: my-support-swift
          mailers:
              domain-support-swift:
                  transport: smtp
                  username: email@domain.com
                  password: xxxxxx
                  host: smtp.domain.com
                  port: 465
                  encryption: ssl
                  auth_mode: login
                  sender_address: email@domain.com
                  delivery_addresses: ['']
                  disable_delivery: false
      
      

      IMAP parsing of emails to tickets is working OK. I have also tested the SMTP connectivity to my SMTP service via a PHP script and it is OK. I have also tried to use GMAIL, I had the same behaviour (emails received and non sent).

      I have added the:

      dump($e->getMessage()); die; 
      

      But no log is generated. I switched to dev mode and nothing on the Profiler nor on the dev.log.

      Any ideas?

      BR,
      afe038

      posted in Technical Help
      A
      afe038