Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

405 Method Not Allowed  #389

@adzmitrenka-redcapcloud

Description

Describe the bug
Get request return response code 405 Method Not Allowed with BrowserUp proxy started.
With out proxy everything working fine
image

To Reproduce
Proxy started on port 0 with following settings:
BrowserUpProxy proxy = new BrowserUpProxyServer();

    proxy.setMitmDisabled(!driverConfig.enableProxy());
    proxy.setTrustAllServers(true);
    proxy.setHarCaptureTypes(
            CaptureType.REQUEST_CONTENT,
            CaptureType.REQUEST_BINARY_CONTENT,
            CaptureType.REQUEST_COOKIES,
            CaptureType.REQUEST_HEADERS,
            CaptureType.RESPONSE_CONTENT,
            CaptureType.RESPONSE_BINARY_CONTENT,
            CaptureType.RESPONSE_COOKIES,
            CaptureType.RESPONSE_HEADERS
    );
    proxy.setConnectTimeout(0, TimeUnit.SECONDS);
    proxy.setIdleConnectionTimeout(0, TimeUnit.SECONDS);
    proxy.setRequestTimeout(0, TimeUnit.SECONDS);
    proxy.setIdleConnectionTimeout(0, TimeUnit.SECONDS);
    proxy.setHostNameResolver(new NativeResolver());

Does anyone could help with that or may be not any possible reason for that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions