jcraane / gpt-mentor-plugin

6 stars 2 forks source link

Hidden internal errors #16

Open PSF1 opened 1 year ago

PSF1 commented 1 year ago

Hi,

I don't know why but I found two errors in the background:

imagen

java.lang.Throwable: null
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:206)
    at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:120)
    at dev.jamiecraane.gptmentorplugin.openapi.ChatGptEventSourceListener.onFailure(ChatGptEventSourceListener.kt:31)
    at okhttp3.internal.sse.RealEventSource.processResponse(RealEventSource.kt:52)
    at okhttp3.internal.sse.RealEventSource.onResponse(RealEventSource.kt:46)
    at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)

imagen

java.lang.Throwable: okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:206)
    at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:120)
    at dev.jamiecraane.gptmentorplugin.openapi.ChatGptEventSourceListener.onFailure(ChatGptEventSourceListener.kt:31)
    at okhttp3.internal.sse.RealEventSource.processResponse(RealEventSource.kt:78)
    at okhttp3.internal.sse.RealEventSource.onResponse(RealEventSource.kt:46)
    at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:833)

Today I got some context window errors, maybe that have a relation with these errors.

jcraane commented 1 year ago

Thanks for reporting. Did you if there were any specific actions which triggered the error. The stream was reset message could indicate there were some api errors.

I might include a simple API check tab because it is not always clear if there are issues with the api or not.

PSF1 commented 1 year ago

I'm sorry, I don't know.