Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
hannesrr
Posts: 55
Joined: January 8th, 2013, 5:02 pm
Location: Lima, Perú, South America

Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException

Post by hannesrr »

Dear All,

I greet you cordially and take the opportunity to make the following query.

I have several tablets in the field and they have been sending data through an HTTP URL; both CSEntry and CSWeb use version 7.6.1. It was working properly. But two day ago, my users can not longer sync their data. When they try to sync the error below appears:
ERROR_CSWEB03.11.2021.JPG
ERROR_CSWEB03.11.2021.JPG (24.84 KiB) Viewed 5311 times
Due to this error, I reviewed the case and found that users can still connect to CSWeb through port 443 of the HTTPS URL, and with this workaround they can synchronize their data.

I have checked the log and find the following:

[2021-11-02 12:27:28] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 14:57:30] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 14:57:41] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 14:57:54] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 15:12:36] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 15:52:08] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 16:00:48] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 16:08:26] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 16:13:03] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 16:13:08] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 16:13:13] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 16:13:23] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 16:14:56] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 16:22:50] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 17:07:57] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /*"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /*\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/*/\". at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70)"} []
[2021-11-02 22:35:57] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 22:37:07] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 22:37:18] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []
[2021-11-02 22:37:28] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /"" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 136 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET /\" at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:136, Symfony\\Component\\Routing\\Exception\\NoConfigurationException(code: 0): at /home/gruplvbk/public_html/csweb761/vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:182)"} []


Could you help, with this problem.
Regards,

Hannes Rodríguez :geek:
Lima, Perú
Hannes Rodriguez :geek:
Lima, Perú
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException

Post by aaronw »

The fact that switching ports fixed the issue, my assumption is that the previous port you were using was blocked. It's likely no non-secure (http) sites can be accessed through the server. Plausible explanations could be 1) IT staff made Apache configurations changes to the server 2) During setup Apache was configured to not run on port 80, but was never restarted (until the other day).

Could you attach the sync.log from a device that was failing to sync? There may be additional error information in there.
hannesrr
Posts: 55
Joined: January 8th, 2013, 5:02 pm
Location: Lima, Perú, South America

Re: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException

Post by hannesrr »

Hello,
Thank for your response.
Here I send you the sync.log, for more details.
sync (2).log
(7.6 KiB) Downloaded 171 times
Hannes Rodriguez :geek:
Lima, Perú
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException

Post by aaronw »

The error being issued is a 301 Moved Permanently. This occurs when you use an HTTP URL, and not when you use an HTTPS URL. If you want to use the non-secure HTTP connection I would check with your system admins and ask them to look at the Apache configurations. This is an issue with the server configuration and not CSEntry / CSWeb.
Post Reply