console icon indicating copy to clipboard operation
console copied to clipboard

The web kubectl is not available in Safari but works well in Chrome

Open FeynmanZhou opened this issue 3 years ago • 5 comments

Describe the Bug A clear and concise description of what the bug is.

The web kubectl is not available in Safari but works well in Chrome. Safari image Chrome image

Versions Used KubeSphere: v3.2.1 Kubernetes: K3s v1.22

Environment How many nodes and their hardware configuration: Ubuntu 20.04 / 1 master, 2 node (4 core 8 G)

For example: CentOS 7.5 / 3 masters: 8cpu/8g; 3 nodes: 8cpu/16g (and other info are welcomed to help us debugging)

How To Reproduce Steps to reproduce the behavior: Open web kubectl in Safari, you could reproduce it.

Expected behavior A clear and concise description of what you expected to happen. It works well with Safari.

FeynmanZhou avatar May 04 '22 03:05 FeynmanZhou

/kind bug

FeynmanZhou avatar May 04 '22 03:05 FeynmanZhou

@kubesphere/sig-console Is it much suitable to transfer this issue to kubesphere/console?

FeynmanZhou avatar May 04 '22 03:05 FeynmanZhou

This problem is caused by the NSURLSession WebSocket that experimental feature of safari, we need close it by manual: top bar -> development -> experimental feature-> uncheck NSURLSession WebSocket

weili520 avatar May 05 '22 02:05 weili520

This problem is caused by the NSURLSession WebSocket that experimental feature of safari, we need close it manual: top bar -> development -> experimental feature-> uncheck NSURLSession WebSocket

The warning in console:

截屏2022-05-05 10 14 24

weili520 avatar May 05 '22 02:05 weili520

@weili520 Thanks for your explanation. If this is a special issue in Safari and we can't fix it from the KubeSphere side, do we need to add an FAQ document to introduce this workaround?

cc @kubesphere/sig-docs

FeynmanZhou avatar May 06 '22 10:05 FeynmanZhou