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

405 Method Not Allowed #389

Open
adzmitrenka-redcapcloud opened this issue Jan 20, 2022 · 0 comments
Open

405 Method Not Allowed #389

adzmitrenka-redcapcloud opened this issue Jan 20, 2022 · 0 comments

Comments

@adzmitrenka-redcapcloud
Copy link

adzmitrenka-redcapcloud commented Jan 20, 2022

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant