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

Add More Logs that helps us investigate 404 issues #30000

Closed
erickgonzalez opened this issue Sep 13, 2024 · 2 comments · Fixed by #30117
Closed

Add More Logs that helps us investigate 404 issues #30000

erickgonzalez opened this issue Sep 13, 2024 · 2 comments · Fixed by #30117
Assignees
Labels
LTS: Excluded Ticket that has been excluded from at least one LTS OKR : Customer Success Owned by Arno OKR : Customer Support Owned by Scott Priority : 2 High QA : Not Needed Release : 24.04.24 v8 Included in LTS patch release 24.04.24 v8 Release : 24.09.25 Bug Fixing Team : Bug Fixers Type : Task

Comments

@erickgonzalez
Copy link
Contributor

Parent Issue

No response

Task

Customers are experiencing intermittent 404 errors on pages and files without any log errors. Please provide additional logs to help identify the issue. Some classes that require additional logging are: SpeedyAssetServlet, VelocityServlet, CMSFilter, CMSUrlUtil, HTMLPageAssetAPIImpl, and HTMLPageAssetRenderedAPIImpl.

Proposed Objective

Customer Success

Proposed Priority

Priority 2 - Important

Acceptance Criteria

No response

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://helpdesk.dotcms.com/a/tickets/27067
https://helpdesk.dotcms.com/a/tickets/27202

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@erickgonzalez erickgonzalez self-assigned this Sep 13, 2024
@erickgonzalez erickgonzalez added Next LTS Release Shortlisted of issues that will be included in the upcoming LTS LTS: Excluded Ticket that has been excluded from at least one LTS labels Sep 13, 2024
@erickgonzalez
Copy link
Contributor Author

Only for 24.04 LTS

erickgonzalez added a commit that referenced this issue Sep 13, 2024
@erickgonzalez
Copy link
Contributor Author

To enable debug logs run this on the console:

let names = ['com.dotmarketing.servlets.SpeedyAssetServlet','com.dotmarketing.filters.CMSFilter','com.dotmarketing.filters.CMSUrlUtil','com.dotcms.rendering.velocity.servlet.VelocityServlet','com.dotmarketing.portlets.htmlpageasset.business.render.HTMLPageAssetRenderedAPIImpl','com.dotmarketing.portlets.htmlpageasset.business.HTMLPageAssetAPIImpl','com.dotmarketing.business.IdentifierFactoryImpl','com.dotmarketing.business.VersionableFactoryImpl'];
names.forEach(name => {
    fetch('/api/v1/logger/', {
        method: 'PUT',
        body: JSON.stringify({
            name: name,
            level: 'DEBUG'
        }),
        headers: {
            'Content-type': 'application/json; charset=UTF-8'
        }
    })
        .then(res => res.json())
        .then(console.log)
});

erickgonzalez added a commit that referenced this issue Sep 14, 2024
@erickgonzalez erickgonzalez added Release : 24.04.24 v8 Included in LTS patch release 24.04.24 v8 and removed Next LTS Release Shortlisted of issues that will be included in the upcoming LTS labels Sep 17, 2024
erickgonzalez added a commit that referenced this issue Sep 23, 2024
github-merge-queue bot pushed a commit that referenced this issue Sep 23, 2024
 (#30117)

We have noticed that customers are encountering intermittent 404 errors.
This information will be instrumental in pinpointing and addressing the
root cause of these errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS: Excluded Ticket that has been excluded from at least one LTS OKR : Customer Success Owned by Arno OKR : Customer Support Owned by Scott Priority : 2 High QA : Not Needed Release : 24.04.24 v8 Included in LTS patch release 24.04.24 v8 Release : 24.09.25 Bug Fixing Team : Bug Fixers Type : Task
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants