Jump to content

Castris

Members
  • Posts

    14
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Castris's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Bueno ya esta solventado. Pese a que el dominio mail.domain.tld exista, y funcione a nivel clientes con aplicaciones WMTP, no funciona con prestashop 1.7.7.6, e imagino que debido a una programación (deficitaria) con la libreria Swiftmailer. Yo tengo muchos proyectos realizados con dicha libreria usada por laravel o con Symfony, y puedo usar perfectamente el servidor del cliente, el lugar del servidor de correo. Hay que usar, si o si, el nombre del servidor de correo. Grcais.
  2. Hola @w3bsolutions > La cuenta existe. ? Si. Prueba de concepto (los datos de usario y password estan modificados por seguridad) El servidor de correo esta en la misma máquina. ❯ perl -MMIME::Base64 -e 'print encode_base64("user\@domain.tld");' dGllbmRhQGdyYW5hZGFjZi5lcw== ❯ perl -MMIME::Base64 -e 'print encode_base64("olFDHASHSHSHSHASwq");' b2xGRERVAHGSggshYnNRU0FTd3E= ❯ telnet $h $p Trying 178.32.236.129... Connected to servidor.domain.tld. Escape character is '^]'. 220 servidor.domain.tld ESMTP Exim 4.94.2 Mon, 05 Jul 2021 11:57:56 +0000 EHLO test 250-servidor.domain.tld Hello XXX.red-83-35-114.dynamicip.rima-tde.net [83.35.XXX.XXX] 250-SIZE 52428800 250-8BITMIME 250-PIPELINING 250-PIPE_CONNECT 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP AUTH LOGIN 334 VXNlcm5hbWU6 dGllbmRhQGdyYW5hZGFjZi5lcw== 334 UGFzc3dvcmQ6 b2xGRERVAHGSggshYnNRU0FTd3E= 235 Authentication succeeded
  3. @Axios por favor. elimina los textos con el nombre del servidor. Lo puse en una imagen pero no en texto, po rfavor, no son datos para poner. Por lo demas, a día de hoy el servidor es el servidor sea el dominio de la tienda el que sea. El servidor es una cosa y la tienda es otra. Adema,s el error ni trata de estas cuestiones sino de un problema de comunición de una app con un servidor En el post inicial hay una prueba de concepto desde el propio shell, para eliminar problemas del analisis. Gracias de todas formas por tu respuesta,.
  4. Servidor software: exim. Puerto: 465 Seguridad TLS user y contraseña Servidor: el hostname con certificado Prueba de concepto de operatividad TLS en el puerto indicado root@tiendas:/home/admin/domains# h=tiendas.midominio.tld root@tiendas:/home/admin/domains# p=465 root@tiendas:/home/admin/domains# openssl s_client -connect $h:$p -tls1_2 CONNECTED(00000003) depth=2 C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority verify return:1 depth=1 C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA verify return:1 depth=0 CN = *.midominio.tld verify return:1 --- Certificate chain 0 s:CN = *.midominio.tld i:C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA 1 s:C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA i:C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority 2 s:C = US, ST = New Jersey, L = Jersey City, O = The USERTRUST Network, CN = USERTrust RSA Certification Authority i:C = GB, ST = Greater Manchester, L = Salford, O = Comodo CA Limited, CN = AAA Certificate Services 3 s:C = GB, ST = Greater Manchester, L = Salford, O = Comodo CA Limited, CN = AAA Certificate Services i:C = GB, ST = Greater Manchester, L = Salford, O = Comodo CA Limited, CN = AAA Certificate Services --- Server certificate -----BEGIN CERTIFICATE----- MIIGMzCCBRugAwIBAgIQBD0YRSjZNjtUR8JjJlLGNjANBgkqhkiG9w0BAQsFADCB jzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G ... oWupn06TJM9t2smn35+gAq176aHqi/PibQoI+jDasc0cD3BDgGKQqQtxNL2iwUAQ bzfStxJHbJpMJyGDu4FOgaFER/GdUBO5DoyoxwuEDrqTG5P2jHTQRA4eM8n2iuVP WWi1pzQLx9WdA+70kghYXyrX2MU37u7jQwq0KNefOd09QLWnJKyJ9/GWv1a9S/sK wOnA7HY8RuriWpXp+8MGVklJF/iZ2f0VBpcZk9AdepwZGC4QuOkru8OeQQSWMaYh eQuBYFtPqg== -----END CERTIFICATE----- subject=CN = *.midominio.tld issuer=C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA --- No client certificate CA names sent Peer signing digest: SHA256 Peer signature type: RSA-PSS Server Temp Key: X25519, 253 bits --- SSL handshake has read 6132 bytes and written 310 bytes Verification: OK --- New, TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256 Server public key is 2048 bit Secure Renegotiation IS supported Compression: NONE Expansion: NONE No ALPN negotiated SSL-Session: Protocol : TLSv1.2 Cipher : ECDHE-RSA-AES128-GCM-SHA256 Session-ID: F1258D3539056F4F6DA8D3A85DCB2CFFECD18E29961A313D66A02EC01A466576 Session-ID-ctx: Master-Key: 39FBC4AF1159F0718D486F7649B2BE1A5D9265AAADD454FB52929773AE47265BB34420DA2C32D27562A6BFCD27BB9B8E PSK identity: None PSK identity hint: None SRP username: None Start Time: 1624604185 Timeout : 7200 (sec) Verify return code: 0 (ok) Extended master secret: yes --- 220 tiendas.midominio.tld ESMTP Exim 4.94.2 Fri, 25 Jun 2021 06:56:25 +0000 Log servidor 2021-06-25 07:00:12 TLS error on connection from tiendas.midominio.tld [178.32.236.129] SSL_accept: TCP connection closed by per Mensaje en el dashboard Error. Por favor comprueba tu configuracion Connection to tpc://tiendas.granadacf.es:465 Timeout Sin SSL puerto 25 Error: Por favor, comprueba tu configuración Expected response code 354 but got code "503", with message "503-All RCPT commands were rejected with this error: 503-No such recipient here 503 Valid RCPT command must precede DATA " Alguna idea ?
  5. Hola He tratado de instalar el módulo gsitemap, usando varios métodos, siguiendo los consejos también del post del foro. git clone https://github.com/PrestaShop/gsitemap.git && zip gsitemap.zip gsitemap # Después subirlo para instalarlo a través del instalador de modulos de prestashop. Descarga del enlace oficial desde su página wiki # Al final es lo mismo que el punto anterior, pero habia que intentarlo. En ambos caso me dice que no tiene la estructura de un modulo. La carga la hago en Upload a module en module/manage Alguna idea?
  6. I don't refuse read logs. I'm Sysops for 30 years. First action on every investigation is logs. I refuse Useless comments when a user say: read .htaccess when question is about nginx. Nginx not read .htaccess file. I refuse when user speak about logs with question about application, when problem is not application. Is question about server, nginx with application. tamainut.info, is one domain only for testing porpouses, not for production. Bye, bye.
  7. On Nginx aditionals directives: set $admin_dir /Backoffice; index index.php; # Redirect 404 errors to prestashop error_page 404 /index.php?controller=404; # Gzip Settings, convert all types. gzip on; gzip_vary on; gzip_proxied any; # Can be enhance to 5, but it can slow you server # gzip_comp_level 5; # gzip_min_length 256; gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy; gzip_disable "MSIE [1-6]\.(?!.*SV1)"; # HSTS (Force clients to interact with your website using HTTPS only) # For enhanced security, register your site here: https://hstspreload.org/ # WARNING: Don't use this if your site is not fully on HTTPS! # add_header Strict-Transport-Security "max-age=63072000; includeSubDomains" preload; always; # Cloudflare / Max CDN fix location ~* \.(eot|otf|ttf|woff(?:2)?)$ { add_header Access-Control-Allow-Origin *; } # Do not save logs for these location = /favicon.ico { auth_basic off; allow all; log_not_found off; access_log off; } location = /robots.txt { auth_basic off; allow all; log_not_found off; access_log off; } # [REQUIRED EDIT IF MULTILANG] rewrite ^/es$ /es/ redirect; rewrite ^/es/(.*) /$1; rewrite ^/en$ /en/ redirect; rewrite ^/en/(.*) /$1; rewrite ^/zh$ /zh/ redirect; rewrite ^/zh/(.*) /$1; # Images rewrite ^/([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$1$2$3.jpg last; rewrite ^/([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$1$2$3$4.jpg last; rewrite ^/([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$1$2$3$4$5.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg last; rewrite ^/c/([0-9]+)(-[.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+.jpg$ /img/c/$1$2$3.jpg last; rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+.jpg$ /img/c/$1$2.jpg last; location ~ (/es|/en|/zh)/index\.php$ { try_files $uri $uri/ /index.php?$args; } try_files $uri $uri/ /index.php?$args; # Symfony controllers Specific for 1.7 location ~ /(international|_profiler|module|product|combination|specific-price)/(.*)$ { try_files $uri $uri/ /index.php?q=$uri&$args $admin_dir/index.php$is_args$args; } # AlphaImageLoader for IE and fancybox rewrite ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 last; # Web service API rewrite ^/api/?(.*)$ /webservice/dispatcher.php?url=$1 last; # Installation sandbox rewrite ^(/install(?:-dev)?/sandbox)/(.*) /$1/test.php last; # [REQUIRED EDIT] Change this block to your admin folder location /Backoffice/ { if (!-e $request_filename) { rewrite ^/.*$ /Backoffice/index.php last; } } # File security # .htaccess .DS_Store .htpasswd etc location ~ /\. { deny all; } # Source code directories location ~ ^/(app|bin|cache|classes|config|controllers|docs|localization|override|src|tests|tools|translations|travis-scripts|vendor|var)/ { deny all; } # Prevent exposing other sensitive files location ~ \.(yml|log|tpl|twig|sass)$ { deny all; } # Prevent injection of php files location /upload { location ~ \.php$ { deny all; } } location /img { location ~ \.php$ { deny all; } } #location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { # expires 30d; # add_header Cache-Control "public, no-transform"; #} #location ~* \.(jpg|jpeg|gif|png)$ { # expires 365d; #} #location ~* \.(pdf|css|html|js|swf)$ { # expires 2d; #} location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { expires 30d; add_header Pragma public; add_header Cache-Control "public"; } Of course "Good luck" has nothing to do with software engineering. Neither is it, checking logs that does not have to do with the problem, and not understanding the different layers that work in the operation of the software next to the system.
  8. Hi. Hello Obviously in a test facility, there is no CDN, no caches, ... Obviously if we are pulling Nginx there is no .htaccess, and of course if we are talking about the URL Friendly problem, lol, there is no point in deactivating this. As for seeing the debug mode of the application layer, well it may be fine, although I am afraid that the problem is the rule of the server layer. Maybe this concept will escape. Sometimes it's better to keep quiet, than to say useless things Best regards
  9. More than 12 hours looking for the solution to have a multi-language store, in a Plesk Odin environment, based on Nginx server (without apache) + FPM Dozens of posts in google, and no solution. On my stage, and in order not to disturb my client, who insists (I do not know why) on using a Plesk control panel, I created in a VPS development, a fresh installation of Plesk, with a prestashop 1.7.5.2 Once installed and tested, it worked perfectly in Apache mode, without using nginx Activation of Nginx (Apache deactivation) It works as long as there are no languages. If there're languages all links show The page you are looking for was not found. 2.137.128.33 - - [21/May/2019:11:34:52 +0200] "GET /en/women/2-9-brown-bear-printed-sweater.html HTTP/1.1" 404 6876 "http://tamainut.info/en/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 OPR/60.0.3255.95" I use a official nginx.conf.dist with adaptations to Plesk interface, beacuase Plesk is a intrusive panel. This use a nginx.conf with call to vhost_nginx.conf (content below) index index.php; # Redirect 404 errors to prestashop error_page 404 /index.php?controller=404; # Gzip Settings, convert all types. gzip on; gzip_vary on; gzip_proxied any; # Can be enhance to 5, but it can slow you server # gzip_comp_level 5; # gzip_min_length 256; gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy; gzip_disable "MSIE [1-6]\.(?!.*SV1)"; # HSTS (Force clients to interact with your website using HTTPS only) # For enhanced security, register your site here: https://hstspreload.org/ # WARNING: Don't use this if your site is not fully on HTTPS! # add_header Strict-Transport-Security "max-age=63072000; includeSubDomains" preload; always; # Cloudflare / Max CDN fix location ~* \.(eot|otf|ttf|woff(?:2)?)$ { add_header Access-Control-Allow-Origin *; } # Do not save logs for these location = /favicon.ico { auth_basic off; allow all; log_not_found off; access_log off; } location = /robots.txt { auth_basic off; allow all; log_not_found off; access_log off; } # [REQUIRED EDIT IF MULTILANG] rewrite ^/es$ /es/ redirect; rewrite ^/es/(.*) /$1; rewrite ^/en$ /es/ redirect; rewrite ^/en/(.*) /$1; # Images rewrite ^/([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$1$2$3.jpg last; rewrite ^/([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$1$2$3$4.jpg last; rewrite ^/([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$1$2$3$4$5.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg last; rewrite ^/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg last; rewrite ^/c/([0-9]+)(-[.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+.jpg$ /img/c/$1$2$3.jpg last; rewrite ^/c/([a-zA-Z_-]+)(-[0-9]+)?/.+.jpg$ /img/c/$1$2.jpg last; # AlphaImageLoader for IE and fancybox rewrite ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 last; # Web service API rewrite ^/api/?(.*)$ /webservice/dispatcher.php?url=$1 last; # Installation sandbox rewrite ^(/install(?:-dev)?/sandbox)/(.*) /$1/test.php last; # [REQUIRED EDIT] Change this block to your admin folder location /Backoffice/ { if (!-e $request_filename) { rewrite ^/.*$ /Backoffice/index.php last; } } # File security # .htaccess .DS_Store .htpasswd etc location ~ /\. { deny all; } # Source code directories location ~ ^/(app|bin|cache|classes|config|controllers|docs|localization|override|src|tests|tools|translations|travis-scripts|vendor|var)/ { deny all; } # Prevent exposing other sensitive files location ~ \.(yml|log|tpl|twig|sass)$ { deny all; } # Prevent injection of php files location /upload { location ~ \.php$ { deny all; } } location /img { location ~ \.php$ { deny all; } } Testing site: https://tamainut.info Apreciate your help.
×
×
  • Create New...