dify icon indicating copy to clipboard operation
dify copied to clipboard

The AI Web App shows a blank page when opened on iPhone X.

Open oiuv opened this issue 1 year ago • 15 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

Dify version

0.14.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When I open my AI Web APP like http://xxx.ai/chat/SumVdAt8WMqjt4Uj on my iPhone, just show a blank page, but I can open it on my Android.

and I tested v0.10.1 can open correctly on iPhone, but v0.14.0 can't open.

✔️ Expected Behavior

Open the AI web app page.

❌ Actual Behavior

The AI Web App shows a blank page when opened on my iPhone.

oiuv avatar Dec 23 '24 10:12 oiuv

Can you provide more information regarding this issue, such as the logs of the web console?

crazywoola avatar Dec 23 '24 13:12 crazywoola

Can you provide more information regarding this issue, such as the logs of the web console?

Sorry, How can I view the access logs of the Web APP page on my iPhone?

1735019648324(1)

I can open home page, but can't open WebAPP page

image

image

oiuv avatar Dec 24 '24 05:12 oiuv

可能是因为浏览器版本太旧了。。

josh-zhang avatar Dec 24 '24 07:12 josh-zhang

可能是因为浏览器版本太旧了。。

是有可能,但是这个有好几个用户反馈了,因为我这个是做了一个答疑服务给用户,但我不能让用户换手机啊,而且的确我升级前可以正常用,把dify升级后白屏了。

It's possible, but several users have reported this issue. I've provided a Q&A service for users, and I can't ask them to change their phones. Moreover, it was working fine before I upgraded Dify, but after the upgrade, the screen went blank.

oiuv avatar Dec 24 '24 08:12 oiuv

我跟你情况类似,dify 0.11.*的时候正常,升级到0.14.*以后,windows环境80+、90+的旧版chrome以及比较旧的edge就都是白屏了,浏览器console报js syntax错误。 server端试了很多方法都没用,最后客户端升级到100+版的chrome就正常了。。

josh-zhang avatar Dec 25 '24 01:12 josh-zhang

这个不能只让客户端升级,得解决服务端的兼容问题啊,要不没法用,而且目前还有部分安卓手机也是白屏。

oiuv avatar Dec 27 '24 01:12 oiuv

Hi, @oiuv. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • The AI Web App shows a blank page on iPhone X with version 0.14.0.
  • The app works correctly on Android and iPhone with version 0.10.1.
  • The issue occurs in a self-hosted Docker environment.
  • @crazywoola requested web console logs; however, you're unsure how to access them on an iPhone.
  • @josh-zhang suggested updating the browser, but you highlighted the need for server-side compatibility.

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of Dify.
  • If it is, you can keep the discussion open by commenting; otherwise, it will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Feb 09 '25 16:02 dosubot[bot]

Hi, @oiuv. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • The AI Web App shows a blank page on iPhone X with version 0.14.0.
  • The app works correctly on Android and iPhone with version 0.10.1.
  • The issue occurs in a self-hosted Docker environment.
  • @crazywoola requested web console logs; however, you're unsure how to access them on an iPhone.
  • @josh-zhang suggested updating the browser, but you highlighted the need for server-side compatibility.

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of Dify.
  • If it is, you can keep the discussion open by commenting; otherwise, it will be automatically closed in 15 days.

Thank you for your understanding and contribution!

I tested with version 0.15.3, still blank.

oiuv avatar Feb 10 '25 01:02 oiuv

@crazywoola, the user @oiuv has confirmed that the issue with the AI Web App showing a blank page on iPhone X persists in version 0.15.3. Could you please assist them with this issue?

dosubot[bot] avatar Feb 10 '25 01:02 dosubot[bot]

Might related to this fix: build failed due to getPrevChatList no longer exists (#13383)

crazywoola avatar Feb 12 '25 04:02 crazywoola

我跟你情况类似,dify 0.11.*的时候正常,升级到0.14.*以后,windows环境80+、90+的旧版chrome以及比较旧的edge就都是白屏了,浏览器console报js syntax错误。 server端试了很多方法都没用,最后客户端升级到100+版的chrome就正常了。。

问题一直没解决,很麻烦,我还是部署了正式的服务的,结果不得不把相关的功能单独部署一个旧版本的服务来临时处理。

oiuv avatar Feb 12 '25 06:02 oiuv

same error here, can someone fix it?

LeeOSO avatar Feb 19 '25 00:02 LeeOSO

same error here, can someone fix it?

hao0oah avatar Feb 19 '25 10:02 hao0oah

Reduce the versions of these two components and recompile the web so that they can be used normally "mermaid": "10.9.3", "code-inspector-plugin": "^0.13.0",

xieyos avatar Mar 04 '25 02:03 xieyos

Reduce the versions of these two components and recompile the web so that they can be used normally "mermaid": "10.9.3", "code-inspector-plugin": "^0.13.0",

can you fix this bug?

oiuv avatar Mar 07 '25 07:03 oiuv

Hi, @oiuv. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • The AI Web App shows a blank page on an iPhone X with version 0.14.0 in a self-hosted Docker environment.
  • The app works on Android devices and with version 0.10.1 on the iPhone.
  • You were unsure how to access web console logs on an iPhone when requested.
  • Despite testing with version 0.15.3, the issue remains unresolved.
  • Other users have reported similar issues, and suggestions include reducing component versions and recompiling.

Next Steps:

  • Please confirm if this issue is still relevant with the latest version of the Dify repository.
  • If it is, you can keep the discussion open by commenting; otherwise, it will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Apr 07 '25 16:04 dosubot[bot]