locked
500 internal server error signalr RRS feed

  • Question

  • User-629624826 posted

    Hi, in my project every 10 seconds, in the console display the next message:

    http://.../../.../.../.../home/GetMessages 500 (Internal Server Error)
    send @ jquery-1.10.2.min.js:23
    ajax @ jquery-1.10.2.min.js:23
    getAllMessages @ ?t=m:79
    notifications.client.updateMessages @ ?t=m:63
    (anonymous) @ hubs:26
    f.(anonymous function).(anonymous function) @ jquery.signalR-2.1.1.min.js:8
    dispatch @ jquery-1.10.2.min.js:22
    v.handle @ jquery-1.10.2.min.js:22
    trigger @ jquery-1.10.2.min.js:22
    triggerHandler @ jquery-1.10.2.min.js:22
    (anonymous) @ jquery.signalR-2.1.1.min.js:8
    (anonymous) @ jquery.signalR-2.1.1.min.js:8
    dispatch @ jquery-1.10.2.min.js:22
    v.handle @ jquery-1.10.2.min.js:22
    trigger @ jquery-1.10.2.min.js:22
    triggerHandler @ jquery-1.10.2.min.js:22
    triggerReceived @ jquery.signalR-2.1.1.min.js:8
    (anonymous) @ jquery.signalR-2.1.1.min.js:8
    each @ jquery-1.10.2.min.js:21
    processMessages @ jquery.signalR-2.1.1.min.js:8
    e.socket.e.socket.onmessage @ jquery.signalR-2.1.1.min.js:8

    jquery-1.10.2.min.js : 23

    any idea?

    Friday, November 2, 2018 5:07 PM

All replies

  • User475983607 posted

    any idea?

    There is an unhandled error in the server code located at this URL endpoint.

    http://.../../.../.../.../home/GetMessages

    Try running the code though the Visual Studio debugger and/or using a try...catch block to log or return the error message.

    Friday, November 2, 2018 6:06 PM
  • User61956409 posted

    Hi Pollokulos,

    http://.../../.../.../.../home/GetMessages 500 (Internal Server Error)

    HTTP 500 error is a generic error message returned by web server when it knows something has gone wrong. As mgebhard mentioned, if possible, please set breakpoint and debug your GetMessages action method to check if any exception occur in your action method.

    Besides, please share the code snippet that you implement for GetMessages method.

    With Regards,

    Fei Han

    Monday, November 5, 2018 5:44 AM