Skip to content

IE9 with SockJS and HTTPS throws "SEC7111: HTTPS security is compromised by" [SPR-13386] #17967

@spring-projects-issues

Description

@spring-projects-issues

Cecchinato Bastien opened SPR-13386 and commented

Hi !

I'm facing an issue with IE9 fallback for SockJS. When the page /htmlfile/?c= is loaded, IE9 throws the following error (in the console): SEC7111: HTTPS security is compromised.

My website is accessible only via HTTPS. After some digging, it seems that there is some mixed content, but I've been unable to find what content can be mixed.

The configuration class is the following :

@Slf4j
@Configuration
@EnableWebSocket
@EnableScheduling
public class WebSocketConfig implements WebSocketConfigurer {
    @Override
    public void registerWebSocketHandlers(WebSocketHandlerRegistry registry) {
        registry
                .addHandler(delegateSocketHandler(), "/mvc/socket", "/mvc/socket/**")
                .setAllowedOrigins("*")
                .withSockJS();
    }

    @Bean
    public WebSocketHandler delegateSocketHandler() {
        return new DelegateSocketHandler();
    }
}

I've also attached a network capture, if this can help.

Thanks in advance.

Regards,


Affects: 4.1.6

Attachments:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions