Error stream error in the http 2 framing layer

Hi guys, I have installed latest OMS agent on Debian 10. When I have tried to configure custom log collection - configuration has been completed successfully, however data collection is failing. As I can see - there is a connectivity error: root@mrvserversmall:/opt/microsoft/omsconfig/Scripts# runus...

Hi guys,

I have installed latest OMS agent on Debian 10.
When I have tried to configure custom log collection — configuration has been completed successfully, however data collection is failing.

As I can see — there is a connectivity error:

root@mrvserversmall:/opt/microsoft/omsconfig/Scripts# runuser -l omsagent -c /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py
Opened the dsc host lock file at the path ‘/opt/dsc/dsc_host_lock’
Error occured during operation PerformRequiredConfigurationChecks. r = 1
{
«ErrorType»: null,
«OtherErrorType»: null,
«OwningEntity»: «OMI:CIMOM»,
«MessageID»: «OMI:MI_Result:1»,
«Message»: «cURL failed to perform on this base url: we-agentservice-prod-1.azure-automation.net with this error message: Stream error in the HTTP/2 framing layer. Make sure cURL and SSL libraries are up to date.»,
«MessageArguments»: [],
«PerceivedSeverity»: 7,
«ProbableCause»: 0,
«ProbableCauseDescription»: «Unknown»,
«RecommendedActions»: null,
«ErrorSource»: null,
«ErrorSourceFormat»: null,
«OtherErrorSourceFormat»: null,
«CIMStatusCode»: 1,
«CIMStatusCodeDescription»: null,
«OMI_Code»: 1,
«OMI_Category»: 0,
«OMI_Type»: «MI»,
«OMI_ErrorMessage»: «A general error occurred, not covered by a more specific error code.»
}
Operation failed.

Error occured during operation PerformRequiredConfigurationChecks. r = 1
{
«ErrorType»: null,
«OtherErrorType»: null,
«OwningEntity»: «OMI:CIMOM»,
«MessageID»: «OMI:MI_Result:1»,
«Message»: «cURL failed to perform on this base url: we-agentservice-prod-1.azure-automation.net with this error message: Stream error in the HTTP/2 framing layer. Make sure cURL and SSL libraries are up to date.»,
«MessageArguments»: [],
«PerceivedSeverity»: 7,
«ProbableCause»: 0,
«ProbableCauseDescription»: «Unknown»,
«RecommendedActions»: null,
«ErrorSource»: null,
«ErrorSourceFormat»: null,
«OtherErrorSourceFormat»: null,
«CIMStatusCode»: 1,
«CIMStatusCodeDescription»: null,
«OMI_Code»: 1,
«OMI_Category»: 0,
«OMI_Type»: «MI»,
«OMI_ErrorMessage»: «A general error occurred, not covered by a more specific error code.»
}
Operation failed.

I have checked CURL:
libcurl3-gnutls is already the newest version (7.64.0-4).
libcurl4 is already the newest version (7.64.0-4).

also:
l:~# ls -la /opt/omi/lib/libcurl.so*
lrwxrwxrwx 1 root root 34 Oct 13 21:37 /opt/omi/lib/libcurl.so.3 -> /lib/x86_64-linux-gnu/libcurl.so.4
lrwxrwxrwx 1 root root 34 Oct 13 21:37 /opt/omi/lib/libcurl.so.4 -> /lib/x86_64-linux-gnu/libcurl.so.4

Can anyone help me how to solve this?

Regards,
Lewis

Below is the list of all cURL errors and the reasons behind these errors.

  • Ok
  • Unsupported Protocol
  • Failed Init
  • URL Malfomat
  • Not Built In
  • Couldn’t Resolve Proxy
  • Couldn’t resolve host
  • Couldn’t connect
  • Weird server reply
  • Remote access denied
  • FTP accept failed
  • FTP weird pass reply
  • FTP accept timeout
  • FTP weird pasv reply
  • FTP weird 227 format
  • FTP cant get host
  • HTTP2
  • FTP couldnt set type
  • Partial file
  • FTP couldnt retr file
  • Quote error
  • HTTP returned error
  • Write error
  • Upload failed
  • Read error
  • Out of memory
  • Operation timedout
  • FTP port failed
  • FTP couldnt use rest
  • Range error
  • HTTP post error
  • SSL connect error
  • Bad download resume
  • File couldnt read file
  • LDAP cannot bind
  • LDAP search failed
  • Function not found
  • Aborted by callback
  • Bad function argument
  • Interface failed
  • Too many redirects
  • Unknown option
  • Telnet option syntax
  • Got nothing
  • SSL engine notfound
  • SSL engine setfailed
  • Send error
  • Recv error
  • SSL certproblem
  • SSL cipher
  • PEER failed verification
  • Bad content encoding
  • LDAP invalid url
  • Filesize exceeded
  • Use ssl failed
  • Send fail rewind
  • SSL engine initfailed
  • Login denied
  • TFTP notfound
  • TFTP perm
  • Remote disk full
  • TFTP illegal
  • TFTP unknownid
  • Remote file exists
  • TFTP nosuchuser
  • Conv failed
  • Conv reqd
  • SSL cacert badfile
  • Remote file not found
  • SSH
  • SSL shutdown failed
  • Again
  • SSL crl badfile
  • SSL issuer error
  • FTP pret failed
  • RTSP cseq error
  • RTSP session error
  • FTP bad file list
  • Chunk failed
  • No connection available
  • SSL pinnedpubkeynotmatch
  • SSL invalidcertstatus
  • HTTP2 stream
  • Recursive api call
  • Auth error
  • HTTP3
  • Quic connect error
  • Obsolete*

Ok Ok

CURL error code 0 – CURLE_OK (0)

All fine. Proceed as usual.

Top ↑

Unsupported Protocol Unsupported Protocol

CURL error code 1 – CURLE_UNSUPPORTED_PROTOCOL (1)

The URL you passed to libcurl used a protocol that this libcurl does not support. The support might be a compile-time option that you didn’t use, it can be a misspelled protocol string or just a protocol libcurl has no code for.

Top ↑

Failed Init Failed Init

CURL error code 2 – CURLE_FAILED_INIT (2)

Very early initialization code failed. This is likely to be an internal error or problem, or a resource problem where something fundamental couldn’t get done at init time.

Top ↑

URL Malfomat URL Malfomat

CURL error code 3 – CURLE_URL_MALFORMAT (3)

The URL was not properly formatted.

Top ↑

Not Built In Not Built In

CURL error code 4 – CURLE_NOT_BUILT_IN (4)

A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. This means that a feature or option was not enabled or explicitly disabled when libcurl was built and in order to get it to function you have to get a rebuilt libcurl.

Top ↑

Couldn’t Resolve Proxy Couldn’t Resolve Proxy

CURL error code 5 – CURLE_COULDNT_RESOLVE_PROXY (5)

Couldn’t resolve proxy. The given proxy host could not be resolved.

Top ↑

Couldn’t resolve host Couldn’t resolve host

CURL error code 6 – CURLE_COULDNT_RESOLVE_HOST (6)

Couldn’t resolve host. The given remote host was not resolved.

Top ↑

Couldn’t connect Couldn’t connect

CURL error code 7 – CURLE_COULDNT_CONNECT (7)

Failed to connect() to host or proxy.

Top ↑

Weird server reply Weird server reply

CURL error code 8 – CURLE_WEIRD_SERVER_REPLY (8)

The server sent data libcurl couldn’t parse. This error code was known as as CURLE_FTP_WEIRD_SERVER_REPLY before 7.51.0.

Top ↑

Remote access denied Remote access denied

CURL error code 9 – CURLE_REMOTE_ACCESS_DENIED (9)

We were denied access to the resource given in the URL. For FTP, this occurs while trying to change to the remote directory.

Top ↑

FTP accept failed FTP accept failed

CURL error code 10 – CURLE_FTP_ACCEPT_FAILED (10)

While waiting for the server to connect back when an active FTP session is used, an error code was sent over the control connection or similar.

Top ↑

FTP weird pass reply FTP weird pass reply

CURL error code 11 – CURLE_FTP_WEIRD_PASS_REPLY (11)

After having sent the FTP password to the server, libcurl expects a proper reply. This error code indicates that an unexpected code was returned.

Top ↑

FTP accept timeout FTP accept timeout

CURL error code 12 – CURLE_FTP_ACCEPT_TIMEOUT (12)

During an active FTP session while waiting for the server to connect, the CURLOPT_ACCEPTTIMEOUT_MS (or the internal default) timeout expired.

Top ↑

FTP weird pasv reply FTP weird pasv reply

CURL error code 13 – CURLE_FTP_WEIRD_PASV_REPLY (13)

libcurl failed to get a sensible result back from the server as a response to either a PASV or a EPSV command. The server is flawed.

Top ↑

FTP weird 227 format FTP weird 227 format

CURL error code 14 – CURLE_FTP_WEIRD_227_FORMAT (14)

FTP servers return a 227-line as a response to a PASV command. If libcurl fails to parse that line, this return code is passed back.

Top ↑

FTP cant get host FTP cant get host

CURL error code 15 – CURLE_FTP_CANT_GET_HOST (15)

An internal failure to lookup the host used for the new connection.

Top ↑

HTTP2 HTTP2

CURL error code 16 – CURLE_HTTP2 (16)

A problem was detected in the HTTP2 framing layer. This is somewhat generic and can be one out of several problems, see the error buffer for details.

Top ↑

FTP couldnt set type FTP couldnt set type

CURL error code 17 – CURLE_FTP_COULDNT_SET_TYPE (17)

Received an error when trying to set the transfer mode to binary or ASCII.

Top ↑

Partial file Partial file

CURL error code 18 – CURLE_PARTIAL_FILE (18)

A file transfer was shorter or larger than expected. This happens when the server first reports an expected transfer size, and then delivers data that doesn’t match the previously given size.

Top ↑

FTP couldnt retr file FTP couldnt retr file

CURL error code 19 – CURLE_FTP_COULDNT_RETR_FILE (19)

This was either a weird reply to a ‘RETR’ command or a zero byte transfer complete.

Top ↑

Quote error Quote error

CURL error code 21 – CURLE_QUOTE_ERROR (21)

When sending custom “QUOTE” commands to the remote server, one of the commands returned an error code that was 400 or higher (for FTP) or otherwise indicated unsuccessful completion of the command.

Top ↑

HTTP returned error HTTP returned error

CURL error code 22 – CURLE_HTTP_RETURNED_ERROR (22)

This is returned if CURLOPT_FAILONERROR is set TRUE and the HTTP server returns an error code that is >= 400.

Top ↑

Write error Write error

CURL error code 23 – CURLE_WRITE_ERROR (23)

An error occurred when writing received data to a local file, or an error was returned to libcurl from a write callback.

Top ↑

Upload failed Upload failed

CURL error code 25 – CURLE_UPLOAD_FAILED (25)

Failed starting the upload. For FTP, the server typically denied the STOR command. The error buffer usually contains the server’s explanation for this.

Top ↑

Read error Read error

CURL error code 26 – CURLE_READ_ERROR (26)

There was a problem reading a local file or an error returned by the read callback.

Top ↑

Out of memory Out of memory

CURL error code 27 – CURLE_OUT_OF_MEMORY (27)

A memory allocation request failed. This is serious badness and things are severely screwed up if this ever occurs.

Top ↑

Operation timedout Operation timedout

CURL error code 28 – CURLE_OPERATION_TIMEDOUT (28)

Operation timeout. The specified time-out period was reached according to the conditions.

Top ↑

FTP port failed FTP port failed

CURL error code 30 – CURLE_FTP_PORT_FAILED (30)

The FTP PORT command returned error. This mostly happens when you haven’t specified a good enough address for libcurl to use. See CURLOPT_FTPPORT.

Top ↑

FTP couldnt use rest FTP couldnt use rest

CURL error code 31 – CURLE_FTP_COULDNT_USE_REST (31)

The FTP REST command returned error. This should never happen if the server is sane.

Top ↑

Range error Range error

CURL error code 33 – CURLE_RANGE_ERROR (33)

The server does not support or accept range requests.

Top ↑

HTTP post error HTTP post error

CURL error code 34 – CURLE_HTTP_POST_ERROR (34)

This is an odd error that mainly occurs due to internal confusion.

Top ↑

SSL connect error SSL connect error

CURL error code 35 – CURLE_SSL_CONNECT_ERROR (35)

A problem occurred somewhere in the SSL/TLS handshake. You really want the error buffer and read the message there as it pinpoints the problem slightly more. Could be certificates (file formats, paths, permissions), passwords, and others.

Top ↑

Bad download resume Bad download resume

CURL error code 36 – CURLE_BAD_DOWNLOAD_RESUME (36)

The download could not be resumed because the specified offset was out of the file boundary.

Top ↑

File couldnt read file File couldnt read file

CURL error code 37 – CURLE_FILE_COULDNT_READ_FILE (37)

A file given with FILE:// couldn’t be opened. Most likely because the file path doesn’t identify an existing file. Did you check file permissions?

Top ↑

LDAP cannot bind LDAP cannot bind

CURL error code 38 – CURLE_LDAP_CANNOT_BIND (38)

LDAP cannot bind. LDAP bind operation failed.

Top ↑

LDAP search failed LDAP search failed

CURL error code 39 – CURLE_LDAP_SEARCH_FAILED (39)

LDAP search failed.

Top ↑

Function not found Function not found

CURL error code 41 – CURLE_FUNCTION_NOT_FOUND (41)

Function not found. A required zlib function was not found.

Top ↑

Aborted by callback Aborted by callback

CURL error code 42 – CURLE_ABORTED_BY_CALLBACK (42)

Aborted by callback. A callback returned “abort” to libcurl.

Top ↑

Bad function argument Bad function argument

CURL error code 43 – CURLE_BAD_FUNCTION_ARGUMENT (43)

A function was called with a bad parameter.

Top ↑

Interface failed Interface failed

CURL error code 45 – CURLE_INTERFACE_FAILED (45)

Interface error. A specified outgoing interface could not be used. Set which interface to use for outgoing connections’ source IP address with CURLOPT_INTERFACE.

Top ↑

Too many redirects Too many redirects

CURL error code 47 – CURLE_TOO_MANY_REDIRECTS (47)

Too many redirects. When following redirects, libcurl hit the maximum amount. Set your limit with CURLOPT_MAXREDIRS.

Top ↑

Unknown option Unknown option

CURL error code 48 – CURLE_UNKNOWN_OPTION (48)

An option passed to libcurl is not recognized/known. Refer to the appropriate documentation. This is most likely a problem in the program that uses libcurl. The error buffer might contain more specific information about which exact option it concerns.

Top ↑

Telnet option syntax Telnet option syntax

CURL error code 49 – CURLE_TELNET_OPTION_SYNTAX (49)

A telnet option string was Illegally formatted.

Top ↑

Got nothing Got nothing

CURL error code 52 – CURLE_GOT_NOTHING (52)

Nothing was returned from the server, and under the circumstances, getting nothing is considered an error.

Top ↑

SSL engine notfound SSL engine notfound

CURL error code 53 – CURLE_SSL_ENGINE_NOTFOUND (53)

The specified crypto engine wasn’t found.

Top ↑

SSL engine setfailed SSL engine setfailed

CURL error code 54 – CURLE_SSL_ENGINE_SETFAILED (54)

Failed setting the selected SSL crypto engine as default!

Top ↑

Send error Send error

CURL error code 55 – CURLE_SEND_ERROR (55)

Failed sending network data.

Top ↑

Recv error Recv error

CURL error code 56 – CURLE_RECV_ERROR (56)

Failure with receiving network data.

Top ↑

SSL certproblem SSL certproblem

CURL error code 58 – CURLE_SSL_CERTPROBLEM (58)

problem with the local client certificate.

Top ↑

SSL cipher SSL cipher

CURL error code 59 – CURLE_SSL_CIPHER (59)

Couldn’t use specified cipher.

Top ↑

PEER failed verification PEER failed verification

CURL error code 60 – CURLE_PEER_FAILED_VERIFICATION (60)

The remote server’s SSL certificate or SSH md5 fingerprint was deemed not OK. This error code has been unified with ## CURL error code – CURLE_SSL_CACERT since 7.62.0. Its previous value was 51.

Top ↑

Bad content encoding Bad content encoding

CURL error code 61 – CURLE_BAD_CONTENT_ENCODING (61)

Unrecognized transfer encoding.

Top ↑

LDAP invalid url LDAP invalid url

CURL error code 62 – CURLE_LDAP_INVALID_URL (62)

Invalid LDAP URL.

Top ↑

Filesize exceeded Filesize exceeded

CURL error code 63 – CURLE_FILESIZE_EXCEEDED (63)

Maximum file size exceeded.

Top ↑

Use ssl failed Use ssl failed

CURL error code 64 – CURLE_USE_SSL_FAILED (64)

Requested FTP SSL level failed.

Top ↑

Send fail rewind Send fail rewind

CURL error code 65 – CURLE_SEND_FAIL_REWIND (65)

When doing a send operation curl had to rewind the data to retransmit, but the rewinding operation failed.

Top ↑

SSL engine initfailed SSL engine initfailed

CURL error code 66 – CURLE_SSL_ENGINE_INITFAILED (66)

Initiating the SSL Engine failed.

Top ↑

Login denied Login denied

CURL error code 67 – CURLE_LOGIN_DENIED (67)

The remote server denied curl to login (Added in 7.13.1)

Top ↑

TFTP notfound TFTP notfound

CURL error code 68 – CURLE_TFTP_NOTFOUND (68)

File not found on TFTP server.

Top ↑

TFTP perm TFTP perm

CURL error code 69 – CURLE_TFTP_PERM (69)

Permission problem on TFTP server.

Top ↑

Remote disk full Remote disk full

CURL error code 70 – CURLE_REMOTE_DISK_FULL (70)

Out of disk space on the server.

Top ↑

TFTP illegal TFTP illegal

CURL error code 71 – CURLE_TFTP_ILLEGAL (71)

Illegal TFTP operation.

Top ↑

TFTP unknownid TFTP unknownid

CURL error code 72 – CURLE_TFTP_UNKNOWNID (72)

Unknown TFTP transfer ID.

Top ↑

Remote file exists Remote file exists

CURL error code 73 – CURLE_REMOTE_FILE_EXISTS (73)

File already exists and will not be overwritten.

Top ↑

TFTP nosuchuser TFTP nosuchuser

CURL error code 74 – CURLE_TFTP_NOSUCHUSER (74)

This error should never be returned by a properly functioning TFTP server.

Top ↑

Conv failed Conv failed

CURL error code 75 – CURLE_CONV_FAILED (75)

Character conversion failed.

Top ↑

Conv reqd Conv reqd

CURL error code 76 – CURLE_CONV_REQD (76)

Caller must register conversion callbacks.

Top ↑

SSL cacert badfile SSL cacert badfile

CURL error code 77 – CURLE_SSL_CACERT_BADFILE (77)

Problem with reading the SSL CA cert (path? access rights?)

Top ↑

Remote file not found Remote file not found

CURL error code 78 – CURLE_REMOTE_FILE_NOT_FOUND (78)

The resource referenced in the URL does not exist.

Top ↑

SSH SSH

CURL error code 79 – CURLE_SSH (79)

An unspecified error occurred during the SSH session.

Top ↑

SSL shutdown failed SSL shutdown failed

CURL error code 80 – CURLE_SSL_SHUTDOWN_FAILED (80)

Failed to shut down the SSL connection.

Top ↑

Again Again

CURL error code 81 – CURLE_AGAIN (81)

Socket is not ready for send/recv wait till it’s ready and try again. This return code is only returned from curl_easy_recv and curl_easy_send (Added in 7.18.2)

Top ↑

SSL crl badfile SSL crl badfile

CURL error code 82 – CURLE_SSL_CRL_BADFILE (82)

Failed to load CRL file (Added in 7.19.0)

Top ↑

SSL issuer error SSL issuer error

CURL error code 83 – CURLE_SSL_ISSUER_ERROR (83)

Issuer check failed (Added in 7.19.0)

Top ↑

FTP pret failed FTP pret failed

CURL error code 84 – CURLE_FTP_PRET_FAILED (84)

The FTP server does not understand the PRET command at all or does not support the given argument. Be careful when using CURLOPT_CUSTOMREQUEST, a custom LIST command will be sent with PRET CMD before PASV as well. (Added in 7.20.0)

Top ↑

RTSP cseq error RTSP cseq error

CURL error code 85 – CURLE_RTSP_CSEQ_ERROR (85)

Mismatch of RTSP CSeq numbers.

Top ↑

RTSP session error RTSP session error

CURL error code 86 – CURLE_RTSP_SESSION_ERROR (86)

Mismatch of RTSP Session Identifiers.

Top ↑

FTP bad file list FTP bad file list

CURL error code 87 – CURLE_FTP_BAD_FILE_LIST (87)

Unable to parse FTP file list (during FTP wildcard downloading).

Top ↑

Chunk failed Chunk failed

CURL error code 88 – CURLE_CHUNK_FAILED (88)

Chunk callback reported error.

Top ↑

No connection available No connection available

CURL error code 89 – CURLE_NO_CONNECTION_AVAILABLE (89)

(For internal use only, will never be returned by libcurl) No connection available, the session will be queued. (added in 7.30.0)

Top ↑

SSL pinnedpubkeynotmatch SSL pinnedpubkeynotmatch

CURL error code 90 – CURLE_SSL_PINNEDPUBKEYNOTMATCH (90)

Failed to match the pinned key specified with CURLOPT_PINNEDPUBLICKEY.

Top ↑

SSL invalidcertstatus SSL invalidcertstatus

CURL error code 91 – CURLE_SSL_INVALIDCERTSTATUS (91)

Status returned failure when asked with CURLOPT_SSL_VERIFYSTATUS.

Top ↑

HTTP2 stream HTTP2 stream

CURL error code 92 – CURLE_HTTP2_STREAM (92)

Stream error in the HTTP/2 framing layer.

Top ↑

Recursive api call Recursive api call

CURL error code 93 – CURLE_RECURSIVE_API_CALL (93)

An API function was called from inside a callback.

Top ↑

Auth error Auth error

CURL error code 94 – CURLE_AUTH_ERROR (94)

An authentication function returned an error.

Top ↑

HTTP3 HTTP3

CURL error code 95 – CURLE_HTTP3 (95)

A problem was detected in the HTTP/3 layer. This is somewhat generic and can be one out of several problems, see the error buffer for details.

Top ↑

Quic connect error Quic connect error

CURL error code 96 – CURLE_QUIC_CONNECT_ERROR (96)

QUIC connection error. This error may be caused by an SSL library error. QUIC is the protocol used for HTTP/3 transfers.

Top ↑

Obsolete* Obsolete*

CURL error code * – CURLE_OBSOLETE*

These error codes will never be returned. They were used in an old libcurl version and are currently unused.

  1. Home

  2. php — Error: Stream error in the HTTP/2 framing layer

985 votes

1 answers

Get the solution ↓↓↓

I am working on my Graduation Project. We make our database using Laravel And MYSQL, then we made The API for the mobile app and uploaded it on 000webhost to use it online.

Before uploaded, we tried every single method on INSOMNIA locally and works fine,
but when we try it online only GET and POST methods work and when we try to use DELETE method we get this errorError: Stream error in the HTTP/2 framing layer.

Can you help us please.

2021-11-13

Write your answer


265

votes

Answer

Solution:

000webhost does not allow any other HTTP method except GET, POST, and HEAD.

So, Instead of a FREE plan, you will have to choose a PAID plan for use all HTTP methods.


Share solution ↓

Additional Information:

Date the issue was resolved:

2021-11-13

Link To Source

Link To Answer
People are also looking for solutions of the problem: composer detected issues in your platform: your composer dependencies require a php version «>= 7.3.0».

Didn’t find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.


Similar questions

Find the answer in similar questions on our website.

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.


About the technologies asked in this question

PHP

PHP (from the English Hypertext Preprocessor — hypertext preprocessor) is a scripting programming language for developing web applications. Supported by most hosting providers, it is one of the most popular tools for creating dynamic websites.
The PHP scripting language has gained wide popularity due to its processing speed, simplicity, cross-platform, functionality and distribution of source codes under its own license.
https://www.php.net/

Laravel

Laravel is a free open source PHP framework that came out in 2011. Since then, it has been able to become the framework of choice for web developers. One of the main reasons for this is that Laravel makes it easier, faster, and safer to develop complex web applications than any other framework.
https://laravel.com/

MySQL

DBMS is a database management system. It is designed to change, search, add and delete information in the database. There are many DBMSs designed for similar purposes with different features. One of the most popular is MySQL.
It is a software tool designed to work with relational SQL databases. It is easy to learn even for site owners who are not professional programmers or administrators. MySQL DBMS also allows you to export and import data, which is convenient when moving large amounts of information.
https://www.mysql.com/



Welcome to programmierfrage.com

programmierfrage.com is a question and answer site for professional web developers, programming enthusiasts and website builders. Site created and operated by the community. Together with you, we create a free library of detailed answers to any question on programming, web development, website creation and website administration.

Get answers to specific questions

Ask about the real problem you are facing. Describe in detail what you are doing and what you want to achieve.

Help Others Solve Their Issues

Our goal is to create a strong community in which everyone will support each other. If you find a question and know the answer to it, help others with your knowledge.

Stream error in the HTTP/2 framing layer. Make sure cURL and SSL libraries are up to date. #1056

Comments

mrvladis commented Oct 14, 2019

I have installed latest OMS agent on Debian 10.
When I have tried to configure custom log collection — configuration has been completed successfully, however data collection is failing.

As I can see — there is a connectivity error:

root@mrvserversmall:/opt/microsoft/omsconfig/Scripts# runuser -l omsagent -c /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py
Opened the dsc host lock file at the path ‘/opt/dsc/dsc_host_lock’
Error occured during operation PerformRequiredConfigurationChecks. r = 1
<
«ErrorType»: null,
«OtherErrorType»: null,
«OwningEntity»: «OMI:CIMOM»,
«MessageID»: «OMI:MI_Result:1»,
«Message»: «cURL failed to perform on this base url: we-agentservice-prod-1.azure-automation.net with this error message: Stream error in the HTTP/2 framing layer. Make sure cURL and SSL libraries are up to date.»,
«MessageArguments»: [],
«PerceivedSeverity»: 7,
«ProbableCause»: 0,
«ProbableCauseDescription»: «Unknown»,
«RecommendedActions»: null,
«ErrorSource»: null,
«ErrorSourceFormat»: null,
«OtherErrorSourceFormat»: null,
«CIMStatusCode»: 1,
«CIMStatusCodeDescription»: null,
«OMI_Code»: 1,
«OMI_Category»: 0,
«OMI_Type»: «MI»,
«OMI_ErrorMessage»: «A general error occurred, not covered by a more specific error code.»
>
Operation failed.

Error occured during operation PerformRequiredConfigurationChecks. r = 1
<
«ErrorType»: null,
«OtherErrorType»: null,
«OwningEntity»: «OMI:CIMOM»,
«MessageID»: «OMI:MI_Result:1»,
«Message»: «cURL failed to perform on this base url: we-agentservice-prod-1.azure-automation.net with this error message: Stream error in the HTTP/2 framing layer. Make sure cURL and SSL libraries are up to date.»,
«MessageArguments»: [],
«PerceivedSeverity»: 7,
«ProbableCause»: 0,
«ProbableCauseDescription»: «Unknown»,
«RecommendedActions»: null,
«ErrorSource»: null,
«ErrorSourceFormat»: null,
«OtherErrorSourceFormat»: null,
«CIMStatusCode»: 1,
«CIMStatusCodeDescription»: null,
«OMI_Code»: 1,
«OMI_Category»: 0,
«OMI_Type»: «MI»,
«OMI_ErrorMessage»: «A general error occurred, not covered by a more specific error code.»
>
Operation failed.

I have checked CURL:
libcurl3-gnutls is already the newest version (7.64.0-4).
libcurl4 is already the newest version (7.64.0-4).

# ls -la /opt/omi/lib/libcurl.so*
lrwxrwxrwx 1 root root 34 Oct 13 21:37 /opt/omi/lib/libcurl.so.3 -> /lib/x86_64-linux-gnu/libcurl.so.4
lrwxrwxrwx 1 root root 34 Oct 13 21:37 /opt/omi/lib/libcurl.so.4 -> /lib/x86_64-linux-gnu/libcurl.so.4

The text was updated successfully, but these errors were encountered:

Источник

Stream error in the HTTP/2 framing layer #1537

Comments

rafonsecad commented Aug 18, 2020

Subject of the issue

As soon as I try to scan a wordpress site which has HTTP/2, I get the following error
Scan Aborted: The url supplied xxx seems to be down (Stream error in the HTTP/2 framing layer)

Your environment

  • Version of WPScan: 3.8.6
  • Version of Ruby: 2.7.1
  • Operating System (OS): Docker version

Steps to reproduce

Simply scan any HTTP/2 wordpress website on WPScan docker.

Expected behavior

WPScan should start normally.

Actual behavior

As stated earlier, the following error messages appears
Scan Aborted: The url supplied xxx seems to be down (Stream error in the HTTP/2 framing layer)

What have you already tried

I guess this is an issue related to curl or libcurl. I followed this ticket and this one, In both cases the libcurl version is 7.64.x and it seems those were fixed in later versions.
Nevertheless WPScan in docker has the libcurl version 7.69.x so this issue should not happen anymore. Even in my machine, I’ve got curl version 7.68.0 and works without any problems against HTTP/2 webs.
I changed the origin base image to force a change in libcurl version in the Dockerfile, I set the base image on ruby:2.71-alpine so the libcurl version changed to 7.67, but the problem still persists.

Things you have tried (where relevant):

  • Update WPScan to the latest version [ Yes]
  • Update Ruby to the latest version [ Yes]
  • Ensure you can reach the target site using cURL [ Yes]
  • Ensure you are using a supported Operating System (Linux and macOS) [ Yes]

The text was updated successfully, but these errors were encountered:

Источник

«Error in the HTTP2 framing layer» after 1000 requests #3750

Comments

TvdW commented Apr 8, 2019 •

I did this

This started out as doing several thousand requests to some company’s API, and getting occasional errors stating «Error in the HTTP2 framing layer». It was found out that this always happened with stream id 7d1 (2001), also known as request 1001. This lead me to http2_max_requests in nginx. A few hours of minimizing the test case later, I’ve found two ways to reproduce this bug, generating different errors for the same task, when they should both just work fine.

Method one

The sleep server from my previous bug report returns 🙂 nginx is running on the server with http2_max_requests set to 10, for easier debugging. The sleep server just sleeps the given amount of milliseconds, and the issue seems to become reproducible around 5ms, but consistently so around 100ms.

Running the command above will execute 11 requests (one more than the limit). The last request times out, but there’s no reason for it to.

Method two

This uses the multi socket api, and produces the «Error in the HTTP2 framing layer» error message: https://gist.github.com/TvdW/a8bf6eabc99bf812d2fd0be1d32f9313

It’s a crude eventloop implementation doing the bare minimum for making the multi socket API work. This is the last version of my code before I managed to reproduce the bug using the curl command line utility. What’s notable about it is that it reproduces the issue, but with a different error message.

curl/libcurl version

operating system

thoughts

Some things stand out:

  • this is only reproducible for requests with bodies, and only if they are not zero-length
  • timing seems to matter. setting the ‘time’ component of the sleep server to 0ms makes the final request succeed quite often (maybe half the time), but when set to 100ms it seems to fail in 95% of cases or more
  • the two methods produce very different error messages

The text was updated successfully, but these errors were encountered:

bagder commented Apr 8, 2019

Tricky. I tried both of your versions and I’ve not made any of them error for me, in spite of me having run both versions tens of times. I’ve tried both my 7.65.0-DEV version and my 7.64.0 system install!

kdudka commented Apr 8, 2019

We had a similar bug report in Fedora: https://bugzilla.redhat.com/1690971 . but it was resolved (or worked around) server-side.

TvdW commented Apr 8, 2019 •

I realized I forgot to add to the report that this is happening behind a HTTP proxy 😞 . It didn’t seem too relevant at the time of writing, but I’m now increasingly convinced that the proxy is changing some behavior on the TCP level, making the issue much more likely to occur. Yay for automatic configuration from environment variables 😄

The last two requests look like this:

Those are streams 0x13 (19) and 0x15 (21). The second one is supposed to fail (or not happen at all), because http2_max_requests is 10.

What stands out most are these:

  • TLSv1.2 (IN), TLS alert, close notify (256):
  • Connection #0 to host proxy left intact

In cases where it works properly, I see these:

  • Closing connection 0
  • TLSv1.2 (OUT), TLS alert, close notify (256):

I suspect there’s an issue here around how the tls alerts are handled. But, it sounds like that may be really hard to reproduce.

[edit] I’m able to reproduce this on the latest ‘alpine’ docker image, by running ‘apk add curl’ (adds 7.64.0), and then running the relevant command. Only when setting the https_proxy environment variable, though. So there’s definitely some proxy magic going on on the TCP level.

Источник

Getting «Stream error in the HTTP/2 framing layer» when uploading symbols #615

Comments

phillipCouto commented Oct 31, 2019

Here is the snippet from the console when running the sentry-symbols.js file from the sentry-wizard utility.

This is a on-premise installation running version 9.1.2. Let me know what other information I can provide to help resolve this issue.

The text was updated successfully, but these errors were encountered:

nbolender commented Nov 9, 2019

@phillipCouto Any luck with this?

sertony commented Nov 18, 2019

It’s rather connected to macOS Catalina, since we don’t have this issue on Mojave.
What OS do you use?

phillipCouto commented Nov 18, 2019

I am on macOS Catalina, 10.15.1 (19B88) to be exact.

I was going to try running the source code directly on my machine and debug it from that. Just haven’t had a chance yet as I moved off to other tasks.

nbolender commented Nov 18, 2019

@sertony I’m suspecting as much as well, since it occurred after upgrading to Catalina (10.15.1). The system curl version is curl 7.64.1 (x86_64-apple-darwin19.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.39.2 .

I am not sure how to upgrade curl and get sentry-cli to use it without replacing the system version. Any thoughts?

For now, I have disabled http2 on my sentry server.

phillipCouto commented Nov 18, 2019 •

@nbolender I was trying to do the same but since Sentry is behind a reverse proxy I was having a hard time disabling HTTP2 only for sentry.

I have more evidence that it is a macOS issue. I have a CI job that runs in a docker container and it is uploading fine. Just curious couldn’t a rust HTTP client that supports http2 be used instead of linking to curl?

sertony commented Nov 18, 2019

@nbolender curl update didn’t work for me either (did it via homebrew), and I haven’t tried downgrading. We have just disabled HTTP2 on our server too for now. No other thoughts.

nbolender commented Nov 18, 2019

@sertony Homebrew specifically does not replace the system version at /usr/bin/curl since many things may rely on it, so I’m not sure that sentry-cli will use the homebrew version.

sertony commented Nov 19, 2019

@nbolender yep, you are right. That’s why I added export PATH=»/usr/local/opt/curl/bin:$PATH» to my bash_profile, but apparently it didn’t help.

phillipCouto commented Nov 19, 2019

@sertony you need to recompile the cli to link to your custom location for the curl library not the executable.

cbounta commented Dec 3, 2019

I also met this issue, while using the latest gradle sentry android plugin(io.sentry.android.gradle 1.7.28). Any workarounds for this?

jan-auer commented Mar 3, 2020

Could you try again with sentry-cli v 1.51.1 ? We started to link libcurl statically.
cc @kamilogorek

kamilogorek commented Mar 6, 2020

Closing the issue as a part of large repository cleanup, due to it being inactive and/or outdated.
Please do not hesitate to ping me if it is still relevant, and I will happily reopen and work on it.
Cheers!

notjosh commented Apr 6, 2020

fwiw, for anyone stumbling on this later, updating (from 1.49.0 to 1.52.1 in my case) fixed the issue on Catalina

spidey commented Feb 15, 2021

I’m not using the sentry-cli but rather sending requests directly through curl on Mac, and also getting a similar error: curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) .

Workaround was to force HTTP/1.1 on curl with option —http1.1 . Not an option on sentry-cli I imagine.

Источник

» Stream error in the HTTP/2 framing layer» #32

Comments

mdsumner commented Oct 5, 2016 •

I don’t have anything to offer here, just listing this in case it’s helpful.

I submitted check runs today from a different machine (Windows), same email, by first using validate_email().

On second machine (also Windows) I can’t get it to work.

Try with token from earlier today.

I tried again moving across to Debian, installing from github then validate_email — I got the new token and proceeded ok.

The text was updated successfully, but these errors were encountered:

jeroen commented Oct 5, 2016

@gaborcsardi does this still happen after you disabled HTTP2 on the server??

gaborcsardi commented Oct 5, 2016

I disabled it about an hour ago (again, it crept back, nginx config is autogenerated), I hope these happened before that.

@mdsumner can you please try it now?

jeroen commented Oct 5, 2016

jeroen commented Oct 5, 2016

Your server is still advertising HTTP/2 support.

gaborcsardi commented Oct 5, 2016

OK, should be off now.

I had to turn it off for all dokku web apps.

mdsumner commented Oct 5, 2016

«Build started . » — working now, thanks!

gaborcsardi commented Oct 5, 2016

OK, I fixed this in my own dokku installation, so it should not come up again. To be extra sure, I’ll also disable http2 in the R package: #29

jeroen commented Oct 5, 2016

I would recommend against disabling HTTP/2 on the client, so that you will catch server problems if they (re)appear. Other http/rhub clients might also default to HTTP/2 if the server has it enabled.

gaborcsardi commented Oct 5, 2016

That is true in general, I agree.

But I also do not anticipate other clients (just yet), and hopefully the dokku/nginx problems are temporary, so I can enable http2 again soon.

My problem is that I don’t use Windows/Linux daily, so I don’t notice the problems if they reappear, and there is also nothing in the nginx logs about them.

Anyway, you have a good point, so I’ll think about this before disabling it. Maybe I should just set up some daily test builds, submitted from various OSes. Should be pretty easy to do this on the other Jenkins instance that I already have for management.

Источник

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.

Понравилась статья? Поделить с друзьями:
  • Error stray start tag html
  • Error stray start tag footer
  • Error status invalid gpt 0xc0030008 как исправить
  • Error status format exception 0xc0050009
  • Error status file not found 0xc001000d