eliashaeussler / typo3-sitemap-locator

🧭 Extension for TYPO3 CMS to locate XML sitemaps as part of a configured site.
https://docs.typo3.org/p/eliashaeussler/typo3-sitemap-locator/main/en-us/
GNU General Public License v2.0
0 stars 0 forks source link

[BUG] No XML sitemap found for this site. (cURL error 7) #89

Open bh-teufels opened 1 week ago

bh-teufels commented 1 week ago

TYPO3 version

12.4.23

PHP version

8.3.8

Extension version

3.3.2

Composer mode

Operating system

macOS 15.0.1

Current behavior

I have a similar error regarding to https://github.com/eliashaeussler/typo3-warming/issues/137

TYPO3: 12.4.23 warming: 3.3.2 PHP 8.3.8

Debuging SitemapLocator.php > isValidSitemap

1/1) GuzzleHttp\Exception\ConnectException
cURL error 7: Failed to connect to development.localhost port 443 after 0 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://development.localhost/sitemap.xml

https://development.localhost/sitemap.xml is reachable see image Bildschirmfoto 2024-11-13 um 17 51 05

Expected behavior

Sitemap is configurated correctly and should be found by warming

Steps to reproduce

No response

Additional context

No response

Code of Conduct

eliashaeussler commented 1 week ago

Hi @bh-teufels, since the SitemapLocator component was transferred to EXT:sitemap_locator in the meantime, I transferred your issue as well. Will take a look at it now.

eliashaeussler commented 1 week ago

Related: eliashaeussler/typo3-warming#137

eliashaeussler commented 1 week ago

@bh-teufels Can you check if #90 solves your issue?

bh-teufels commented 1 week ago

still get the error. is eliashaeussler/typo3-sitemap-locator a requirement of eliashaeussler/typo3-warming? or do i have to install it independently?

for now i only require eliashaeussler/typo3-warming (installed version 3.3.3)

eliashaeussler commented 1 week ago

Yes, eliashaeussler/typo3-sitemap-locator is required by eliashaeussler/typo3-warming. Since you're running in Composer mode, it should be installed automatically. In order to test the fix, it is necessary to explicitly require eliashaeussler/typo3-sitemap-locator, e.g. with composer require eliashaeussler/typo3-sitemap-locator:dev-fix/sitemap-validation.

bh-teufels commented 1 week ago

Root composer.json requires eliashaeussler/typo3-sitemap-locator dev-fix/sitemap-validation, found eliashaeussler/typo3-sitemap-locator[dev-fix/sitemap-validation] but these were not loaded, likely because it conflicts with another require. Problem 2

eliashaeussler commented 1 week ago

Sorry, can you try composer require "eliashaeussler/typo3-sitemap-locator:dev-fix/sitemap-validation as 0.1.9"?

bh-teufels commented 1 week ago

sitemap_locator dev-fix/sitemap-validation is installed but problem still exist